summaryrefslogtreecommitdiff
path: root/gcc/predict.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-11 09:05:30 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-11 09:05:30 +0000
commit10f8154772a6ee6f2d5a036b5266fce6b701f856 (patch)
tree98d1eda38137bcec98f12931285d95d77eebc80f /gcc/predict.c
parent2ff2d74f119d57b698fe9af60da90063d5551df2 (diff)
downloadgcc-10f8154772a6ee6f2d5a036b5266fce6b701f856.tar.gz
* predict.c (choose_function_section): Choose sections correctly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62686 138bc75d-0d04-0410-961f-82ee72b054a4
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 3a8ac17a9bf..b0170f30718 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) =