diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2019-07-11 20:36:48 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2019-07-11 20:36:48 +0200 |
commit | e617512f4af4e8f3342e3ba944fae093eaa9c4da (patch) | |
tree | 9d7177a35a9522ba636b5988f8f785c02e783715 | |
parent | 946732df902dbb23dd44abe97fea41e154e6e5f9 (diff) | |
download | gcc-e617512f4af4e8f3342e3ba944fae093eaa9c4da.zip gcc-e617512f4af4e8f3342e3ba944fae093eaa9c4da.tar.gz gcc-e617512f4af4e8f3342e3ba944fae093eaa9c4da.tar.bz2 |
rs6000: Handle Modula-2 in the traceback table
This patch recognises Modula-2 as language for the traceback table,
fixing the problem shown in
https://gcc.gnu.org/ml/gcc-patches/2019-07/msg00848.html .
* config/rs6000/rs6000-logue.c (rs6000_output_function_epilogue):
Handle Modula-2.
From-SVN: r273411
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000-logue.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 364466b..891ac3f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-07-11 Segher Boessenkool <segher@kernel.crashing.org> + + * config/rs6000/rs6000-logue.c (rs6000_output_function_epilogue): + Handle Modula-2. + 2019-07-11 Jakub Jelinek <jakub@redhat.com> PR target/91124 diff --git a/gcc/config/rs6000/rs6000-logue.c b/gcc/config/rs6000/rs6000-logue.c index acc11df..c1948e3 100644 --- a/gcc/config/rs6000/rs6000-logue.c +++ b/gcc/config/rs6000/rs6000-logue.c @@ -5252,6 +5252,8 @@ rs6000_output_function_epilogue (FILE *file) i = 1; else if (! strcmp (language_string, "GNU Ada")) i = 3; + else if (! strcmp (language_string, "GNU Modula-2")) + i = 8; else if (lang_GNU_CXX () || ! strcmp (language_string, "GNU Objective-C++")) i = 9; |