public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/54670] New: ICE in extract_insn, at recog.c:2125
@ 2012-09-22 16:53 rmansfield at qnx dot com
  2012-09-25  7:07 ` [Bug target/54670] " segher at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rmansfield at qnx dot com @ 2012-09-22 16:53 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 54670
           Summary: ICE in extract_insn, at recog.c:2125
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rmansfield@qnx.com
              Host: x86_64-unknown-linux-gnu
            Target: powerpc-e500v2-linux-gnuspe
             Build: x86_64-unknown-linux-gnu


Created attachment 28248
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28248
preprocessed src

Building libxml2 for e500v2 SPE triggers the following ICE 

$ ./xgcc -v
Using built-in specs.
COLLECT_GCC=./xgcc
Target: powerpc-e500v2-linux-gnuspe
Configured with: ../configure --target=powerpc-e500v2-linux-gnuspe
--prefix=/home/ryan/x-tools/powerpc-e500v2-linux-gnuspe
--with-sysroot=/home/ryan/x-tools/powerpc-e500v2-linux-gnuspe/powerpc-e500v2-linux-gnuspe/sys-root
--enable-languages=c,c++ --disable-multilib --with-cpu=8548 --with-tune=8548
--with-gmp=/home/ryan/x-tools/powerpc-e500v2-linux-gnuspe
--with-mpfr=/home/ryan/x-tools/powerpc-e500v2-linux-gnuspe
--enable-__cxa_atexit
--with-local-prefix=/home/ryan/x-tools/powerpc-e500v2-linux-gnuspe/powerpc-e500v2-linux-gnuspe/sys-root
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99
--enable-long-long --enable-target-optspace --enable-e500_double
--with-long-double-128
Thread model: posix
gcc version 4.8.0 20120922 (experimental) [trunk revision 191643] (GCC) 

$ ./xgcc -B. ~/ice.i -O
/home/ryan/ice.i: In function 'TrioWriteDouble':
/home/ryan/ice.i:47:20: warning: incompatible implicit declaration of built-in
function 'floor' [enabled by default]
       workNumber = floor ((double) (fractionNumber + fractionAdjust));
                    ^
/home/ryan/ice.i:48:21: warning: incompatible implicit declaration of built-in
function 'fmod' [enabled by default]
       index = (int) fmod ((double) (workNumber), (double) (dblBase));
                     ^
/home/ryan/ice.i: In function 'TrioFormat':
/home/ryan/ice.i:81:1: error: unrecognizable insn:
 }
 ^
(insn 189 188 103 5 (set (mem/c:TI (plus:SI (reg:SI 24 24)
                (const_int 2080 [0x820])) [0 %sfp+2080 S16 A128])
        (reg:TI 4 4)) /home/ryan/ice.i:47 -1
     (nil))
/home/ryan/ice.i:81:1: internal compiler error: in extract_insn, at
recog.c:2125
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug target/54670] ICE in extract_insn, at recog.c:2125
  2012-09-22 16:53 [Bug target/54670] New: ICE in extract_insn, at recog.c:2125 rmansfield at qnx dot com
@ 2012-09-25  7:07 ` segher at gcc dot gnu.org
  2014-04-24  9:22 ` asolokha at gmx dot com
  2014-11-27  5:16 ` asolokha at gmx dot com
  2 siblings, 0 replies; 4+ messages in thread
From: segher at gcc dot gnu.org @ 2012-09-25  7:07 UTC (permalink / raw)
  To: gcc-bugs


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

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |segher at gcc dot gnu.org

--- Comment #1 from Segher Boessenkool <segher at gcc dot gnu.org> 2012-09-25 07:06:28 UTC ---
Doesn't fail on non-SPE.


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

* [Bug target/54670] ICE in extract_insn, at recog.c:2125
  2012-09-22 16:53 [Bug target/54670] New: ICE in extract_insn, at recog.c:2125 rmansfield at qnx dot com
  2012-09-25  7:07 ` [Bug target/54670] " segher at gcc dot gnu.org
@ 2014-04-24  9:22 ` asolokha at gmx dot com
  2014-11-27  5:16 ` asolokha at gmx dot com
  2 siblings, 0 replies; 4+ messages in thread
From: asolokha at gmx dot com @ 2014-04-24  9:22 UTC (permalink / raw)
  To: gcc-bugs

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

Arseny Solokha <asolokha at gmx dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |asolokha at gmx dot com

--- Comment #2 from Arseny Solokha <asolokha at gmx dot com> ---
I cannot reproduce it w/ 4.10.0-alpha20140411 snapshot.


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

* [Bug target/54670] ICE in extract_insn, at recog.c:2125
  2012-09-22 16:53 [Bug target/54670] New: ICE in extract_insn, at recog.c:2125 rmansfield at qnx dot com
  2012-09-25  7:07 ` [Bug target/54670] " segher at gcc dot gnu.org
  2014-04-24  9:22 ` asolokha at gmx dot com
@ 2014-11-27  5:16 ` asolokha at gmx dot com
  2 siblings, 0 replies; 4+ messages in thread
From: asolokha at gmx dot com @ 2014-11-27  5:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54670

--- Comment #3 from Arseny Solokha <asolokha at gmx dot com> ---
Also failed to reproduce this w/ 4.9.2.


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

end of thread, other threads:[~2014-11-27  5:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-22 16:53 [Bug target/54670] New: ICE in extract_insn, at recog.c:2125 rmansfield at qnx dot com
2012-09-25  7:07 ` [Bug target/54670] " segher at gcc dot gnu.org
2014-04-24  9:22 ` asolokha at gmx dot com
2014-11-27  5:16 ` asolokha at gmx dot com

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