public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jingyu at google dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
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
Date: Wed, 28 Jul 2010 01:08:00 -0000	[thread overview]
Message-ID: <bug-45097-17567@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2010-07-28  1:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-28  1:08 jingyu at google dot com [this message]
2010-07-28  1:09 ` [Bug middle-end/45097] " jingyu at google dot com
2010-07-28  8:03 ` ramana at gcc dot gnu dot org
2010-07-28  8:11 ` mkuvyrkov at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-45097-17567@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).