]> gcc.gnu.org Git - gcc.git/commit
rs6000: Add Rust support to traceback table
authorSegher Boessenkool <segher@kernel.crashing.org>
Sat, 17 Dec 2022 20:48:54 +0000 (20:48 +0000)
committerSegher Boessenkool <segher@kernel.crashing.org>
Sat, 17 Dec 2022 20:56:13 +0000 (20:56 +0000)
commitf80f540e394e87ac70349bad109bfc4b465c7c98
tree74d14b768dd4d2f29c576d42b980edbd70b7ce51
parent982629bea416df976686467f235e09cb1a5531cc
rs6000: Add Rust support to traceback table

Use 0 for the "lang" identifier for Rust, just like we do for all other
source languages without assigned language code (0 means "C").

Tested on powerpc64-linux.  Without this patch there are ICEs galore in
the gm2 testsuite for 64-bit Linux targets, and with the ptch there are
just a few FAILs.

2022-12-17  Segher Boessenkool  <segher@kernel.crashing.org>

* config/rs6000/rs6000-logue.cc (rs6000_output_function_epilogue):
Handle GNU Rust for the tbtab lang field.
gcc/config/rs6000/rs6000-logue.cc
This page took 0.063497 seconds and 5 git commands to generate.