This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/78607] [7 Regression] ICE: verify_flow_info failed (error: missing barrier after block 2)


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78607

--- Comment #1 from Segher Boessenkool <segher at gcc dot gnu.org> ---
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]