public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/45097]  New: ICE: gimple check: expected gimple_assign(error_mark), have gimple_phi() in gimple_assign_lhs, at gimple.h:1724
@ 2010-07-28  1:08 jingyu at google dot com
  2010-07-28  1:09 ` [Bug middle-end/45097] " jingyu at google dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jingyu at google dot com @ 2010-07-28  1:08 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug middle-end/45097] ICE: gimple check: expected gimple_assign(error_mark), have gimple_phi() in gimple_assign_lhs, at gimple.h:1724
  2010-07-28  1:08 [Bug middle-end/45097] New: ICE: gimple check: expected gimple_assign(error_mark), have gimple_phi() in gimple_assign_lhs, at gimple.h:1724 jingyu at google dot com
@ 2010-07-28  1:09 ` 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
  2 siblings, 0 replies; 4+ messages in thread
From: jingyu at google dot com @ 2010-07-28  1:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jingyu at google dot com  2010-07-28 01:09 -------
Created an attachment (id=21328)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21328&action=view)
test case to reproduce the bug


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45097


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug middle-end/45097] ICE: gimple check: expected gimple_assign(error_mark), have gimple_phi() in gimple_assign_lhs, at gimple.h:1724
  2010-07-28  1:08 [Bug middle-end/45097] New: ICE: gimple check: expected gimple_assign(error_mark), have gimple_phi() in gimple_assign_lhs, at gimple.h:1724 jingyu at google dot com
  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
  2 siblings, 0 replies; 4+ messages in thread
From: ramana at gcc dot gnu dot org @ 2010-07-28  8:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ramana at gcc dot gnu dot org  2010-07-28 08:03 -------
I've been looking at this with respect to trunk bootstrapping on armv7a-linux
platforms.

http://gcc.gnu.org/ml/gcc-patches/2010-07/msg02102.html

See if the patches in that trail fix your bug.


-- 

ramana at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-07-28 08:03:17
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45097


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug middle-end/45097] ICE: gimple check: expected gimple_assign(error_mark), have gimple_phi() in gimple_assign_lhs, at gimple.h:1724
  2010-07-28  1:08 [Bug middle-end/45097] New: ICE: gimple check: expected gimple_assign(error_mark), have gimple_phi() in gimple_assign_lhs, at gimple.h:1724 jingyu at google dot com
  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
  2 siblings, 0 replies; 4+ messages in thread
From: mkuvyrkov at gcc dot gnu dot org @ 2010-07-28  8:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from mkuvyrkov at gcc dot gnu dot org  2010-07-28 08:11 -------
Ramana,

I confirmed that your patch fixes this PR moments before you posted you
comment.  It's a dup of 45067.

*** This bug has been marked as a duplicate of 45067 ***


-- 

mkuvyrkov at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45097


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-07-28  8:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-28  1:08 [Bug middle-end/45097] New: ICE: gimple check: expected gimple_assign(error_mark), have gimple_phi() in gimple_assign_lhs, at gimple.h:1724 jingyu at google dot com
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

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).