public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/37007] New: ICE in initialize_matrix_A with gamess for -ftree-loop-linear
@ 2008-08-02 1:06 janis at gcc dot gnu dot org
2008-08-02 1:09 ` [Bug tree-optimization/37007] " janis at gcc dot gnu dot org
2008-08-02 3:50 ` paolo dot carlini at oracle dot com
0 siblings, 2 replies; 3+ messages in thread
From: janis at gcc dot gnu dot org @ 2008-08-02 1:06 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1553 bytes --]
Fortran benchmark gamess from SPEC CPU2006 fails to build with current mainline
on powerpc-linux with "-O2 -ftree-loop-linear" due to the following ICE:
elm3b149% /home/janis/tools/gcc-trunk-anonsvn/bin/gfortran -c -O2
-ftree-loop-linear bug.f
bug.f: In function foo:
bug.f:1: internal compiler error: in initialize_matrix_A, at
tree-data-ref.c:1899
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
The following minimized testcase demonstrates the same problem:
subroutine foo (n,x,y)
implicit none
double precision y(23821)
double precision x(0:2*n)
integer len,i,j,k,n
len=0
do i=0,n
do j=0,i
do k=j,i
len=len+1
y(len)=x(i-j)/(x(k+j)*x(i-k))
enddo
enddo
enddo
return
end
The failure starts with this patch:
http://gcc.gnu.org/viewcvs?view=rev&rev=135116
r135116 | spop | 2008-05-09 16:17:47 +0000 (Fri, 09 May 2008)
--
Summary: ICE in initialize_matrix_A with gamess for -ftree-loop-
linear
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: janis at gcc dot gnu dot org
GCC target triplet: powerpc-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37007
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-02 3:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-02 1:06 [Bug tree-optimization/37007] New: ICE in initialize_matrix_A with gamess for -ftree-loop-linear janis at gcc dot gnu dot org
2008-08-02 1:09 ` [Bug tree-optimization/37007] " janis at gcc dot gnu dot org
2008-08-02 3:50 ` paolo dot carlini at oracle dot com
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).