aboutsummaryrefslogtreecommitdiff
path: root/gcc/predict.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-02-11 10:05:30 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2003-02-11 09:05:30 +0000
commitc728da61c689ac1973e194016585a72d73dc027a (patch)
tree98d1eda38137bcec98f12931285d95d77eebc80f /gcc/predict.c
parentd19e783c45ab5b545af64a414e5edb4e946ba9de (diff)
downloadgcc-c728da61c689ac1973e194016585a72d73dc027a.zip
gcc-c728da61c689ac1973e194016585a72d73dc027a.tar.gz
gcc-c728da61c689ac1973e194016585a72d73dc027a.tar.bz2
* predict.c (choose_function_section): Choose sections correctly.
From-SVN: r62686
Diffstat (limited to 'gcc/predict.c')
-rw-r--r--gcc/predict.c2
1 files changed, 1 insertions, 1 deletions
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) =