[Bug target/26350] ICE in extract_insn, at recog.c:2084, -fPIC -mlong-double-128

2006-02-19 Thread mmitchel at gcc dot gnu dot org


--- Comment #10 from mmitchel at gcc dot gnu dot org  2006-02-19 19:31 
---
Subject: Bug 26350

Author: mmitchel
Date: Sun Feb 19 19:31:22 2006
New Revision: 111276

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=111276
Log:
PR target/26350
* config/rs6000/rs6000.md (extenddftf2): Force 0.0 to validized
MEM for ABI_V4 pic.

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


-- 


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



[Bug target/26350] ICE in extract_insn, at recog.c:2084, -fPIC -mlong-double-128

2006-02-19 Thread rguenth at gcc dot gnu dot org


--- Comment #11 from rguenth at gcc dot gnu dot org  2006-02-19 19:50 
---
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.1.0


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



[Bug target/26350] ICE in extract_insn, at recog.c:2084, -fPIC -mlong-double-128

2006-02-18 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2006-02-18 14:56 ---
Would have been nice if you put the error message in the bug.


-- 


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



[Bug target/26350] ICE in extract_insn, at recog.c:2084, -fPIC -mlong-double-128

2006-02-18 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2006-02-18 15:03 ---
This works in 4.2.0 20060218.


-- 


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



[Bug target/26350] ICE in extract_insn, at recog.c:2084, -fPIC -mlong-double-128

2006-02-18 Thread rguenth at gcc dot gnu dot org


--- Comment #3 from rguenth at gcc dot gnu dot org  2006-02-18 15:08 ---
Error message is

ieee.min2.i:25: error: unrecognizable insn:
(insn 64 63 30 1 (set (reg:DF 8 8)
(mem/u/c/i:DF (symbol_ref/u:SI (*.LC3) [flags 0x2]) [12 S8 A64])) -1
(nil)
(nil))
ieee.min2.i:25: internal compiler error: in extract_insn, at recog.c:2084
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://www.suse.de/feedback for instructions.


-- 


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



[Bug target/26350] ICE in extract_insn, at recog.c:2084, -fPIC -mlong-double-128

2006-02-18 Thread pinskia at gcc dot gnu dot org


--- Comment #4 from pinskia at gcc dot gnu dot org  2006-02-18 15:19 ---
The difference between 4.1 and 4.2 come in the schedule1 pass.
4.1 does something while it looks like 4.2 does not.
-fno-schedule-insns on 4.1 fixes the ICE.


-- 


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



[Bug target/26350] ICE in extract_insn, at recog.c:2084, -fPIC -mlong-double-128

2006-02-18 Thread dje at gcc dot gnu dot org


--- Comment #5 from dje at gcc dot gnu dot org  2006-02-18 16:47 ---
This appears to be related to -fpic.  The SYMBOL_REF is considered small data
and rs6000_legitimate_small_data_p() includes !flag_pic.  What is generating
this when -fpic?


-- 

dje at gcc dot gnu dot org changed:

   What|Removed |Added

 CC|dje at watson dot ibm dot   |dje at gcc dot gnu dot org
   |com |


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



[Bug target/26350] ICE in extract_insn, at recog.c:2084, -fPIC -mlong-double-128

2006-02-18 Thread pinskia at gcc dot gnu dot org


--- Comment #6 from pinskia at gcc dot gnu dot org  2006-02-18 17:22 ---
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2006-02-18 17:22:09
   date||


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



[Bug target/26350] ICE in extract_insn, at recog.c:2084, -fPIC -mlong-double-128

2006-02-18 Thread dje at gcc dot gnu dot org


--- Comment #7 from dje at gcc dot gnu dot org  2006-02-18 17:24 ---
Reload is creating the symbol_ref from the extenddftf2 splitter, which is
trying to load 0.0.  I think this is a case where we need to expand
legitimize_reload_address().  Darwin uses that to fix up these insns, but it
currently is disabled for SVR4 flag_pic.

#if TARGET_MACHO
   DEFAULT_ABI == ABI_DARWIN
   (flag_pic || MACHO_DYNAMIC_NO_PIC_P)
#else
   DEFAULT_ABI == ABI_V4
   !flag_pic
#endif


-- 

dje at gcc dot gnu dot org changed:

   What|Removed |Added

   Last reconfirmed|2006-02-18 17:22:09 |2006-02-18 17:24:27
   date||


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



[Bug target/26350] ICE in extract_insn, at recog.c:2084, -fPIC -mlong-double-128

2006-02-18 Thread dje at gcc dot gnu dot org


--- Comment #8 from dje at gcc dot gnu dot org  2006-02-18 20:43 ---
Created an attachment (id=10875)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10875action=view)
patch to place constant 0.0 in MEM and validize to create GOT reference


-- 

dje at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |dje at gcc dot gnu dot org
   |dot org |
 Status|NEW |ASSIGNED


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



[Bug target/26350] ICE in extract_insn, at recog.c:2084, -fPIC -mlong-double-128

2006-02-18 Thread dje at gcc dot gnu dot org


--- Comment #9 from dje at gcc dot gnu dot org  2006-02-18 23:19 ---
Subject: Bug 26350

Author: dje
Date: Sat Feb 18 23:19:02 2006
New Revision: 111255

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=111255
Log:
PR target/26350
* config/rs6000/rs6000.md (extenddftf2): Force 0.0 to validized
MEM for ABI_V4 pic.

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


-- 


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