This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/42334] New: segfault in graphite-poly.h for 200.sixtrack
- From: "janis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2009 19:08:15 -0000
- Subject: [Bug tree-optimization/42334] New: segfault in graphite-poly.h for 200.sixtrack
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
GCC trunk gets a segmentation fault when building SPEC CPU2000 test
200.sixtrack with "-floop-interchange -ftree-loop-distribution" on
powerpc-linux, as demonstrated by this minimized testcase:
subroutine blockdis(bl1eg,bl2eg)
implicit real*8 (a-h,o-z)
parameter(nblo=300)
common/str /mblo
common/str2 /mel(nblo)
dimension h(nblo,2,6),g(nblo,2,6)
dimension bl1eg(nblo,2,6),bl2eg(nblo,2,6)
do k=1,mblo
jm=mel(k)
do l=1,2
do m=1,6
bl1eg(k,l,m)=h(jm,l,m)
bl2eg(k,l,m)=g(jm,l,m)
enddo
enddo
enddo
return
end
n function ?blockdis?:
bug.f:1:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.See
<http://gcc.gnu.org/bugs.html> for instructions.
The segfault is in VEC_lst_p_base_iterate at graphite-poly.h:623.
sixtrack passed with the now-failing options until r150248. With the merge
from the Graphite branch at r150301 that test started failing at runtime. (In
between those two revisions trunk didn't build with Graphite for
powerpc-linux). sixtrack failed at runtime with r154631, and GCC started
getting the segmentation fault at r154632.
--
Summary: segfault in graphite-poly.h for 200.sixtrack
Product: gcc
Version: 4.5.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-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42334