public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/28150]  New: ICE in reload_cse_simplify_operands, at postreload.c:394
@ 2006-06-24  9:23 pluto at agmk dot net
  2006-06-24 10:28 ` [Bug target/28150] " pluto at agmk dot net
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: pluto at agmk dot net @ 2006-06-24  9:23 UTC (permalink / raw)
  To: gcc-bugs

$ gcc lib_delegate.i -c -Wall -O

lib_delegate.c: In function 'PackDelegateInvokeParams':
lib_delegate.c:273: error: insn does not satisfy its constraints:
(insn 205 104 105 9 (set (mem/c/i:TF (pre_inc:SI (reg/v/f:SI 29 29 [orig:119
ptr ] [119])) [0 nativeFloat+0 S16 A64])
        (reg:TF 45 13)) 242 {*movtf_internal} (nil)
    (expr_list:REG_INC (reg/v/f:SI 29 29 [orig:119 ptr ] [119])
        (nil)))
lib_delegate.c:273: internal compiler error: in reload_cse_simplify_operands,
at postreload.c:394


-- 
           Summary: ICE in reload_cse_simplify_operands, at postreload.c:394
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
 GCC build triplet: ppc-linux
  GCC host triplet: ppc-linux
GCC target triplet: ppc-linux


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


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

* [Bug target/28150] ICE in reload_cse_simplify_operands, at postreload.c:394
  2006-06-24  9:23 [Bug target/28150] New: ICE in reload_cse_simplify_operands, at postreload.c:394 pluto at agmk dot net
@ 2006-06-24 10:28 ` pluto at agmk dot net
  2006-06-24 18:10 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pluto at agmk dot net @ 2006-06-24 10:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pluto at agmk dot net  2006-06-24 09:23 -------
Created an attachment (id=11740)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11740&action=view)
testcase


-- 


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


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

* [Bug target/28150] ICE in reload_cse_simplify_operands, at postreload.c:394
  2006-06-24  9:23 [Bug target/28150] New: ICE in reload_cse_simplify_operands, at postreload.c:394 pluto at agmk dot net
  2006-06-24 10:28 ` [Bug target/28150] " pluto at agmk dot net
@ 2006-06-24 18:10 ` pinskia at gcc dot gnu dot org
  2006-06-25  9:26 ` pluto at agmk dot net
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-24 18:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-06-24 17:49 -------
How did you configure GCC becase having TFmode there sounds like you configured
to have 128bit long double to be default.


-- 


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


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

* [Bug target/28150] ICE in reload_cse_simplify_operands, at postreload.c:394
  2006-06-24  9:23 [Bug target/28150] New: ICE in reload_cse_simplify_operands, at postreload.c:394 pluto at agmk dot net
  2006-06-24 10:28 ` [Bug target/28150] " pluto at agmk dot net
  2006-06-24 18:10 ` pinskia at gcc dot gnu dot org
@ 2006-06-25  9:26 ` pluto at agmk dot net
  2006-06-29  9:58 ` pluto at agmk dot net
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pluto at agmk dot net @ 2006-06-25  9:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pluto at agmk dot net  2006-06-25 08:47 -------
(In reply to comment #2)
> How did you configure GCC becase having TFmode there sounds like you configured
> to have 128bit long double to be default.
> 

$ gcc -v
Reading specs from /usr/lib/gcc/ppc-pld-linux/4.1.2/specs
Target: ppc-pld-linux
Configured with: ../configure --prefix=/usr --with-local-prefix=/usr/local
--libdir=/usr/lib --libexecdir=/usr/lib --infodir=/usr/share/info
--mandir=/usr/share/man --x-libraries=/usr/lib --enable-shared
--enable-threads=posix --enable-languages=c,c++,fortran,objc,obj-c++,ada,java
--enable-c99 --enable-long-long --disable-multilib --enable-nls
--disable-werror --with-gnu-as --with-gnu-ld --with-demangler-in-ld
--with-system-zlib --with-slibdir=/lib --without-system-libunwind
--enable-cmath --with-long-double-128 --enable-secureplt
--with-gxx-include-dir=/usr/include/c++/4.1.2 --disable-libstdcxx-pch
--enable-__cxa_atexit --enable-libstdcxx-allocator=new
--with-qt4dir=/usr/lib/qt4 --disable-libjava-multilib --enable-libgcj
--enable-libgcj-multifile --enable-libgcj-database --enable-gtk-cairo
--enable-java-awt=qt,gtk,xlib --enable-jni --enable-xmlj --enable-alsa
--enable-dssi ppc-pld-linux
Thread model: posix
gcc version 4.1.2 20060623 (prerelease) (PLD-Linux)

glibc-2.4, kernel-2.6


-- 


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


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

* [Bug target/28150] ICE in reload_cse_simplify_operands, at postreload.c:394
  2006-06-24  9:23 [Bug target/28150] New: ICE in reload_cse_simplify_operands, at postreload.c:394 pluto at agmk dot net
                   ` (2 preceding siblings ...)
  2006-06-25  9:26 ` pluto at agmk dot net
@ 2006-06-29  9:58 ` pluto at agmk dot net
  2006-06-29 19:28 ` pluto at agmk dot net
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pluto at agmk dot net @ 2006-06-29  9:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pluto at agmk dot net  2006-06-29 09:36 -------
this bug blocks portable.net developing.


-- 

pluto at agmk dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker


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


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

* [Bug target/28150] ICE in reload_cse_simplify_operands, at postreload.c:394
  2006-06-24  9:23 [Bug target/28150] New: ICE in reload_cse_simplify_operands, at postreload.c:394 pluto at agmk dot net
                   ` (3 preceding siblings ...)
  2006-06-29  9:58 ` pluto at agmk dot net
@ 2006-06-29 19:28 ` pluto at agmk dot net
  2006-06-30 12:15 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pluto at agmk dot net @ 2006-06-29 19:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pluto at agmk dot net  2006-06-29 19:27 -------
reduced testcase:

void foo( void* dst, void* src, int x )
{
        long double nativeFloat;
        void *ptr;
        if (x)
        {
                nativeFloat = (long double)(*((float*)src));
                ptr = (void *)&nativeFloat;
        }
        else
                ptr = (void *)0;
        memcpy( dst, ptr, 1 );
}


tmp.i:13: error: insn does not satisfy its constraints:
(insn 54 26 27 1 (set (mem/c/i:TF (pre_inc:SI (reg/v/f:SI 9 9 [orig:119 ptr ]
[119])) [4 nativeFloat+0 S16 A64])
        (reg:TF 45 13)) 242 {*movtf_internal} (nil)
    (expr_list:REG_INC (reg/v/f:SI 9 9 [orig:119 ptr ] [119])
        (nil)))
tmp.i:13: internal compiler error: in reload_cse_simplify_operands, at
postreload.c:394


-- 


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


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

* [Bug target/28150] ICE in reload_cse_simplify_operands, at postreload.c:394
  2006-06-24  9:23 [Bug target/28150] New: ICE in reload_cse_simplify_operands, at postreload.c:394 pluto at agmk dot net
                   ` (4 preceding siblings ...)
  2006-06-29 19:28 ` pluto at agmk dot net
@ 2006-06-30 12:15 ` pinskia at gcc dot gnu dot org
  2006-07-05 20:03 ` dje at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-30 12:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2006-06-30 12:11 -------
Confirmed with the reduced testcase only on the mainline.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-06-30 12:11:58
               date|                            |


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


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

* [Bug target/28150] ICE in reload_cse_simplify_operands, at postreload.c:394
  2006-06-24  9:23 [Bug target/28150] New: ICE in reload_cse_simplify_operands, at postreload.c:394 pluto at agmk dot net
                   ` (5 preceding siblings ...)
  2006-06-30 12:15 ` pinskia at gcc dot gnu dot org
@ 2006-07-05 20:03 ` dje at gcc dot gnu dot org
  2006-07-06 19:00 ` dje at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: dje at gcc dot gnu dot org @ 2006-07-05 20:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from dje at gcc dot gnu dot org  2006-07-05 20:03 -------
I think this simply is a case of not allowing TFmode in PRE_INC addresses:

Index: rs6000.c
===================================================================
--- rs6000.c    (revision 115196)
+++ rs6000.c    (working copy)
@@ -3522,6 +3522,7 @@
   if ((GET_CODE (x) == PRE_INC || GET_CODE (x) == PRE_DEC)
       && !ALTIVEC_VECTOR_MODE (mode)
       && !SPE_VECTOR_MODE (mode)
+      && mode != TFmode
       /* Restrict addressing for DI because of our SUBREG hackery.  */
       && !(TARGET_E500_DOUBLE && (mode == DFmode || mode == DImode))
       && TARGET_UPDATE


-- 

dje at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dje at gcc dot gnu dot org


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


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

* [Bug target/28150] ICE in reload_cse_simplify_operands, at postreload.c:394
  2006-06-24  9:23 [Bug target/28150] New: ICE in reload_cse_simplify_operands, at postreload.c:394 pluto at agmk dot net
                   ` (6 preceding siblings ...)
  2006-07-05 20:03 ` dje at gcc dot gnu dot org
@ 2006-07-06 19:00 ` dje at gcc dot gnu dot org
  2006-07-26 20:23 ` dje at gcc dot gnu dot org
  2006-07-26 20:27 ` dje at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: dje at gcc dot gnu dot org @ 2006-07-06 19:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from dje at gcc dot gnu dot org  2006-07-06 19:00 -------
Subject: Bug 28150

Author: dje
Date: Thu Jul  6 18:59:58 2006
New Revision: 115229

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115229
Log:
2006-07-06  David Edelsohn  <edelsohn@gnu.org>

        PR target/28150
        * config/rs6000/rs6000.c (rs6000_legitimate_address): Do not allow
        PRE_{INC,DEC} of TFmode.

2006-07-06  David Edelsohn  <edelsohn@gnu.org>
            Alan Modra  <amodra@bigpond.net.au>

        PR target/28170
        * config/rs6000/rs6000.c (insvdi_rshift_rlwimi_p): Correct shiftop
        bounds. Simplify.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.c


-- 


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


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

* [Bug target/28150] ICE in reload_cse_simplify_operands, at postreload.c:394
  2006-06-24  9:23 [Bug target/28150] New: ICE in reload_cse_simplify_operands, at postreload.c:394 pluto at agmk dot net
                   ` (7 preceding siblings ...)
  2006-07-06 19:00 ` dje at gcc dot gnu dot org
@ 2006-07-26 20:23 ` dje at gcc dot gnu dot org
  2006-07-26 20:27 ` dje at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: dje at gcc dot gnu dot org @ 2006-07-26 20:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from dje at gcc dot gnu dot org  2006-07-26 20:22 -------
Subject: Bug 28150

Author: dje
Date: Wed Jul 26 20:21:49 2006
New Revision: 115764

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115764
Log:
        Backport from mainline
        2006-07-14  Eliot Dresselhaus  <eliot@sonic.net>

        PR target/27287
        * config/rs6000/spe.md (frob_di_df_2): Add m->r alternative.

        2006-07-06  David Edelsohn  <edelsohn@gnu.org>

        PR target/28150
        * config/rs6000/rs6000.c (rs6000_legitimate_address): Do not allow
        PRE_{INC,DEC} of TFmode.

        2006-07-06  David Edelsohn  <edelsohn@gnu.org>
                    Alan Modra  <amodra@bigpond.net.au>

        PR target/28170
        * config/rs6000/rs6000.c (insvdi_rshift_rlwimi_p): Correct shiftop
        bounds. Simplify.

Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/config/rs6000/rs6000.c
    branches/gcc-4_1-branch/gcc/config/rs6000/spe.md


-- 


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


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

* [Bug target/28150] ICE in reload_cse_simplify_operands, at postreload.c:394
  2006-06-24  9:23 [Bug target/28150] New: ICE in reload_cse_simplify_operands, at postreload.c:394 pluto at agmk dot net
                   ` (8 preceding siblings ...)
  2006-07-26 20:23 ` dje at gcc dot gnu dot org
@ 2006-07-26 20:27 ` dje at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: dje at gcc dot gnu dot org @ 2006-07-26 20:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from dje at gcc dot gnu dot org  2006-07-26 20:26 -------
patch backported


-- 

dje at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.2


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


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

end of thread, other threads:[~2006-07-26 20:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-24  9:23 [Bug target/28150] New: ICE in reload_cse_simplify_operands, at postreload.c:394 pluto at agmk dot net
2006-06-24 10:28 ` [Bug target/28150] " pluto at agmk dot net
2006-06-24 18:10 ` pinskia at gcc dot gnu dot org
2006-06-25  9:26 ` pluto at agmk dot net
2006-06-29  9:58 ` pluto at agmk dot net
2006-06-29 19:28 ` pluto at agmk dot net
2006-06-30 12:15 ` pinskia at gcc dot gnu dot org
2006-07-05 20:03 ` dje at gcc dot gnu dot org
2006-07-06 19:00 ` dje at gcc dot gnu dot org
2006-07-26 20:23 ` dje at gcc dot gnu dot org
2006-07-26 20:27 ` dje 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).