public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "steven at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/12650] New: [tree-ssa] ICE in tree-flow-inline.h with "-O -fssa" but not with "-O"
Date: Thu, 16 Oct 2003 20:48:00 -0000	[thread overview]
Message-ID: <20031016204826.12650.steven@gcc.gnu.org> (raw)

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: [tree-ssa] ICE in tree-flow-inline.h with "-O -fssa" but
                    not with "-O"
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: steven at gcc dot gnu dot org
                CC: dnovillo at redhat dot com,gcc-bugs at gcc dot gnu dot
                    org

The following:

void
foo (void)
{
  goto loop_entry;
loop_start:
loop_entry:
  goto loop_start;
loop_exit:
}

compiles with just "-O" but segfaults with "-O -fssa"

Normally I wouldn't give a s... about -fssa, but:
a) this test case was deduced from gcc.dg/20020304-1.c which
   also ICEs on the tree-ssa branch on a sanity check after
   -fssa-ccp.  This new ICE might be related, perhaps we just
   compute broken dominance information for RTL???
b) this ICE happens in tree-flow-inline.h according to gdb:

Program received signal SIGSEGV, Segmentation fault.
compute_dominance_frontiers_1 (frontiers=0x8627520, idom=0x8627610, bb=0,
    done=0x86275f8) at tree-flow-inline.h:270
270     tree-flow-inline.h: No such file or directory.
        in tree-flow-inline.h

    Weird to have a tree-ssa failure with RTL SSA, but in tree-ssa code!


             reply	other threads:[~2003-10-16 20:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-16 20:48 steven at gcc dot gnu dot org [this message]
2003-10-16 22:20 ` [Bug c/12650] " pinskia at gcc dot gnu dot org
2003-10-16 22:42 ` dnovillo at redhat dot com
2003-10-16 22:44 ` steven at gcc dot gnu dot org
2003-10-16 22:48 ` dnovillo at redhat dot com
2003-10-16 23:44 ` steven at gcc dot gnu dot org
2003-10-17 14:14 ` [Bug optimization/12650] " pinskia at gcc dot gnu dot org
2003-10-19  7:19 ` pinskia at gcc dot gnu dot org
2003-11-26  2:09 ` pinskia at gcc dot gnu dot 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=20031016204826.12650.steven@gcc.gnu.org \
    --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).