r243092 - in /trunk/gcc: ChangeLog combine.c te...

segher@gcc.gnu.org segher@gcc.gnu.org
Thu Dec 1 02:04:00 GMT 2016


Author: segher
Date: Thu Dec  1 02:04:10 2016
New Revision: 243092

URL: https://gcc.gnu.org/viewcvs?rev=243092&root=gcc&view=rev
Log:
combine: Emit a barrier after unconditional trap (PR78607)

After an unconditional trap there should be a barrier.  In most cases
one is automatically inserted, but not if the trap is the final insn in
the instruction stream.  We need to emit one explicitly.


	PR rtl-optimization/78607
	* combine.c (try_combine): Emit a barrier after a unconditional trap.

gcc/testsuite/
	PR rtl-optimization/78607
	* gcc.c-torture/compile/pr78607.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr78607.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/combine.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list