* [Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable
2010-10-31 16:32 [Bug target/46250] New: ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable zsojka at seznam dot cz
@ 2013-04-28 8:03 ` pinskia at gcc dot gnu.org
2013-04-28 8:03 ` pinskia at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-04-28 8:03 UTC (permalink / raw)
To: gcc-bugs
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. ***
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable
2010-10-31 16:32 [Bug target/46250] New: ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable zsojka at seznam dot cz
2013-04-28 8:03 ` [Bug target/46250] " pinskia at gcc dot gnu.org
@ 2013-04-28 8:03 ` pinskia at gcc dot gnu.org
2013-04-28 8:04 ` pinskia at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-04-28 8:03 UTC (permalink / raw)
To: gcc-bugs
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. ***
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable
2010-10-31 16:32 [Bug target/46250] New: ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable zsojka at seznam dot cz
2013-04-28 8:03 ` [Bug target/46250] " pinskia at gcc dot gnu.org
2013-04-28 8:03 ` pinskia at gcc dot gnu.org
@ 2013-04-28 8:04 ` pinskia at gcc dot gnu.org
2013-04-28 10:12 ` ubizjak at gmail dot com
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-04-28 8:04 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable
2010-10-31 16:32 [Bug target/46250] New: ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable zsojka at seznam dot cz
` (2 preceding siblings ...)
2013-04-28 8:04 ` pinskia at gcc dot gnu.org
@ 2013-04-28 10:12 ` ubizjak at gmail dot com
2013-04-29 17:09 ` hjl.tools at gmail dot com
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ubizjak at gmail dot com @ 2013-04-28 10:12 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable
2010-10-31 16:32 [Bug target/46250] New: ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable zsojka at seznam dot cz
` (3 preceding siblings ...)
2013-04-28 10:12 ` ubizjak at gmail dot com
@ 2013-04-29 17:09 ` hjl.tools at gmail dot com
2021-04-29 16:43 ` zsojka at seznam dot cz
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2013-04-29 17:09 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable
2010-10-31 16:32 [Bug target/46250] New: ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable zsojka at seznam dot cz
` (4 preceding siblings ...)
2013-04-29 17:09 ` hjl.tools at gmail dot com
@ 2021-04-29 16:43 ` zsojka at seznam dot cz
2021-08-02 22:54 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: zsojka at seznam dot cz @ 2021-04-29 16:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46250
Zdenek Sojka <zsojka at seznam dot cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |5.5.0, 6.5.0, 7.5.0
--- Comment #7 from Zdenek Sojka <zsojka at seznam dot cz> ---
No longer fails for me since at least 5.5.0.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable
2010-10-31 16:32 [Bug target/46250] New: ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable zsojka at seznam dot cz
` (5 preceding siblings ...)
2021-04-29 16:43 ` zsojka at seznam dot cz
@ 2021-08-02 22:54 ` pinskia at gcc dot gnu.org
2021-08-02 22:59 ` pinskia at gcc dot gnu.org
2021-08-02 22:59 ` pinskia at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-02 22:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46250
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gerhard.steinmetz.fortran@t
| |-online.de
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 79497 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable
2010-10-31 16:32 [Bug target/46250] New: ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable zsojka at seznam dot cz
` (6 preceding siblings ...)
2021-08-02 22:54 ` pinskia at gcc dot gnu.org
@ 2021-08-02 22:59 ` pinskia at gcc dot gnu.org
2021-08-02 22:59 ` pinskia at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-02 22:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46250
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |4.9.0
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
-fPIC -mcmodel=large works now. so closing
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/46250] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable
2010-10-31 16:32 [Bug target/46250] New: ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -fPIC -mcmodel=large and __thread variable zsojka at seznam dot cz
` (7 preceding siblings ...)
2021-08-02 22:59 ` pinskia at gcc dot gnu.org
@ 2021-08-02 22:59 ` pinskia at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-02 22:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46250
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |DUPLICATE
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Sorry a dup of bug 58067.
*** This bug has been marked as a duplicate of bug 58067 ***
^ permalink raw reply [flat|nested] 10+ messages in thread