r255808 - in /branches/gcc-7-branch/gcc: Change...

sh@gcc.gnu.org sh@gcc.gnu.org
Tue Dec 19 08:07:00 GMT 2017


Author: sh
Date: Tue Dec 19 08:07:22 2017
New Revision: 255808

URL: https://gcc.gnu.org/viewcvs?rev=255808&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:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/config/sparc/sparc.c



More information about the Gcc-cvs mailing list