This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/45097] New: ICE: gimple check: expected gimple_assign(error_mark), have gimple_phi() in gimple_assign_lhs, at gimple.h:1724
- From: "jingyu at google dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jul 2010 01:08:21 -0000
- Subject: [Bug middle-end/45097] New: ICE: gimple check: expected gimple_assign(error_mark), have gimple_phi() in gimple_assign_lhs, at gimple.h:1724
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
ICE is seen by top of trunk. I tried revision r162572, got the same ICE. I
tried revision r162301, it compiled fine. Something went wrong in between.
/usr/local/verify/install/TOP_2010-07-27/bin/arm-linux-androideabi-g++
phi_bug.i -march=armv7-a -O2 -S
phi_bug.i: In member function 'void regobj::makebound2()':
phi_bug.i:22:6: internal compiler error: gimple check: expected
gimple_assign(error_mark), have gimple_phi() in gimple_assign_lhs, at
gimple.h:1724
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
-Os gives the same ICE.
-O1, ICE goes away.
If I replace -march=armv7-a with -march=armv5te, ICE goes away.
Target: arm-linux-androideabi
Configured with:
/usr/local/nightly/sources/android_toolchain/build/../gcc/gcc-4.6.0/configure
--prefix=/usr/local --target=arm-linux-androideabi --host=x86_64-pc-linux-gnu
--build=x86_64-pc-linux-gnu --enable-languages=c,c++
--with-gmp=/usr/local/tmp/verify/TOP_2010-07-27/temp-install
--with-mpfr=/usr/local/tmp/verify/TOP_2010-07-27/temp-install
--with-mpc=/usr/local/tmp/verify/TOP_2010-07-27/temp-install --disable-libssp
--enable-threads --disable-nls --disable-libmudflap --disable-libgomp
--disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls
--with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace
--with-gcc-version=4.6.0 --with-binutils-version=2.20.1
--with-gmp-version=4.2.4 --with-mpfr-version=2.4.1 --with-gdb-version=6.6
--with-arch=armv5te
--with-sysroot=/home/projects/gcc/toolchain_build/cupcake_rel_root
--program-transform-name='s&^&arm-linux-androideabi-&'
Thread model: posix
gcc version 4.6.0 20100727 (experimental) (GCC)
--
Summary: ICE: gimple check: expected gimple_assign(error_mark),
have gimple_phi() in gimple_assign_lhs, at gimple.h:1724
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jingyu at google dot com
GCC build triplet: x86_64-pc-linux-gnu
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: arm-linux-androideabi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45097