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

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).