* predict.c (choose_function_section): Choose sections correctly.
authorJan Hubicka <jh@suse.cz>
Tue, 11 Feb 2003 09:05:30 +0000 (10:05 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 11 Feb 2003 09:05:30 +0000 (09:05 +0000)
From-SVN: r62686

gcc/ChangeLog
gcc/predict.c

index a4a047f1839e2391815c9c01ce5b0d199ae78fcf..f4a46abbd3af9970aba43bb2064c5833b8e9e620 100644 (file)
@@ -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.
index 3a8ac17a9bf2a2ebf72cea805d59fba41c6dae47..b0170f307183d009f7c947c0a915ada4039c07ef 100644 (file)
@@ -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) =