aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2010-07-14 09:22:06 -0700
committerRichard Henderson <rth@gcc.gnu.org>2010-07-14 09:22:06 -0700
commitfc7fcda12bd16c2c7515d9d1d1350c3547916e5c (patch)
tree874b2a508d9c0b1ec4eb686294037a1d6c7610d6 /gcc/passes.c
parenteab3f92e9569d18a1dc9f9080bf91fc365143f65 (diff)
downloadgcc-fc7fcda12bd16c2c7515d9d1d1350c3547916e5c.zip
gcc-fc7fcda12bd16c2c7515d9d1d1350c3547916e5c.tar.gz
gcc-fc7fcda12bd16c2c7515d9d1d1350c3547916e5c.tar.bz2
passes.c (rest_of_decl_compilation): Do not call
* passes.c (rest_of_decl_compilation): Do not call * assemble_variable for functions. * varasm.c (assemble_variable): Remove early exit for functions; assert that we're given a variable. From-SVN: r162184
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index 8828967..72e9b5a 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -194,8 +194,6 @@ rest_of_decl_compilation (tree decl,
;
else if (TREE_CODE (decl) != FUNCTION_DECL)
varpool_finalize_decl (decl);
- else
- assemble_variable (decl, top_level, at_end, 0);
}
#ifdef ASM_FINISH_DECLARE_OBJECT