OSDN Git Service

* config/rs6000/rs6000.c (output_profile_hook): Fix thinko.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 May 2011 09:09:34 +0000 (09:09 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 May 2011 09:09:34 +0000 (09:09 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173547 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index f9d01d0..30717f5 100644 (file)
@@ -1,3 +1,7 @@
+2011-05-08  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * config/rs6000/rs6000.c (output_profile_hook): Fix thinko.
+
 2011-05-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
 
        * doc/invoke.texi (-fuse-linker-plugin): Improve grammar.
index 4504ffe..ac25e29 100644 (file)
@@ -22879,7 +22879,7 @@ output_profile_hook (int labelno ATTRIBUTE_UNUSED)
          rtx fun;
 
          ASM_GENERATE_INTERNAL_LABEL (buf, "LP", labelno);
-         label_name = (*targetm.strip_name_encoding) (ggc_strdup (buf));
+         label_name = ggc_strdup ((*targetm.strip_name_encoding) (buf));
          fun = gen_rtx_SYMBOL_REF (Pmode, label_name);
 
          emit_library_call (init_one_libfunc (RS6000_MCOUNT),