diff options
author | Jan Hubicka <jh@suse.cz> | 2010-12-14 14:07:05 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2010-12-14 13:07:05 +0000 |
commit | ae9fd6b7cd6ab8d777612aa1b721a8c3112e2c5e (patch) | |
tree | 9cc76fb425b71d0e50ff805535ba86260f5589ba /gcc/varasm.c | |
parent | b4550bf7ad60d0233a4d9f36dcbbce32e75a3199 (diff) | |
download | gcc-ae9fd6b7cd6ab8d777612aa1b721a8c3112e2c5e.zip gcc-ae9fd6b7cd6ab8d777612aa1b721a8c3112e2c5e.tar.gz gcc-ae9fd6b7cd6ab8d777612aa1b721a8c3112e2c5e.tar.bz2 |
re PR middle-end/46667 (-freorder-blocks-and-partition -g failed and libstdc++ builds for arm-eabi are broken.)
PR middle-end/46667
* varasm.c (assemble_start_function): Do not call resolve_unique_section.
* cfgexpand.c (gimple_expand_cfg): Resolve it here.
From-SVN: r167795
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 891d4e0..ed44610 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -1551,8 +1551,6 @@ assemble_start_function (tree decl, const char *fnname) if (CONSTANT_POOL_BEFORE_FUNCTION) output_constant_pool (fnname, decl); - resolve_unique_section (decl, 0, flag_function_sections); - /* Make sure the not and cold text (code) sections are properly aligned. This is necessary here in the case where the function has both hot and cold sections, because we don't want to re-set |