[Bug tree-optimization/59817] New: ICE in extract_affine_chrec with -O2 -ftree-loop-linear
anton at samba dot org
gcc-bugzilla@gcc.gnu.org
Wed Jan 15 00:47:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59817
Bug ID: 59817
Summary: ICE in extract_affine_chrec with -O2
-ftree-loop-linear
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: anton at samba dot org
The following testcase:
c -O2 -ftree-loop-linear
SUBROUTINE PREPD(ICAST,ICAS,ICASX,ICAS1,ICAS2,NDET,NM,III,IMP,
* CASMIN)
LOGICAL CASMIN
DIMENSION ICAST(NDET,NM),IMP(NM)
IF(CASMIN) THEN
DO K=1,NDET
DO L=1,NM
IF(L.EQ.K-1) ICAST(K,L) = 1
END DO
END DO
END IF
fails on a powerpc64-linux build from today with:
# gfortran -c -O2 -ftree-loop-linear testcase.f
testcase.f: In function ‘prepd’:
testcase.f:3:0: internal compiler error: in extract_affine_chrec, at
graphite-sese-to-poly.c:620
SUBROUTINE PREPD(ICAST,ICAS,ICASX,ICAS1,ICAS2,NDET,NM,III,IMP,
^
0x10cf684f extract_affine_chrec
../../gcc/gcc/graphite-sese-to-poly.c:619
0x10cf684f extract_affine
../../gcc/gcc/graphite-sese-to-poly.c:803
0x10cf62fb extract_affine
../../gcc/gcc/graphite-sese-to-poly.c:842
0x10cf843f pdr_add_memory_accesses
../../gcc/gcc/graphite-sese-to-poly.c:1486
0x10cf843f build_poly_dr
../../gcc/gcc/graphite-sese-to-poly.c:1583
0x10cf843f build_pbb_drs
../../gcc/gcc/graphite-sese-to-poly.c:1846
0x10cf843f build_scop_drs
../../gcc/gcc/graphite-sese-to-poly.c:1929
0x10cfa8d7 build_poly_scop(scop*)
../../gcc/gcc/graphite-sese-to-poly.c:3171
0x10cdcabb graphite_transform_loops()
../../gcc/gcc/graphite.c:300
0x10cdd227 graphite_transforms
../../gcc/gcc/graphite.c:332
0x10cdd227 execute
../../gcc/gcc/graphite.c:416
More information about the Gcc-bugs
mailing list