diff options
author | Jan Hubicka <jh@suse.cz> | 2003-02-11 10:05:30 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2003-02-11 09:05:30 +0000 |
commit | c728da61c689ac1973e194016585a72d73dc027a (patch) | |
tree | 98d1eda38137bcec98f12931285d95d77eebc80f | |
parent | d19e783c45ab5b545af64a414e5edb4e946ba9de (diff) | |
download | gcc-c728da61c689ac1973e194016585a72d73dc027a.zip gcc-c728da61c689ac1973e194016585a72d73dc027a.tar.gz gcc-c728da61c689ac1973e194016585a72d73dc027a.tar.bz2 |
* predict.c (choose_function_section): Choose sections correctly.
From-SVN: r62686
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/predict.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a4a047f..f4a46ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/predict.c b/gcc/predict.c index 3a8ac17..b0170f3 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -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) = |