From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26516 invoked by alias); 29 Dec 2009 02:16:24 -0000 Received: (qmail 26441 invoked by uid 48); 29 Dec 2009 02:16:12 -0000 Date: Tue, 29 Dec 2009 02:16:00 -0000 Subject: [Bug other/42530] New: ICE in verify_ssa when using -O -g -ffast-math -floop-parallelize-all X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "anton at samba dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-12/txt/msg02597.txt.bz2 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