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

--- Comment #7 from Andi Kleen <andi-gcc at firstfloor dot org> 2011-10-29 
12:12:09 UTC ---
Created attachment 25659
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25659
reproducer


Managed to minimize now

Unpack the tar file and on x86-64

% gcc47 -m32 -O2 -flto arch/x86/kernel/apic/io_apic.i -c
% gcc47 -m32 -O2 -flto arch/x86/kernel/apic/io_apic.o
In file included from :10:0:
/home/ak/lsrc/git/linux-lto-2.6/arch/x86/kernel/apic/io_apic.c: In function
'ioapic_read_entry':
/home/ak/lsrc/git/linux-lto-2.6/arch/x86/kernel/apic/io_apic.c:397:35: internal
compiler error: in tree_nrv, at tree-nrv.c:155

The strange thing is that it doesn't reproduce if you copy the .i file to
another file name?!? And see also the weird ":10:0". Some memory corruption?

Reply via email to