* config/rs6000/rs6000.c (output_profile_hook): Fix thinko.
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 8 May 2011 09:09:34 +0000 (09:09 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 8 May 2011 09:09:34 +0000 (09:09 +0000)
From-SVN: r173547

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

index f9d01d024d1b879e870afa0f9f9f93952ac6a7bc..30717f571443ef8ebc4e69e97c77d4e2c92aacfc 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 4504ffebb872ec848ea5a34ce9ffd4fc8fcac8b7..ac25e29f81051acd62b04e23b7c080f1d10b86fd 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),