http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47372
Summary: [x32] internal compiler error: in simplify_subreg, at simplify-rtx.c:5222 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, I got [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-x32/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc-x32/build-x86_64-linux/gcc/ -S -o x.s -mx32 -O -g -fPIC -dp x.i x.i: In function \u2018fflush\u2019: x.i:8:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5222 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]$