public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/49833] New: PIC doesn't work
@ 2011-07-25  1:49 hjl.tools at gmail dot com
  2011-07-25 13:59 ` [Bug target/49833] [x32] " hjl.tools at gmail dot com
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: hjl.tools at gmail dot com @ 2011-07-25  1:49 UTC (permalink / raw)
  To: gcc-bugs

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]$


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2011-07-29 16:01 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-25  1:49 [Bug target/49833] New: PIC doesn't work hjl.tools at gmail dot com
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

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