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

           Summary: [x32] internal compiler error: in extract_insn, at
                    recog.c:2109
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: hjl.to...@gmail.com


On x32 branch, revision 169032 gave

[hjl@gnu-6 ilp32-9]$ cat z.i 
struct FILE
{
  int x;
};
extern struct FILE __sF[];
extern void bar (struct FILE *);
void dlmalloc_stats() {
   bar ((&__sF[2]));
}
[hjl@gnu-6 ilp32-9]$ make z.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 z.s -mx32 -O2 -fPIC
-dp  z.i
z.i: In function ‘dlmalloc_stats’:
z.i:9:1: error: unrecognizable insn:
(insn 5 4 6 3 (set (reg:SI 5 di)
        (const:SI (plus:SI (symbol_ref:SI ("__sF") [flags 0x40] <var_decl
0x7f72be3d5000 __sF>)
                (const_int 8 [0x8])))) z.i:8 -1
     (nil))
z.i:9:1: internal compiler error: in extract_insn, at recog.c:2109
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [z.s] Error 1
[hjl@gnu-6 ilp32-9]$

Reply via email to