This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[LTO merge][committed][11/13] config/rs6000
- From: dnovillo at google dot com (Diego Novillo)
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 3 Oct 2009 17:13:42 -0400 (EDT)
- Subject: [LTO merge][committed][11/13] config/rs6000
gcc/ChangeLog
2009-10-03 Richard Guenther <rguenther@suse.de>
* config/rs6000/rs6000.c (rs6000_output_function_epilogue):
Handle LTO.
diff -rdupN --exclude=.svn --exclude=.git --exclude='*.diff*' --exclude='autom4te*' --exclude=tags --exclude=ChangeLog.lto /usr/local/google/homedirs/dnovillo/gcc/trunk/gcc/config/rs6000/rs6000.c /usr/local/google/homedirs/dnovillo/gcc/trunk.lto/gcc/config/rs6000/rs6000.c
--- /usr/local/google/homedirs/dnovillo/gcc/trunk/gcc/config/rs6000/rs6000.c 2009-10-03 07:58:31.000000000 -0400
+++ /usr/local/google/homedirs/dnovillo/gcc/trunk.lto/gcc/config/rs6000/rs6000.c 2009-10-03 07:55:51.000000000 -0400
@@ -20052,8 +20052,10 @@ rs6000_output_function_epilogue (FILE *f
use language_string.
C is 0. Fortran is 1. Pascal is 2. Ada is 3. C++ is 9.
Java is 13. Objective-C is 14. Objective-C++ isn't assigned
- a number, so for now use 9. */
- if (! strcmp (language_string, "GNU C"))
+ a number, so for now use 9. LTO isn't assigned a number either,
+ so for now use 0. */
+ if (! strcmp (language_string, "GNU C")
+ || ! strcmp (language_string, "GNU GIMPLE"))
i = 0;
else if (! strcmp (language_string, "GNU F77")
|| ! strcmp (language_string, "GNU Fortran"))