aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2019-07-11 20:51:23 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2019-07-11 20:51:23 +0200
commit998175f6465a95fe812c0bc793600115393bb315 (patch)
tree1e715dd621d2f388b02d1e5c2bb9dec2812b12f3
parente617512f4af4e8f3342e3ba944fae093eaa9c4da (diff)
downloadgcc-998175f6465a95fe812c0bc793600115393bb315.zip
gcc-998175f6465a95fe812c0bc793600115393bb315.tar.gz
gcc-998175f6465a95fe812c0bc793600115393bb315.tar.bz2
rs6000: Adjust comment for the Modula-2 traceback lang
* config/rs6000/rs6000-logue.c: Add Modula-2 to comment. From-SVN: r273413
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/rs6000-logue.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 891ac3f..aa9e05c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2019-07-11 Segher Boessenkool <segher@kernel.crashing.org>
+ * config/rs6000/rs6000-logue.c: Add Modula-2 to comment.
+
+2019-07-11 Segher Boessenkool <segher@kernel.crashing.org>
+
* config/rs6000/rs6000-logue.c (rs6000_output_function_epilogue):
Handle Modula-2.
diff --git a/gcc/config/rs6000/rs6000-logue.c b/gcc/config/rs6000/rs6000-logue.c
index c1948e3..ebfe533 100644
--- a/gcc/config/rs6000/rs6000-logue.c
+++ b/gcc/config/rs6000/rs6000-logue.c
@@ -5237,7 +5237,7 @@ rs6000_output_function_epilogue (FILE *file)
/* Language type. Unfortunately, there does not seem to be any
official way to discover the language being compiled, so we
use language_string.
- C is 0. Fortran is 1. Ada is 3. C++ is 9.
+ C is 0. Fortran is 1. Ada is 3. Modula-2 is 8. C++ is 9.
Java is 13. Objective-C is 14. Objective-C++ isn't assigned
a number, so for now use 9. LTO, Go, D, and JIT aren't assigned
numbers either, so for now use 0. */