http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55569
Bug #: 55569
Summary: [4.8 Regression] ICE: in check_probability, at
basic-block.h:944 with -ftree-vectorize
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 28856
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28856
reduced testcase
Compiler output:
$ gcc -O -ftree-vectorize testcase.C
testcase.C: In function 'void test01()':
testcase.C:13:1: internal compiler error: in check_probability, at
basic-block.h:944
test01 ()
^
0x84ddff check_probability
/mnt/svn/gcc-trunk/gcc/basic-block.h:944
0x84ddff inverse_probability
/mnt/svn/gcc-trunk/gcc/basic-block.h:972
0x84ddff scale_loop_profile(loop*, int, int)
/mnt/svn/gcc-trunk/gcc/cfgloopmanip.c:522
0xd85d4e vect_transform_loop(_loop_vec_info*)
/mnt/svn/gcc-trunk/gcc/tree-vect-loop.c:5739
0xd9e426 vectorize_loops()
/mnt/svn/gcc-trunk/gcc/tree-vectorizer.c:124
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
$ gcc -v
Using built-in specs.
COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc
COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-194017-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df
--enable-languages=c,c++,lto,fortran
--prefix=/mnt/svn/gcc-trunk/binary-194017-lto-fortran-checking-yes-rtl-df/
--without-cloog --without-ppl
Thread model: posix
gcc version 4.8.0 20121201 (experimental) (GCC)
Tested revisions:
r194017 - crash