This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/49284] -fdump-ipa-cgraph leads to ICE in generate_canonical_option, at opts-common.c:303


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

--- Comment #1 from Andi Kleen <andi-gcc at firstfloor dot org> 2011-06-04 22:13:34 UTC ---
Some investigation:

This depends heavily on the command line used.

A simple test with a hello world works.

On my kernel build when I strip the lto link command line down I get
the error with

gcc47 -fdump-cgraph-ipa -nostdlib -fuse-linker-plugin -flto=jobserver
-fwhole-program -Wl,-m,elf_x86_64 -Wl,--build-id -o .tmp_vmlinux1
-Wl,-T,arch/x86/kernel/vmlinux.lds arch/x86/kernel/head_64.o
arch/x86/kernel/head_64.o

and not with (last file deleted)

gcc47 -fdump-cgraph-ipa -nostdlib -fuse-linker-plugin -flto=jobserver
-fwhole-program -Wl,-m,elf_x86_64 -Wl,--build-id -o .tmp_vmlinux1
-Wl,-T,arch/x86/kernel/vmlinux.lds arch/x86/kernel/head_64.o


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]