[Bug target/36745] [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868

2008-07-18 Thread rguenth at gcc dot gnu dot org


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



[Bug target/36745] [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868

2008-07-14 Thread krebbel at gcc dot gnu dot org


--- 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: 13

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=13
Log:
2008-07-14  Andreas Krebbel  [EMAIL PROTECTED]

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  [EMAIL PROTECTED]

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



[Bug target/36745] [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868

2008-07-14 Thread jakub at gcc dot gnu dot org


--- 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=gccview=revrev=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



[Bug target/36745] [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868

2008-07-07 Thread mueller at gcc dot gnu dot org


--- 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=15868action=view)
slightly shorter (different testcase, same bug)


-- 


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



[Bug target/36745] [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868

2008-07-07 Thread krebbel at gcc dot gnu dot org


--- 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|-00-00 00:00:00 |2008-07-07 12:35:23
   date||


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



[Bug target/36745] [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868

2008-07-06 Thread rguenth at gcc dot gnu dot org


--- 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=15864action=view)
testcase

Testcase reduced with a cross from x86_64 to s390x.


-- 


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



[Bug target/36745] [4.4 Regression] ICE in gen_reg_rtx, at emit-rtl.c:868

2008-07-06 Thread rguenth at gcc dot gnu dot org


-- 

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