public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/42530]  New: ICE in verify_ssa when using -O -g -ffast-math -floop-parallelize-all
@ 2009-12-29  2:16 anton at samba dot org
  2009-12-29  5:10 ` [Bug other/42530] " hjl dot tools at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: anton at samba dot org @ 2009-12-29  2:16 UTC (permalink / raw)
  To: gcc-bugs

[-- 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-02-11 19:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-29  2:16 [Bug other/42530] New: ICE in verify_ssa when using -O -g -ffast-math -floop-parallelize-all anton at samba dot org
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

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).