public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "kkojima at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/40797] [4.5 Regression] ICE in df_refs_verify, at df-scan.c:4361
Date: Sun, 19 Jul 2009 04:54:00 -0000	[thread overview]
Message-ID: <20090719045348.7058.qmail@sourceware.org> (raw)
In-Reply-To: <bug-40797-11406@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from kkojima at gcc dot gnu dot org  2009-07-19 04:53 -------
A bit smaller test case:

typedef struct str { short x, y;} S;

static short
bar (short ch, short sl, short sr, short tl, short tr)
{
  return 0;
}

void
foo (short ch, S *pi, short nc, S *po)
{
  short clo, chi, lo, hi;

  po->x = bar (ch, clo, chi, pi[lo].x, pi[hi].x);
  po->y = bar (ch, clo, chi, pi[lo].y, pi[hi].y);
}

--
Here is a backtrace with a compiler configured with --enable-checking=df:

#0  fancy_abort (file=0x85db620 "../../LOCAL/trunk/gcc/df-scan.c", line=4361, 
    function=0x85dbcf2 "df_refs_verify")
    at ../../LOCAL/trunk/gcc/diagnostic.c:730
#1  0x08161cfc in df_refs_verify (new_rec=0x8790988, old_rec=0x878e09c, 
    abort_if_fail=1 '\001') at ../../LOCAL/trunk/gcc/df-scan.c:4361
#2  0x08166a7a in df_insn_refs_verify (collection_rec=0xbffff1bc, 
    bb=<value optimized out>, insn=<value optimized out>, 
    abort_if_fail=1 '\001') at ../../LOCAL/trunk/gcc/df-scan.c:4451
#3  0x08166ca5 in df_bb_verify (bb=0xb7f90180)
    at ../../LOCAL/trunk/gcc/df-scan.c:4485
#4  0x08166f18 in df_scan_verify () at ../../LOCAL/trunk/gcc/df-scan.c:4617
#5  0x08157b5b in df_verify () at ../../LOCAL/trunk/gcc/df-core.c:1558
#6  0x08158f36 in df_analyze () at ../../LOCAL/trunk/gcc/df-core.c:1152
#7  0x08526ef1 in fwprop_init () at ../../LOCAL/trunk/gcc/fwprop.c:269
#8  0x0852721a in fwprop () at ../../LOCAL/trunk/gcc/fwprop.c:1323
#9  0x082805f1 in execute_one_pass (pass=0x86ab5e0)

The previous pass of fwprop is cse in the failing case.


-- 

kkojima at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|middle-end                  |rtl-optimization
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.5.0
      Known to work|                            |4.4.1
           Priority|P3                          |P4
   Last reconfirmed|0000-00-00 00:00:00         |2009-07-19 04:53:47
               date|                            |
            Summary|ICE in  df_refs_verify, at  |[4.5 Regression] ICE in
                   |df-scan.c:4361              |df_refs_verify, at df-
                   |                            |scan.c:4361


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


  parent reply	other threads:[~2009-07-19  4:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-18 14:42 [Bug middle-end/40797] New: " rmansfield at qnx dot com
2009-07-18 14:43 ` [Bug middle-end/40797] " rmansfield at qnx dot com
2009-07-19  4:54 ` kkojima at gcc dot gnu dot org [this message]
2009-07-19  7:58 ` [Bug rtl-optimization/40797] [4.5 Regression] " steven at gcc dot gnu dot org
2009-07-20  0:01 ` kkojima at gcc dot gnu dot org
2009-07-21 22:47 ` kkojima at gcc dot gnu dot org
2009-07-29 23:06 ` jsm28 at gcc dot gnu dot org
2010-04-06 11:24 ` rguenth at gcc dot gnu dot org
2010-07-31  9:32 ` [Bug rtl-optimization/40797] [4.5/4.6 " rguenth 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=20090719045348.7058.qmail@sourceware.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).