summaryrefslogtreecommitdiff
path: root/gcc/c-typeck.c
diff options
context:
space:
mode:
authorespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-22 13:29:31 +0000
committerespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-22 13:29:31 +0000
commit45a9206a1ec1f7448e1923aa70e9a6c999294939 (patch)
tree4f5e14aa862d2a03cd920142d392ac2c21a6b6a5 /gcc/c-typeck.c
parent57ce2f6858aed190c9e0b0d19bc4797ef3881312 (diff)
downloadgcc-45a9206a1ec1f7448e1923aa70e9a6c999294939.tar.gz
2008-07-22 Rafael Avila de Espindola <espindola@google.com>
* c-typeck.c (build_external_ref): Don't call assemble_external. * final.c (output_operand): Call assemble_external. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138057 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-typeck.c')
-rw-r--r--gcc/c-typeck.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index dafce2ac23c..a47d6324293 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -2191,8 +2191,6 @@ build_external_ref (tree id, int fun, location_t loc)
/* Recursive call does not count as usage. */
if (ref != current_function_decl)
{
- if (!skip_evaluation)
- assemble_external (ref);
TREE_USED (ref) = 1;
}