public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/46175] New: 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
Date: Mon, 25 Oct 2010 22:32:00 -0000	[thread overview]
Message-ID: <bug-46175-4@http.gcc.gnu.org/bugzilla/> (raw)

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: unassigned@gcc.gnu.org
        ReportedBy: zsojka@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	other threads:[~2010-10-25 22:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-25 22:32 zsojka at seznam dot cz [this message]
2010-10-27 21:43 ` [Bug rtl-optimization/46175] " pinskia at gcc dot gnu.org
2021-08-08  6:12 ` [Bug inline-asm/46175] " pinskia at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-46175-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).