public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "anton at samba dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/42530]  New: ICE in verify_ssa when using -O -g -ffast-math -floop-parallelize-all
Date: Tue, 29 Dec 2009 02:16:00 -0000	[thread overview]
Message-ID: <bug-42530-8090@http.gcc.gnu.org/bugzilla/> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1174 bytes --]

An svn build from 20091229 is getting an ICE when building the following code:


int array[2][2];

void foo(int *a)
{
        int i, j;
        int sum, tmp = 0;

        for (i=0; i<2; i++)
                for (j=0; j<2; j++)
                        sum += array[i][j];

        if (sum > 0) {
                tmp = sum;
                *a = tmp;
        }
}


# /test/bin/gcc -c -O -g -ffast-math -floop-parallelize-all test.c
test.c: In function ‘foo’:
test.c:3:6: error: missing definition
for SSA_NAME: sum_8 in statement:
# DEBUG tmp => sum_8
test.c:3:6: internal compiler error: verify_ssa failed

It seems all of "-O -g -ffast-math -floop-parallelize-all" needs to be
specified to make it fail.


-- 
           Summary: ICE in verify_ssa when using -O -g -ffast-math -floop-
                    parallelize-all
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: anton at samba dot org
GCC target triplet: powerpc64-linux-gnu-gnu


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


             reply	other threads:[~2009-12-29  2:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-29  2:16 anton at samba dot org [this message]
2009-12-29  5:10 ` [Bug other/42530] " hjl dot tools at gmail dot com
2010-01-07 12:47 ` aoliva at gcc dot gnu dot org
2010-02-08  6:09 ` [Bug other/42530] [graphite] " spop at gcc dot gnu dot org
2010-02-10 20:24 ` spop at gcc dot gnu dot org
2010-02-11 19:43 ` spop at gcc dot gnu dot org
2010-02-11 19:50 ` spop 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=bug-42530-8090@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).