public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/34641]  New: [4.3 Regression] ICE in reload_cse_simplify_operands, at postreload.c:395
@ 2008-01-02 16:17 rguenth at gcc dot gnu dot org
  2008-01-02 16:53 ` [Bug target/34641] " rguenth at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-02 16:17 UTC (permalink / raw)
  To: gcc-bugs

./cc1plus -fpreprocessed TextIterator.ii -quiet -march=z900 -m64 -O2 -version
-fPIC -o /dev/null -w
GNU C++ (GCC) version 4.3.0 20080102 (experimental) (s390-linux-gnu)
        compiled by GNU C version 4.2.2 (SUSE Linux), GMP version 4.2.1, MPFR
version 2.2.1.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 31c8074c01f903f38601f94b219eb8f8
../../WebCore/editing/TextIterator.cpp: In function 'UChar*
WebCore::plainTextToMallocAllocatedBuffer(const WebCore::Range*, unsigned
int&)':
../../WebCore/editing/TextIterator.cpp:1316: error: insn does not satisfy its
constraints:
(insn 710 711 157 26 ../../JavaScriptCore/wtf/Vector.h:251 (set (reg:DI 3 %r3)
        (const_int 3148725999 [0xbbadbeef])) 50 {*movdi_64} (nil))
../../WebCore/editing/TextIterator.cpp:1316: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:395
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: [4.3 Regression] ICE in reload_cse_simplify_operands, at
                    postreload.c:395
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org
GCC target triplet: s390-*-*, s390x-*-*


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


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

* [Bug target/34641] [4.3 Regression] ICE in reload_cse_simplify_operands, at postreload.c:395
  2008-01-02 16:17 [Bug target/34641] New: [4.3 Regression] ICE in reload_cse_simplify_operands, at postreload.c:395 rguenth at gcc dot gnu dot org
@ 2008-01-02 16:53 ` rguenth at gcc dot gnu dot org
  2008-01-03 10:35 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-02 16:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2008-01-02 16:28 -------
*** Bug 34642 has been marked as a duplicate of this bug. ***


-- 


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


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

* [Bug target/34641] [4.3 Regression] ICE in reload_cse_simplify_operands, at postreload.c:395
  2008-01-02 16:17 [Bug target/34641] New: [4.3 Regression] ICE in reload_cse_simplify_operands, at postreload.c:395 rguenth at gcc dot gnu dot org
  2008-01-02 16:53 ` [Bug target/34641] " rguenth at gcc dot gnu dot org
@ 2008-01-03 10:35 ` rguenth at gcc dot gnu dot org
  2008-01-07 17:41 ` krebbel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-03 10:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2008-01-03 09:52 -------
Created an attachment (id=14865)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14865&action=view)
reduced testcase


-- 


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


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

* [Bug target/34641] [4.3 Regression] ICE in reload_cse_simplify_operands, at postreload.c:395
  2008-01-02 16:17 [Bug target/34641] New: [4.3 Regression] ICE in reload_cse_simplify_operands, at postreload.c:395 rguenth at gcc dot gnu dot org
  2008-01-02 16:53 ` [Bug target/34641] " rguenth at gcc dot gnu dot org
  2008-01-03 10:35 ` rguenth at gcc dot gnu dot org
@ 2008-01-07 17:41 ` krebbel at gcc dot gnu dot org
  2008-01-10 17:40 ` krebbel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: krebbel at gcc dot gnu dot org @ 2008-01-07 17:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from krebbel at gcc dot gnu dot org  2008-01-07 17:28 -------
The (const_int 3148725999 [0xbbadbeef]) is accepted by legitimate_constant_p
since it is expected to end up in the literal pool.  But in this case the
constant becomes part of a REG_EQUIV note of an insn moving the constant into a
pseudo register. 

Generating a reload for a later insn using the pseudo as memory base register
the REG_EQUIV note is used by push_reload to replace the pseudo directly with
the constant.  The emitted move insn can't be recognized since none of the
constraints of the move pattern accepts the large constant.

I think push_reload has to make sure that the move pattern to be emitted is
able to deal with the constant taken from the reg_equiv_constant array.


-- 

krebbel 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         |2008-01-07 17:28:30
               date|                            |


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


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

* [Bug target/34641] [4.3 Regression] ICE in reload_cse_simplify_operands, at postreload.c:395
  2008-01-02 16:17 [Bug target/34641] New: [4.3 Regression] ICE in reload_cse_simplify_operands, at postreload.c:395 rguenth at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-01-07 17:41 ` krebbel at gcc dot gnu dot org
@ 2008-01-10 17:40 ` krebbel at gcc dot gnu dot org
  2008-01-11  3:58 ` ismail at pardus dot org dot tr
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: krebbel at gcc dot gnu dot org @ 2008-01-10 17:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from krebbel at gcc dot gnu dot org  2008-01-10 16:47 -------
Subject: Bug 34641

Author: krebbel
Date: Thu Jan 10 16:46:26 2008
New Revision: 131445

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131445
Log:
2008-01-10  Andreas Krebbel  <krebbel1@de.ibm.com>

        PR middle-end/34641
        * reload.c (push_reload): Add assertions.  All constants from
        reg_equiv_constant should have been used for replacing the respective
        pseudo earlier.
        (find_reloads_address): Invoke find_reloads_address_part for
        constant taken from the reg_equiv_constant array.

2008-01-10  Andreas Krebbel  <krebbel1@de.ibm.com>

        PR middle-end/34641
        * g++.dg/torture/pr34641.C: New testcase.


Added:
    trunk/gcc/testsuite/g++.dg/torture/pr34641.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/reload.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug target/34641] [4.3 Regression] ICE in reload_cse_simplify_operands, at postreload.c:395
  2008-01-02 16:17 [Bug target/34641] New: [4.3 Regression] ICE in reload_cse_simplify_operands, at postreload.c:395 rguenth at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-01-10 17:40 ` krebbel at gcc dot gnu dot org
@ 2008-01-11  3:58 ` ismail at pardus dot org dot tr
  2008-01-11  9:36 ` krebbel at gcc dot gnu dot org
  2008-05-26 19:26 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: ismail at pardus dot org dot tr @ 2008-01-11  3:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from ismail at pardus dot org dot tr  2008-01-11 02:31 -------
Added testcase doesn't compile on i686-linux :

gcc/testsuite/g++.dg/torture/pr34641.C:16: error: 'operator new' takes type
'size_t' ('unsigned int') as first parameter


-- 

ismail at pardus dot org dot tr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ismail at pardus dot org dot
                   |                            |tr


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


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

* [Bug target/34641] [4.3 Regression] ICE in reload_cse_simplify_operands, at postreload.c:395
  2008-01-02 16:17 [Bug target/34641] New: [4.3 Regression] ICE in reload_cse_simplify_operands, at postreload.c:395 rguenth at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-01-11  3:58 ` ismail at pardus dot org dot tr
@ 2008-01-11  9:36 ` krebbel at gcc dot gnu dot org
  2008-05-26 19:26 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: krebbel at gcc dot gnu dot org @ 2008-01-11  9:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from krebbel at gcc dot gnu dot org  2008-01-11 09:03 -------
Fixed with:
http://gcc.gnu.org/ml/gcc-patches/2008-01/msg00460.html


-- 

krebbel at gcc dot gnu dot org changed:

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


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


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

* [Bug target/34641] [4.3 Regression] ICE in reload_cse_simplify_operands, at postreload.c:395
  2008-01-02 16:17 [Bug target/34641] New: [4.3 Regression] ICE in reload_cse_simplify_operands, at postreload.c:395 rguenth at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2008-01-11  9:36 ` krebbel at gcc dot gnu dot org
@ 2008-05-26 19:26 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-05-26 19:26 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.3.0


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


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

end of thread, other threads:[~2008-05-26 19:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-02 16:17 [Bug target/34641] New: [4.3 Regression] ICE in reload_cse_simplify_operands, at postreload.c:395 rguenth at gcc dot gnu dot org
2008-01-02 16:53 ` [Bug target/34641] " rguenth at gcc dot gnu dot org
2008-01-03 10:35 ` rguenth at gcc dot gnu dot org
2008-01-07 17:41 ` krebbel at gcc dot gnu dot org
2008-01-10 17:40 ` krebbel at gcc dot gnu dot org
2008-01-11  3:58 ` ismail at pardus dot org dot tr
2008-01-11  9:36 ` krebbel at gcc dot gnu dot org
2008-05-26 19:26 ` pinskia 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).