public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mgretton at sourceware dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/50873] New: The fix to PR50730 causes gcc.c-torture/unsorted/dilayout.c to ICE
Date: Wed, 26 Oct 2011 13:45:00 -0000	[thread overview]
Message-ID: <bug-50873-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             Bug #: 50873
           Summary: The fix to PR50730 causes
                    gcc.c-torture/unsorted/dilayout.c to ICE
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mgretton@sourceware.org
                CC: irar@il.ibm.com
            Target: arm*-*-*


The fix to PR50730 (revision 180367 -
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180367) causes the test
gcc.c-torture/unsorted/dilayout.c to ICE at -O3.

A reduced test case is:

$ cat test.c
/* arm-none-eabi-gcc -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=soft -O3 test.c  */
struct ii
{
  int a;
  int b;
};
struct foo
{
  int a;
  struct ii ab;
};
struct ii
foo (int *p, struct foo a)
{
  p[0] = a.a;
  p[1] = a.ab.a;
}
/* end of test.c.  */
$ arm-none-eabi-gcc -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=soft -O3 test.c
test.c: In function 'foo':
test.c:15:11: internal compiler error: in expand_insn, at optabs.c:7693

-fno-tree-vectorize causes the issue to go away.

The issue still exists in revision 180524


             reply	other threads:[~2011-10-26 13:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-26 13:45 mgretton at sourceware dot org [this message]
2011-10-27  8:44 ` [Bug tree-optimization/50873] " irar at il dot ibm.com
2011-10-27 13:31 ` mgretton at sourceware dot org
2011-12-07 11:46 ` rsandifo at gcc dot gnu.org
2011-12-12 15:59 ` rsandifo at gcc dot gnu.org
2012-01-18  9:47 ` rsandifo 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-50873-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).