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/49833] New: PIC doesn't work Date: Mon, 25 Jul 2011 01:49:00 -0000 [thread overview] Message-ID: <bug-49833-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49833 Summary: PIC doesn't work Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned@gcc.gnu.org ReportedBy: hjl.tools@gmail.com CC: ubizjak@gmail.com Target: x32 [hjl@gnu-6 ilp32-6]$ cat l.i static unsigned char foo[256]; arc4_init(void) { int n; for (n = 0; n < 256; n++) foo[n] = n; } [hjl@gnu-6 ilp32-6]$ make l.s /export/build/gnu/gcc-x32/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc-x32/build-x86_64-linux/gcc/ -S -o l.s -mx32 -O -fPIC l.i l.i: In function \u2018arc4_init\u2019: l.i:9:1: error: unrecognizable insn: (insn 66 48 50 3 (set (reg/f:DI 1 dx [104]) (zero_extend:DI (plus:SI (reg/v:SI 0 ax [orig:102 n ] [102]) (symbol_ref:SI ("foo") [flags 0x2] <var_decl 0x7fe54663e140 foo>)))) l.i:8 -1 (nil)) l.i:9:1: internal compiler error: in extract_insn, at recog.c:2115 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make: *** [l.s] Error 1 [hjl@gnu-6 ilp32-6]$
next reply other threads:[~2011-07-25 1:49 UTC|newest] Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-07-25 1:49 hjl.tools at gmail dot com [this message] 2011-07-25 13:59 ` [Bug target/49833] [x32] " hjl.tools at gmail dot com 2011-07-25 14:37 ` hjl.tools at gmail dot com 2011-07-25 14:52 ` ubizjak at gmail dot com 2011-07-25 15:21 ` ubizjak at gmail dot com 2011-07-25 16:15 ` hjl.tools at gmail dot com 2011-07-25 16:15 ` hjl.tools at gmail dot com 2011-07-25 16:24 ` ubizjak at gmail dot com 2011-07-25 16:42 ` hjl.tools at gmail dot com 2011-07-25 16:59 ` ubizjak at gmail dot com 2011-07-25 18:04 ` hjl.tools at gmail dot com 2011-07-25 18:28 ` hjl.tools at gmail dot com 2011-07-25 18:29 ` hjl.tools at gmail dot com 2011-07-25 19:19 ` pluto at agmk dot net 2011-07-25 19:40 ` hjl.tools at gmail dot com 2011-07-25 19:52 ` ubizjak at gmail dot com 2011-07-25 19:59 ` hjl.tools at gmail dot com 2011-07-25 20:01 ` hjl.tools at gmail dot com 2011-07-25 20:11 ` hjl.tools at gmail dot com 2011-07-25 20:13 ` hjl.tools at gmail dot com 2011-07-26 12:01 ` uros at gcc dot gnu.org 2011-07-26 12:13 ` ubizjak at gmail dot com 2011-07-29 16:01 ` hjl at gcc dot gnu.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=bug-49833-4@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: linkBe 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).