r255807 - in /trunk/gcc: ChangeLog config/sparc...
sh@gcc.gnu.org
sh@gcc.gnu.org
Tue Dec 19 08:04:00 GMT 2017
Author: sh
Date: Tue Dec 19 08:04:52 2017
New Revision: 255807
URL: https://gcc.gnu.org/viewcvs?rev=255807&root=gcc&view=rev
Log:
SPARC: Make sure that jump is to a label in errata workaround
In some cases the jump could be to a return instruction and in those cases the
next_active_insn() function tries to follow an invalid pointer which leads to a
crash. This error did not manifest when using a 32-bit version of GCC which is
why I did not detect it before.
gcc/
* config/sparc/sparc.c (sparc_do_work_around_errata): Make sure
the jump is to a label.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/sparc/sparc.c
More information about the Gcc-cvs
mailing list