This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/51939] New: ICE: in compute_affine_dependence, at tree-data-ref.c:4103
- From: "marbacz at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 22 Jan 2012 00:54:23 +0000
- Subject: [Bug middle-end/51939] New: ICE: in compute_affine_dependence, at tree-data-ref.c:4103
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51939
Bug #: 51939
Summary: ICE: in compute_affine_dependence, at
tree-data-ref.c:4103
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: marbacz@gmail.com
Created attachment 26408
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26408
Reduced test case
This fails with gcc-4.7.0-alpha20120114, works with gcc-4.5.3.
Reduced test case attached.
x86_64-pc-linux-gnu-gcc-4.7.0-alpha20120114 -O1 -fcheck-data-deps
-D_LARGEFILE64_SOURCE=1 -c bug.c
(Number of distance vectors differ: Banerjee has 3, Omega has 2.
Banerjee dist vectors:
0 0
0 1
1 0
Omega dist vectors:
0 0
1 0
data dependence relation:
(Data Dep:
#(Data Ref:
# bb: 9
# stmt: D.1732_13 = s_4(D)->strstart;
# ref: s_4(D)->strstart;
# base_object: s_4(D)->strstart;
#)
#(Data Ref:
# bb: 9
# stmt: s_4(D)->strstart = D.1733_14;
# ref: s_4(D)->strstart;
# base_object: s_4(D)->strstart;
#)
inner loop index: 0
loop nest: (1 2 )
distance_vector: 0 0
distance_vector: 1 0
direction_vector: = =
direction_vector: + =
)
)
bug.c: In function âdeflateâ:
bug.c:14:5: internal compiler error: in compute_affine_dependence, at
tree-data-ref.c:4103
Please submit a full bug report,
with preprocessed source if appropriate.
x86_64-pc-linux-gnu-gcc-4.7.0-alpha20120114 -v
Using built-in specs.
COLLECT_GCC=x86_64-pc-linux-gnu-gcc-4.7.0-alpha20120114
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.0-alpha20120114/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.7.0_alpha20120114/work/gcc-4.7-20120114/configure
--prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.0-alpha20120114
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0-alpha20120114/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.0-alpha20120114
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.0-alpha20120114/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.0-alpha20120114/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0-alpha20120114/include/g++-v4
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec
--disable-fixed-point --with-ppl --with-cloog --disable-ppl-version-check
--with-cloog-include=/usr/include/cloog-ppl --enable-lto --enable-nls
--without-included-gettext --with-system-zlib --disable-werror
--enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp
--enable-libgomp
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.7.0-alpha20120114/python
--enable-checking=yes --disable-libgcj --disable-libquadmath
--enable-languages=c,c++ --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all
--with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo
4.7.0_alpha20120114'
Thread model: posix
gcc version 4.7.0-alpha20120114 20120114 (experimental) (Gentoo
4.7.0_alpha20120114)