re PR target/47487 (ICE in rs6000_output_function_epilogue, at config/rs6000/rs6000.c:21782 building 64bit libgo)

PR target/47487
	* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Support
	GNU Go in traceback table.

From-SVN: r171538
This commit is contained in:
Alan Modra 2011-03-26 12:04:14 +10:30 committed by Alan Modra
parent a8ecf8dd20
commit 8ac5e12e5f
2 changed files with 10 additions and 3 deletions

View 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

View 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"))