http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49656
--- Comment #2 from andreas at galauner dot de 2011-07-06 08:30:52 UTC --- (In reply to comment #1) > Also passes.c from 4.6.1 does only have 2052 lines, so your version > information > cannot be correct. Oh, I'm sorry. You are totally right. I accidentally used a 4.7 snapshot which, obviously, breaks for me in the same manner. Here is the error with a real 4.6.1: 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 src/main.c:30:1: internal compiler error: in execute_ipa_pass_list, at passes.c:1921 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 Everything else is the same. I just downloaded 4.6.1, build it and executed it and this is result.