From c728da61c689ac1973e194016585a72d73dc027a Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Tue, 11 Feb 2003 10:05:30 +0100 Subject: [PATCH] * predict.c (choose_function_section): Choose sections correctly. From-SVN: r62686 --- gcc/ChangeLog | 4 ++++ gcc/predict.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a4a047f1839e..f4a46abbd3af 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Tue Feb 11 10:02:54 CET 2003 Jan Hubicka + + * predict.c (choose_function_section): Choose sections correctly. + 2003-02-10 John David Anglin * reload1.c (first_label_num): New. diff --git a/gcc/predict.c b/gcc/predict.c index 3a8ac17a9bf2..b0170f307183 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) =