public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/49853] [x32] PIC doesn't work with external symbol
Date: Tue, 26 Jul 2011 19:29:00 -0000	[thread overview]
Message-ID: <bug-49853-4-gzf3PfjKzd@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-49853-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49853

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ubizjak at gmail dot com

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-07-26 19:29:01 UTC ---
Another testcase:

[hjl@gnu-6 ilp32-10]$ cat x.i 
typedef struct FILE FILE;
int _fwalk(int (*)(FILE *));
int __sflush(FILE *);
int
fflush(FILE *fp)
{
  return (_fwalk(__sflush));
}
[hjl@gnu-6 ilp32-10]$ make
/export/build/gnu/gcc/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc/build-x86_64-linux/gcc/ -S -o x.s -mx32 -O2 -g -fPIC
-dp  x.i
x.i: In function ‘fflush’:
x.i:8:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5417
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [x.s] Error 1
[hjl@gnu-6 ilp32-10]$


  parent reply	other threads:[~2011-07-26 19:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-26 14:40 [Bug target/49853] New: " hjl.tools at gmail dot com
2011-07-26 18:04 ` [Bug target/49853] " uros at gcc dot gnu.org
2011-07-26 19:29 ` hjl.tools at gmail dot com [this message]
2011-07-26 19:35 ` ubizjak at gmail dot com
2011-07-26 19:37 ` hjl.tools at gmail dot com

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=bug-49853-4-gzf3PfjKzd@http.gcc.gnu.org/bugzilla/ \
    --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).