mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 08:10:26 +08:00
* predict.c (choose_function_section): Choose sections correctly.
From-SVN: r62686
This commit is contained in:
parent
d19e783c45
commit
c728da61c6
@ -1,3 +1,7 @@
|
||||
Tue Feb 11 10:02:54 CET 2003 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* predict.c (choose_function_section): Choose sections correctly.
|
||||
|
||||
2003-02-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
* reload1.c (first_label_num): New.
|
||||
|
@ -1279,7 +1279,7 @@ choose_function_section ()
|
||||
but this requires more work as the frequency needs to match
|
||||
for all generated objects so we need to merge the frequency
|
||||
of all instances. For now just never set frequency for these. */
|
||||
|| !DECL_ONE_ONLY (current_function_decl))
|
||||
|| DECL_ONE_ONLY (current_function_decl))
|
||||
return;
|
||||
if (cfun->function_frequency == FUNCTION_FREQUENCY_HOT)
|
||||
DECL_SECTION_NAME (current_function_decl) =
|
||||
|
Loading…
x
Reference in New Issue
Block a user