diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-14 18:37:11 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-14 18:37:11 +0000 |
commit | 7cd79676facfebe15f040912f35f048e6b0d0d89 (patch) | |
tree | 38a6a8e791d47a0e4f0ca6573ff2d1fefe65704a /gcc/cfgexpand.c | |
parent | 60a16309e63839d13efd95cd33f0731b14a5d589 (diff) | |
download | gcc-7cd79676facfebe15f040912f35f048e6b0d0d89.tar.gz |
2010-12-14 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 167801
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@167808 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r-- | gcc/cfgexpand.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index 0ab06ead9f2..6cc5d01912f 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -3951,6 +3951,10 @@ gimple_expand_cfg (void) crtl->preferred_stack_boundary = STACK_BOUNDARY; cfun->cfg->max_jumptable_ents = 0; + /* Resovle the function section. Some targets, like ARM EABI rely on knowledge + of the function section at exapnsion time to predict distance of calls. */ + resolve_unique_section (current_function_decl, 0, flag_function_sections); + /* Expand the variables recorded during gimple lowering. */ timevar_push (TV_VAR_EXPAND); start_sequence (); |