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

            Bug ID: 61557
           Summary: [4.9 Regression] LTO ICE: verify_flow_info failed
                    (error: control flow in the middle of basic block)
           Product: gcc
           Version: 4.9.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: d.g.gorbachev at gmail dot com
            Target: i686-pc-linux-gnu

Created attachment 32970
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32970&action=edit
$ gcc -flto main.c foo.c

foo.c: In function 'foo':
foo.c:4:6: error: control flow in the middle of basic block 2
 void foo(void)
      ^
foo.c:4:6: internal compiler error: verify_flow_info failed
0x88f5d24 verify_flow_info()
    ../../gcc-4.10/gcc/cfghooks.c:260
0x81efebb execute_function_todo
    ../../gcc-4.10/gcc/passes.c:1789
0x81f10bc do_per_function
    ../../gcc-4.10/gcc/passes.c:1504
0x81f10bc execute_todo
    ../../gcc-4.10/gcc/passes.c:1834
Please submit a full bug report,
with preprocessed source if appropriate.

Happens with GCC 4.10.0 20140615, GCC 4.9.1 20140521 (when configured with
extra diagnostic checks). Appeared in rev. (197291, 199345].

Reply via email to