public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/36551] New: Failure to compile __thread variable.
@ 2008-06-17 13:09 carlos at systemhalted dot org
2008-06-17 23:43 ` [Bug target/36551] " dave at hiauly1 dot hia dot nrc dot ca
2008-06-18 2:36 ` carlos at systemhalted dot org
0 siblings, 2 replies; 3+ messages in thread
From: carlos at systemhalted dot org @ 2008-06-17 13:09 UTC (permalink / raw)
To: gcc-bugs
Steps to reproduce:
cat >> test.c <<EOF
__thread int foo;
void bar (void) {
foo = 2;
}
EOF
hppa64-linux-gnu-gcc-4.3.1 -S test.c
test.c: In function 'bar':
test.c:5: error: unrecognizable insn:
(insn 6 5 7 3 test.c:4 (set (reg:DI 67)
(unspec:SI [
(const_int 0 [0x0])
] 3)) -1 (nil))
test.c:5: internal compiler error: in extract_insn, at recog.c:1990
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Expected:
- Compiler correctly compiles the code.
Observed:
- ICE trying to compile code with __thread keyword.
hppa does have support for thread local storage, but it's never been tested on
the 64-bit compiler.
I came across this error while trying to port glibc to hppa64-linux-gnu during
a 64-bit userspace bring-up.
--
Summary: Failure to compile __thread variable.
Product: gcc
Version: 4.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: carlos at systemhalted dot org
GCC build triplet: hppa-linux-gnu
GCC host triplet: hppa64-linux-gnu
GCC target triplet: hppa64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36551
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-06-18 2:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-17 13:09 [Bug target/36551] New: Failure to compile __thread variable carlos at systemhalted dot org
2008-06-17 23:43 ` [Bug target/36551] " dave at hiauly1 dot hia dot nrc dot ca
2008-06-18 2:36 ` carlos at systemhalted 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).