http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49656
Summary: internal compiler error on Mac OS 10.7.0 Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: andr...@galauner.de Created attachment 24698 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24698 Preprocessed main.c Target: x86_64-elf Configured with: --target=x86_64-elf --without-headers --enable-languages=c,c++ --disable-nls And then build with: make all-gcc Version: 4.6.1 Command line: x86_64-elf-gcc -m32 -g -nostdlib -nostdinc -fno-builtin -fno-stack-protector -std=gnu99 -Wall -Wextra -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wno-long-long -Wstrict-prototypes -DARCH_X86 -DDEBUG -Iinclude -c src/main.c -o obj/main.o Error message: src/main.c:30:1: internal compiler error: in execute_ipa_pass_list, at passes.c:2426 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make: *** [obj/main.o] Error 1 main.i is attached I also tried this with GCC 4.6.0 and 4.5.0. Same error.