public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/36745]  New: [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868
@ 2008-07-06 18:24 rguenth at gcc dot gnu dot org
  2008-07-06 18:25 ` [Bug target/36745] " 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-07-06 18:24 UTC (permalink / raw)
  To: gcc-bugs

Trunk fails to build Qt4 on both s390 and s390x.

./cc1plus -quiet -O2 -fPIC qregexp.3.ii 
qregexp.3.ii: In member function 'void QVector<T>::realloc(int, int) [with T =
QRegExpAutomatonState]':
qregexp.3.ii:99: internal compiler error: in gen_reg_rtx, at emit-rtl.c:868
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868
           Product: gcc
           Version: 4.4.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=36745


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

* [Bug target/36745] [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868
  2008-07-06 18:24 [Bug target/36745] New: [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868 rguenth at gcc dot gnu dot org
@ 2008-07-06 18:25 ` rguenth at gcc dot gnu dot org
  2008-07-06 18:25 ` 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-07-06 18:25 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krebbel at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.4.0


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


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

* [Bug target/36745] [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868
  2008-07-06 18:24 [Bug target/36745] New: [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868 rguenth at gcc dot gnu dot org
  2008-07-06 18:25 ` [Bug target/36745] " rguenth at gcc dot gnu dot org
@ 2008-07-06 18:25 ` rguenth at gcc dot gnu dot org
  2008-07-07  9:01 ` mueller 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-07-06 18:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2008-07-06 18:24 -------
Created an attachment (id=15864)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15864&action=view)
testcase

Testcase reduced with a cross from x86_64 to s390x.


-- 


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


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

* [Bug target/36745] [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868
  2008-07-06 18:24 [Bug target/36745] New: [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868 rguenth at gcc dot gnu dot org
  2008-07-06 18:25 ` [Bug target/36745] " rguenth at gcc dot gnu dot org
  2008-07-06 18:25 ` rguenth at gcc dot gnu dot org
@ 2008-07-07  9:01 ` mueller at gcc dot gnu dot org
  2008-07-07 12:36 ` krebbel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mueller at gcc dot gnu dot org @ 2008-07-07  9:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from mueller at gcc dot gnu dot org  2008-07-07 09:00 -------
Created an attachment (id=15868)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15868&action=view)
slightly shorter (different testcase, same bug)


-- 


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


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

* [Bug target/36745] [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868
  2008-07-06 18:24 [Bug target/36745] New: [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868 rguenth at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-07-07  9:01 ` mueller at gcc dot gnu dot org
@ 2008-07-07 12:36 ` krebbel at gcc dot gnu dot org
  2008-07-14  6:58 ` krebbel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: krebbel at gcc dot gnu dot org @ 2008-07-07 12:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from krebbel at gcc dot gnu dot org  2008-07-07 12:35 -------
The shorter testcase does not fail with -O2 -fPIC on GCC rev. 137553.

But I can confirm the ICE with the first example.  For large GOTs (>4k) we
rewrite a symbol reference as a GOTENT relocation in the LEGITIMIZE_ADDRESS
hook. A reference to the original SYM_REF stays as REG_EQUAL note. The note is
used by GCSE to propagate the SYM_REF directly into the asm operand. So the
legitimize_address hook is called for this operand during reload - since the
fix needs an additional pseudo it crashes.


-- 

krebbel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |krebbel at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-07-07 12:35:23
               date|                            |


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


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

* [Bug target/36745] [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868
  2008-07-06 18:24 [Bug target/36745] New: [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868 rguenth at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-07-07 12:36 ` krebbel at gcc dot gnu dot org
@ 2008-07-14  6:58 ` krebbel at gcc dot gnu dot org
  2008-07-14 13:48 ` jakub at gcc dot gnu dot org
  2008-07-18 16:59 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: krebbel at gcc dot gnu dot org @ 2008-07-14  6:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from krebbel at gcc dot gnu dot org  2008-07-14 06:57 -------
Subject: Bug 36745

Author: krebbel
Date: Mon Jul 14 06:56:46 2008
New Revision: 137777

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

        PR target/36745
        * config/s390/s390.c: (s390_secondary_reload): Add a secondary
        reload for symbol refs moved to r0 with -fPIC.
        (legitimize_pic_address): Use the target register as temporary
        reg if possible.
        (emit_symbolic_move): Adjust comment.
        * config/s390/s390.md (reloadsi_PIC_addr, reloaddi_PIC_addr):
        New expanders.

2008-07-14  Andreas Krebbel  <krebbel1@de.ibm.com>

        PR target/36745
        * g++.dg/torture/pr36745.C: New testcase.



Added:
    trunk/gcc/testsuite/g++.dg/torture/pr36745.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/s390/s390.c
    trunk/gcc/config/s390/s390.md
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug target/36745] [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868
  2008-07-06 18:24 [Bug target/36745] New: [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868 rguenth at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-07-14  6:58 ` krebbel at gcc dot gnu dot org
@ 2008-07-14 13:48 ` jakub at gcc dot gnu dot org
  2008-07-18 16:59 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-07-14 13:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jakub at gcc dot gnu dot org  2008-07-14 13:47 -------
Subject: Bug 36745

Author: jakub
Date: Mon Jul 14 13:46:25 2008
New Revision: 137785

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137785
Log:
        PR target/36745
        * g++.dg/torture/pr36745.C: Use __SIZE_TYPE__ in size_t typedef.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/torture/pr36745.C


-- 


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


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

* [Bug target/36745] [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868
  2008-07-06 18:24 [Bug target/36745] New: [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868 rguenth at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2008-07-14 13:48 ` jakub at gcc dot gnu dot org
@ 2008-07-18 16:59 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-07-18 16:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2008-07-18 16:59 -------
Fixed I guess.


-- 

rguenth at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2008-07-18 16:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-06 18:24 [Bug target/36745] New: [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868 rguenth at gcc dot gnu dot org
2008-07-06 18:25 ` [Bug target/36745] " rguenth at gcc dot gnu dot org
2008-07-06 18:25 ` rguenth at gcc dot gnu dot org
2008-07-07  9:01 ` mueller at gcc dot gnu dot org
2008-07-07 12:36 ` krebbel at gcc dot gnu dot org
2008-07-14  6:58 ` krebbel at gcc dot gnu dot org
2008-07-14 13:48 ` jakub at gcc dot gnu dot org
2008-07-18 16:59 ` rguenth 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).