This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
LTO reader support for MEMORY_PARTITION_TAG
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Kenneth Zadeck <zadeck at naturalbridge dot com>
- Cc: GCC <gcc at gcc dot gnu dot org>
- Date: Tue, 26 Jun 2007 12:24:52 -0400
- Subject: LTO reader support for MEMORY_PARTITION_TAG
Kenny --
I tried to get the simplest C program containing a function:
void f() {}
to go through LTO today, but the LTO reader says:
./empty-function.o:0: internal compiler error: in lto_static_init_local,
at lto-tree-flags.def:747
Apparently, this is because the static set-up in lto_static_init_local
doesn't handle MEMORY_PARTITION_TAG (and perhaps other new tree nodes
added after the original LTO branch).
For reference, this is how I compiled the file:
./xgcc -B./ -flto -funit-at-a-time -g -c empty-function.c
./lto1 empty-function.o
Would you be able to take a look at that? I would like to be able to
begin pushing forward on getting small functions to go through the compiler.
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713