]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000: Handle Modula-2 in the traceback table
authorSegher Boessenkool <segher@kernel.crashing.org>
Thu, 11 Jul 2019 18:42:20 +0000 (20:42 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Thu, 11 Jul 2019 18:42:20 +0000 (20:42 +0200)
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.c (rs6000_output_function_epilogue): Handle
Modula-2.

From-SVN: r273412

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

index 228223d1254f25198e70b8da14796977141523c6..12a316f2b01a5cbe90607a50c3f87bc315739178 100644 (file)
@@ -1,3 +1,8 @@
+2019-07-11  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Handle
+       Modula-2.
+
 2019-07-08  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/91108
index 5950698c6a88a8f90f58aa41a7ca039e6975c2c7..085b80fa6531f1809667f7a7fa9a43dbabe02aca 100644 (file)
@@ -29158,6 +29158,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;