From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12893 invoked by alias); 28 Jul 2010 01:08:43 -0000 Received: (qmail 12851 invoked by uid 48); 28 Jul 2010 01:08:21 -0000 Date: Wed, 28 Jul 2010 01:08:00 -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 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jingyu at google dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg03022.txt.bz2 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 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