OSDN Git Service

PR target/47487
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Mar 2011 01:34:14 +0000 (01:34 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Mar 2011 01:34:14 +0000 (01:34 +0000)
* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Support
GNU Go in traceback table.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171538 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 040a83c..69d9278 100644 (file)
@@ -1,3 +1,9 @@
+2011-03-26  Alan Modra  <amodra@gmail.com>
+
+       PR target/47487
+       * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Support
+       GNU Go in traceback table.
+
 2011-03-25  Richard Henderson  <rth@redhat.com>
 
        * expr.c (emit_block_move_via_movmem): Only use 6 operand variant
index c3ca018..abd09e1 100644 (file)
@@ -22061,10 +22061,11 @@ rs6000_output_function_epilogue (FILE *file,
         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.  LTO isn't assigned a number either,
-        so for now use 0.  */
+        a number, so for now use 9.  LTO and Go aren't assigned numbers
+        either, so for now use 0.  */
       if (! strcmp (language_string, "GNU C")
-         || ! strcmp (language_string, "GNU GIMPLE"))
+         || ! strcmp (language_string, "GNU GIMPLE")
+         || ! strcmp (language_string, "GNU Go"))
        i = 0;
       else if (! strcmp (language_string, "GNU F77")
               || ! strcmp (language_string, "GNU Fortran"))