public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/21412] New: [PowerPC] ICE loading TLS address
@ 2005-05-06 8:01 rth at gcc dot gnu dot org
2005-05-06 8:04 ` [Bug target/21412] " rth at gcc dot gnu dot org
` (15 more replies)
0 siblings, 16 replies; 17+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-05-06 8:01 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 775 bytes --]
struct S { int x[10]; };
extern __thread struct S s;
int *foo() { return &s.x[2]; }
$ ./cc1 -quiet -O2 -fPIC zz.c
zz.c: In function foo:
zz.c:3: internal compiler error: Segmentation fault
It looks like rs6000_emit_move is only prepared for a tls symbol_ref,
and not a (const (plus (symbol_ref) (const_int))).
--
Summary: [PowerPC] ICE loading TLS address
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rth at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc*-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21412
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/21412] [PowerPC] ICE loading TLS address
2005-05-06 8:01 [Bug target/21412] New: [PowerPC] ICE loading TLS address rth at gcc dot gnu dot org
@ 2005-05-06 8:04 ` rth at gcc dot gnu dot org
2005-05-07 0:54 ` rth at gcc dot gnu dot org
` (14 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-05-06 8:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2005-05-06 08:04 -------
ia64.c has a similar bug in ia64_expand_load_address.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21412
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/21412] [PowerPC] ICE loading TLS address
2005-05-06 8:01 [Bug target/21412] New: [PowerPC] ICE loading TLS address rth at gcc dot gnu dot org
2005-05-06 8:04 ` [Bug target/21412] " rth at gcc dot gnu dot org
@ 2005-05-07 0:54 ` rth at gcc dot gnu dot org
2005-05-07 16:46 ` cvs-commit at gcc dot gnu dot org
` (13 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-05-07 0:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2005-05-07 00:54 -------
Testing fixes.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-05-07 00:54:16
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21412
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/21412] [PowerPC] ICE loading TLS address
2005-05-06 8:01 [Bug target/21412] New: [PowerPC] ICE loading TLS address rth at gcc dot gnu dot org
2005-05-06 8:04 ` [Bug target/21412] " rth at gcc dot gnu dot org
2005-05-07 0:54 ` rth at gcc dot gnu dot org
@ 2005-05-07 16:46 ` cvs-commit at gcc dot gnu dot org
2005-05-07 16:50 ` cvs-commit at gcc dot gnu dot org
` (12 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-07 16:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-07 16:46 -------
Subject: Bug 21412
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rth@gcc.gnu.org 2005-05-07 16:46:09
Modified files:
gcc : ChangeLog
gcc/config/rs6000: rs6000.c
Added files:
gcc/testsuite/gcc.dg/tls: opt-9.c
Log message:
PR target/21412
* config/rs6000/rs6000.c (rs6000_emit_move): Look for tls addresses
with constant offsets.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8635&r2=2.8636
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.c.diff?cvsroot=gcc&r1=1.821&r2=1.822
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tls/opt-9.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21412
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/21412] [PowerPC] ICE loading TLS address
2005-05-06 8:01 [Bug target/21412] New: [PowerPC] ICE loading TLS address rth at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-05-07 16:46 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-07 16:50 ` cvs-commit at gcc dot gnu dot org
2005-05-09 13:58 ` [Bug target/21412] " rth at gcc dot gnu dot org
` (11 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-07 16:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-07 16:50 -------
Subject: Bug 21412
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: rth@gcc.gnu.org 2005-05-07 16:49:59
Modified files:
gcc : ChangeLog
gcc/config/rs6000: rs6000.c
Added files:
gcc/testsuite/gcc.dg/tls: opt-9.c
Log message:
PR target/21412
* config/rs6000/rs6000.c (rs6000_emit_move): Look for tls addresses
with constant offsets.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.224&r2=2.7592.2.225
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.788.2.6&r2=1.788.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tls/opt-9.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21412
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/21412] ICE loading TLS address
2005-05-06 8:01 [Bug target/21412] New: [PowerPC] ICE loading TLS address rth at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-05-07 16:50 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-09 13:58 ` rth at gcc dot gnu dot org
2005-05-10 14:29 ` ebotcazou at gcc dot gnu dot org
` (10 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-05-09 13:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2005-05-09 13:46 -------
Powerpc fixed; ia64 still broken.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[PowerPC] ICE loading TLS |ICE loading TLS address
|address |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21412
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/21412] ICE loading TLS address
2005-05-06 8:01 [Bug target/21412] New: [PowerPC] ICE loading TLS address rth at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-05-09 13:58 ` [Bug target/21412] " rth at gcc dot gnu dot org
@ 2005-05-10 14:29 ` ebotcazou at gcc dot gnu dot org
2005-05-11 21:34 ` cvs-commit at gcc dot gnu dot org
` (9 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-05-10 14:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-05-10 14:29 -------
SPARC 32-bit:
opt-9.c: In function 'foo':
opt-9.c:7: error: unrecognizable insn:
(insn 8 6 9 1 (set (reg/f:SI 109)
(high:SI (const:SI (plus:SI (symbol_ref:SI ("s") [flags 0x58]
<var_declff08d1d0 s>)
(const_int 8 [0x8]))))) -1 (nil)
(nil))
opt-9.c:7: internal compiler error: in extract_insn, at recog.c:2020
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
SPARC 64-bit:
opt-9.c: In function 'foo':
opt-9.c:7: error: unrecognizable insn:
(insn 8 6 9 1 (set (reg:DI 109)
(high:DI (unspec:DI [
(const:DI (plus:DI (symbol_ref:DI ("s") [flags 0x58]
<var_decl ff089d88 s>)
(const_int 8 [0x8])))
] 9))) -1 (nil)
(nil))
opt-9.c:7: internal compiler error: in extract_insn, at recog.c:2020
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
GCC target triplet|ia64-*-* |ia64-*-*, sparc*-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21412
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/21412] ICE loading TLS address
2005-05-06 8:01 [Bug target/21412] New: [PowerPC] ICE loading TLS address rth at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-05-10 14:29 ` ebotcazou at gcc dot gnu dot org
@ 2005-05-11 21:34 ` cvs-commit at gcc dot gnu dot org
2005-05-12 17:51 ` cvs-commit at gcc dot gnu dot org
` (8 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-11 21:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-11 21:34 -------
Subject: Bug 21412
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rth@gcc.gnu.org 2005-05-11 21:34:19
Modified files:
gcc : ChangeLog
gcc/config/ia64: ia64-protos.h ia64.c ia64.h ia64.md
predicates.md
Log message:
PR target/21412
* config/ia64/ia64.c (TARGET_CANNOT_FORCE_CONST_MEM): New.
(ia64_cannot_force_const_mem): New.
(tls_symbolic_operand_type): New.
(ia64_legitimate_constant_p): New.
(ia64_expand_load_address): Return true on success. Improve
checks for when we should not split.
(ia64_expand_tls_address): New addend operand. Distribute it
as appropriate to the tls_kind. Delay referencing gp.
(ia64_expand_move): Split symbolic addend as necessary. Handle
tls symbols with addends.
* config/ia64/ia64-protos.h: Update.
* config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): False for r0,
p0, f0, f1, and r13.
(LEGITIMATE_CONSTANT_P): Move to ia64_legitimate_constant_p.
* config/ia64/ia64.md (UNSPEC_DTPMOD): New.
(symbolic_operand splitter): Pass everything through
ia64_expand_load_address and FAIL or DONE as appropriate.
(load_fptr): Only accept after reload.
(load_fptr_internal1, gprel64_offset, load_gprel64, load_symptr_high,
load_symptr_low, load_ltoff_dtpmod,
(load_dtpmod): New.
(load_dtprel): Only accept tls symbols.
(load_dtprel64, load_dtprel22): Likewise.
(load_tprel, load_tprel64, load_tprel22): Likewise.
(load_dtprel_gd, load_ltoff_dtprel, load_tprel_ie): New.
(add_dtprel): Only accept tls symbols. Canonicalize PLUS.
(add_dtprel14, add_dtprel22): Likewise.
(add_tprel, add_tprel14, add_tprel22): Likewise.
* config/ia64/predicates.md (small_addr_symbolic_operand): New.
(any_offset_symbol_operand, aligned_offset_symbol_operand): New.
(got_symbolic_operand): Check CONST offsets.
(tls_symbolic_operand, ld_tls_symbolic_operand): New.
(ie_tls_symbolic_operand, le_tls_symbolic_operand): New.
(move_operand): Don't handle tls here. Check CONST offsets.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8740&r2=2.8741
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/ia64/ia64-protos.h.diff?cvsroot=gcc&r1=1.71&r2=1.72
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/ia64/ia64.c.diff?cvsroot=gcc&r1=1.362&r2=1.363
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/ia64/ia64.h.diff?cvsroot=gcc&r1=1.197&r2=1.198
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/ia64/ia64.md.diff?cvsroot=gcc&r1=1.151&r2=1.152
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/ia64/predicates.md.diff?cvsroot=gcc&r1=1.6&r2=1.7
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21412
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/21412] ICE loading TLS address
2005-05-06 8:01 [Bug target/21412] New: [PowerPC] ICE loading TLS address rth at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-05-11 21:34 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-12 17:51 ` cvs-commit at gcc dot gnu dot org
2005-05-12 17:56 ` rth at gcc dot gnu dot org
` (7 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-12 17:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-12 17:50 -------
Subject: Bug 21412
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: rth@gcc.gnu.org 2005-05-12 17:50:26
Modified files:
gcc : ChangeLog
gcc/config/ia64: ia64-protos.h ia64.c ia64.h ia64.md
predicates.md
Log message:
PR target/21412
* config/ia64/ia64.c (TARGET_CANNOT_FORCE_CONST_MEM): New.
(ia64_cannot_force_const_mem): New.
(tls_symbolic_operand_type): New.
(ia64_legitimate_constant_p): New.
(ia64_expand_load_address): Return true on success. Improve
checks for when we should not split.
(ia64_expand_tls_address): New addend operand. Distribute it
as appropriate to the tls_kind. Delay referencing gp.
(ia64_expand_move): Split symbolic addend as necessary. Handle
tls symbols with addends.
* config/ia64/ia64-protos.h: Update.
* config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): False for r0,
p0, f0, f1, and r13.
(LEGITIMATE_CONSTANT_P): Move to ia64_legitimate_constant_p.
* config/ia64/ia64.md (UNSPEC_DTPMOD): New.
(symbolic_operand splitter): Pass everything through
ia64_expand_load_address and FAIL or DONE as appropriate.
(load_fptr): Only accept after reload.
(load_fptr_internal1, gprel64_offset, load_gprel64, load_symptr_high,
load_symptr_low, load_ltoff_dtpmod,
(load_dtpmod): New.
(load_dtprel): Only accept tls symbols.
(load_dtprel64, load_dtprel22): Likewise.
(load_tprel, load_tprel64, load_tprel22): Likewise.
(load_dtprel_gd, load_ltoff_dtprel, load_tprel_ie): New.
(add_dtprel): Only accept tls symbols. Canonicalize PLUS.
(add_dtprel14, add_dtprel22): Likewise.
(add_tprel, add_tprel14, add_tprel22): Likewise.
* config/ia64/predicates.md (small_addr_symbolic_operand): New.
(any_offset_symbol_operand, aligned_offset_symbol_operand): New.
(got_symbolic_operand): Check CONST offsets.
(tls_symbolic_operand, ld_tls_symbolic_operand): New.
(ie_tls_symbolic_operand, le_tls_symbolic_operand): New.
(move_operand): Don't handle tls here. Check CONST offsets.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.241&r2=2.7592.2.242
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/ia64/ia64-protos.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.70&r2=1.70.8.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/ia64/ia64.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.347.2.4&r2=1.347.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/ia64/ia64.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.193&r2=1.193.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/ia64/ia64.md.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.146.8.2&r2=1.146.8.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/ia64/predicates.md.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5&r2=1.5.10.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21412
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/21412] ICE loading TLS address
2005-05-06 8:01 [Bug target/21412] New: [PowerPC] ICE loading TLS address rth at gcc dot gnu dot org
` (7 preceding siblings ...)
2005-05-12 17:51 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-12 17:56 ` rth at gcc dot gnu dot org
2005-05-18 16:25 ` schwab at suse dot de
` (6 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-05-12 17:56 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2005-05-12 17:56 -------
ia64 fixed; sparc still broken. But I'm not planning to work on that.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|rth at gcc dot gnu dot org |unassigned at gcc dot gnu
| |dot org
Status|ASSIGNED |NEW
GCC target triplet|ia64-*-*, sparc*-*-* |sparc*-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21412
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/21412] ICE loading TLS address
2005-05-06 8:01 [Bug target/21412] New: [PowerPC] ICE loading TLS address rth at gcc dot gnu dot org
` (8 preceding siblings ...)
2005-05-12 17:56 ` rth at gcc dot gnu dot org
@ 2005-05-18 16:25 ` schwab at suse dot de
2005-05-18 16:45 ` rth at gcc dot gnu dot org
` (5 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: schwab at suse dot de @ 2005-05-18 16:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From schwab at suse dot de 2005-05-18 16:25 -------
Also I'm getting crashes in glibc during initialisation of libpthread, which
might be related.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21412
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/21412] ICE loading TLS address
2005-05-06 8:01 [Bug target/21412] New: [PowerPC] ICE loading TLS address rth at gcc dot gnu dot org
` (9 preceding siblings ...)
2005-05-18 16:25 ` schwab at suse dot de
@ 2005-05-18 16:45 ` rth at gcc dot gnu dot org
2005-05-18 22:14 ` schwab at suse dot de
` (4 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-05-18 16:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2005-05-18 16:45 -------
The test case in #10 is not a tls address; it is a dup of PR21632.
--
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|ia64-*-*,sparc*-*-* |sparc*-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21412
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/21412] ICE loading TLS address
2005-05-06 8:01 [Bug target/21412] New: [PowerPC] ICE loading TLS address rth at gcc dot gnu dot org
` (10 preceding siblings ...)
2005-05-18 16:45 ` rth at gcc dot gnu dot org
@ 2005-05-18 22:14 ` schwab at suse dot de
2005-05-19 9:44 ` rth at gcc dot gnu dot org
` (3 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: schwab at suse dot de @ 2005-05-18 22:14 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |21657
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21412
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/21412] ICE loading TLS address
2005-05-06 8:01 [Bug target/21412] New: [PowerPC] ICE loading TLS address rth at gcc dot gnu dot org
` (11 preceding siblings ...)
2005-05-18 22:14 ` schwab at suse dot de
@ 2005-05-19 9:44 ` rth at gcc dot gnu dot org
2005-05-25 7:15 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
15 siblings, 0 replies; 17+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-05-19 9:44 UTC (permalink / raw)
To: gcc-bugs
--
Bug 21412 depends on bug 21657, which changed state.
Bug 21657 Summary: [4.0 regression] TLS reference miscompiled
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21657
What |Old Value |New Value
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21412
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/21412] ICE loading TLS address
2005-05-06 8:01 [Bug target/21412] New: [PowerPC] ICE loading TLS address rth at gcc dot gnu dot org
` (12 preceding siblings ...)
2005-05-19 9:44 ` rth at gcc dot gnu dot org
@ 2005-05-25 7:15 ` cvs-commit at gcc dot gnu dot org
2005-05-25 7:18 ` cvs-commit at gcc dot gnu dot org
2005-05-25 7:28 ` ebotcazou at gcc dot gnu dot org
15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-25 7:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-25 07:04 -------
Subject: Bug 21412
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: ebotcazou@gcc.gnu.org 2005-05-25 07:04:05
Modified files:
gcc : ChangeLog
gcc/config/sparc: predicates.md sparc-protos.h sparc.c sparc.h
Log message:
PR target/21412
* config/sparc/sparc.h (SPARC_SYMBOL_REF_TLS_P): New macro
* config/sparc/sparc-protos.h (tls_symbolic_operand): Delete.
(sparc_tls_referenced_p): New prototype.
* config/sparc/sparc.c (tls_symbolic_operand): Delete.
(sparc_expand_move): Look for TLS addresses with constant offsets.
(legitimate_constant_p): Use SPARC_SYMBOL_REF_TLS_P instead of
tls_symbolic_operand.
(legitimate_pic_operand_p): Likewise.
(legitimate_address_p): Likewise.
(legitimize_address): Likewise.
(sparc_tls_symbol_ref_1): New function.
(sparc_tls_referenced_p): New function.
* config/sparc/predicates.md (tgd_symbolic_operand): Use
SYMBOL_REF_TLS_MODEL instead of tls_symbolic_operand.
(tld_symbolic_operand): Likewise.
(tie_symbolic_operand): Likewise.
(tle_symbolic_operand): Likewise.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8890&r2=2.8891
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/predicates.md.diff?cvsroot=gcc&r1=1.6&r2=1.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc-protos.h.diff?cvsroot=gcc&r1=1.51&r2=1.52
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.c.diff?cvsroot=gcc&r1=1.372&r2=1.373
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sparc.h.diff?cvsroot=gcc&r1=1.283&r2=1.284
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21412
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/21412] ICE loading TLS address
2005-05-06 8:01 [Bug target/21412] New: [PowerPC] ICE loading TLS address rth at gcc dot gnu dot org
` (13 preceding siblings ...)
2005-05-25 7:15 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-25 7:18 ` cvs-commit at gcc dot gnu dot org
2005-05-25 7:28 ` ebotcazou at gcc dot gnu dot org
15 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-25 7:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-25 07:15 -------
Subject: Bug 21412
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: ebotcazou@gcc.gnu.org 2005-05-25 07:14:24
Modified files:
gcc/testsuite : ChangeLog
gcc/testsuite/gcc.dg/tls: opt-9.c
Log message:
PR target/21412
* gcc.dg/tls/opt-9.c: XFAIL on SPARC.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.195&r2=1.5084.2.196
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tls/opt-9.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.1.2.1&r2=1.1.2.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21412
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug target/21412] ICE loading TLS address
2005-05-06 8:01 [Bug target/21412] New: [PowerPC] ICE loading TLS address rth at gcc dot gnu dot org
` (14 preceding siblings ...)
2005-05-25 7:18 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-25 7:28 ` ebotcazou at gcc dot gnu dot org
15 siblings, 0 replies; 17+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-05-25 7:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-05-25 07:17 -------
See http://gcc.gnu.org/ml/gcc-patches/2005-05/msg02162.html for SPARC.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21412
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2005-05-25 7:18 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-06 8:01 [Bug target/21412] New: [PowerPC] ICE loading TLS address rth at gcc dot gnu dot org
2005-05-06 8:04 ` [Bug target/21412] " rth at gcc dot gnu dot org
2005-05-07 0:54 ` rth at gcc dot gnu dot org
2005-05-07 16:46 ` cvs-commit at gcc dot gnu dot org
2005-05-07 16:50 ` cvs-commit at gcc dot gnu dot org
2005-05-09 13:58 ` [Bug target/21412] " rth at gcc dot gnu dot org
2005-05-10 14:29 ` ebotcazou at gcc dot gnu dot org
2005-05-11 21:34 ` cvs-commit at gcc dot gnu dot org
2005-05-12 17:51 ` cvs-commit at gcc dot gnu dot org
2005-05-12 17:56 ` rth at gcc dot gnu dot org
2005-05-18 16:25 ` schwab at suse dot de
2005-05-18 16:45 ` rth at gcc dot gnu dot org
2005-05-18 22:14 ` schwab at suse dot de
2005-05-19 9:44 ` rth at gcc dot gnu dot org
2005-05-25 7:15 ` cvs-commit at gcc dot gnu dot org
2005-05-25 7:18 ` cvs-commit at gcc dot gnu dot org
2005-05-25 7:28 ` ebotcazou at gcc dot gnu 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).