http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46175

           Summary: ICE: in rtl_verify_flow_info_1, at cfgrtl.c:2037: flow
                    control insn inside a basic block with -O -fgcse
                    -fno-guess-branch-probability -freorder-blocks and asm
                    goto
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: zso...@seznam.cz


Created attachment 22154
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22154
reduced testcase

Compiler output:
$ gcc -O -fgcse -fno-guess-branch-probability -freorder-blocks pr46175.c 
pr46175.c: In function 'foo':
pr46175.c:27:1: error: in basic block 7:
pr46175.c:27:1: error: flow control insn inside a basic block
(jump_insn 14 46 61 7 (parallel [
            (asm_operands/v ("") ("") 0 []
                 []
                 [
                    (label_ref:DI 16)
                ] pr46175.c:27)
            (clobber (reg:QI 18 fpsr))
            (clobber (reg:QI 17 flags))
        ]) pr46175.c:19 -1
     (expr_list:REG_UNUSED (reg:QI 18 fpsr)
        (expr_list:REG_UNUSED (reg:QI 17 flags)
            (nil)))
 -> 16)
pr46175.c:27:1: internal compiler error: in rtl_verify_flow_info_1, at
cfgrtl.c:2037
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r165915 - crash
r153685 - crash
4.5 r165781 - crash
4.4 r165754 - doesn't know asm goto

Reply via email to