public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/21412] New: [PowerPC] ICE loading TLS address
Date: Fri, 06 May 2005 08:01:00 -0000	[thread overview]
Message-ID: <20050506080145.21412.rth@gcc.gnu.org> (raw)

[-- 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


             reply	other threads:[~2005-05-06  8:01 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-06  8:01 rth at gcc dot gnu dot org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050506080145.21412.rth@gcc.gnu.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).