[Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46250

Andrew Pinski  changed:

   What|Removed |Added

 Resolution|FIXED   |DUPLICATE

--- Comment #10 from Andrew Pinski  ---
Sorry a dup of bug 58067.

*** This bug has been marked as a duplicate of bug 58067 ***

[Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46250

Andrew Pinski  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |4.9.0

--- Comment #9 from Andrew Pinski  ---
-fPIC -mcmodel=large works now. so closing

[Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable

2021-08-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46250

Andrew Pinski  changed:

   What|Removed |Added

 CC||gerhard.steinmetz.fortran@t
   ||-online.de

--- Comment #8 from Andrew Pinski  ---
*** Bug 79497 has been marked as a duplicate of this bug. ***

[Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable

2021-04-29 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46250

Zdenek Sojka  changed:

   What|Removed |Added

  Known to work||5.5.0, 6.5.0, 7.5.0

--- Comment #7 from Zdenek Sojka  ---
No longer fails for me since at least 5.5.0.

[Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable

2018-12-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46250

Arseny Solokha  changed:

   What|Removed |Added

 CC||asolokha at gmx dot com

--- Comment #6 from Arseny Solokha  ---
It is likely a duplicate of PR58067 which was fixed for gcc 4.9.

[Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable

2013-04-29 Thread hjl.tools at gmail dot com


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



--- Comment #5 from H.J. Lu hjl.tools at gmail dot com 2013-04-29 17:09:22 
UTC ---

TLS ABI only covers the small model.  There is no demand to

extend TLS ABI to support medium/large models.


[Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable

2013-04-28 Thread pinskia at gcc dot gnu.org


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



--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2013-04-28 
08:03:09 UTC ---

*** Bug 57099 has been marked as a duplicate of this bug. ***


[Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable

2013-04-28 Thread pinskia at gcc dot gnu.org


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



Andrew Pinski pinskia at gcc dot gnu.org changed:



   What|Removed |Added



 CC||drepper.fsp at gmail dot

   ||com



--- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org 2013-04-28 
08:03:20 UTC ---

*** Bug 50963 has been marked as a duplicate of this bug. ***


[Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable

2013-04-28 Thread pinskia at gcc dot gnu.org


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



Andrew Pinski pinskia at gcc dot gnu.org changed:



   What|Removed |Added



 Status|UNCONFIRMED |NEW

   Last reconfirmed||2013-04-28

 Ever Confirmed|0   |1



--- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org 2013-04-28 
08:04:05 UTC ---

Confirmed based on the dups.


[Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable

2013-04-28 Thread ubizjak at gmail dot com


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



Uros Bizjak ubizjak at gmail dot com changed:



   What|Removed |Added



 CC||hjl.tools at gmail dot com,

   ||ubizjak at gmail dot com



--- Comment #4 from Uros Bizjak ubizjak at gmail dot com 2013-04-28 10:12:49 
UTC ---

(In reply to comment #3)

 Confirmed based on the dups.



This is ABI limitaton, we can't use indirect call that is necessary to reach

__tls_get_addr in the large memory space here. IIRC, -mtls-dialect=gnu2 should

be used with -mcmodel=large to solve this problem, but the former option is

somehow untested.



We shouldn't ice here, though.



I am adding HJ for his opinion on ABI issue.