Re: LTO reader support for MEMORY_PARTITION_TAG

2007-06-28 Thread Mark Mitchell
Kenneth Zadeck wrote: now that we can compile, i will start looking inside today. At present, lto_read_function_body doesn't set DECL_SAVED_TREE for the function body, so there's nothing for the back end to even try to output. It doesn't look to me like we've got code to try to read that back

Re: LTO reader support for MEMORY_PARTITION_TAG

2007-06-28 Thread Kenneth Zadeck
Mark Mitchell wrote: Kenneth Zadeck wrote: now that we can compile, i will start looking inside today. At present, lto_read_function_body doesn't set DECL_SAVED_TREE for the function body, so there's nothing for the back end to even try to output. It doesn't look to me like we've

LTO reader support for MEMORY_PARTITION_TAG

2007-06-26 Thread Mark Mitchell
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

Re: LTO reader support for MEMORY_PARTITION_TAG

2007-06-26 Thread Kenneth Zadeck
Mark Mitchell wrote: 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

Re: LTO reader support for MEMORY_PARTITION_TAG

2007-06-26 Thread Kenneth Zadeck
Mark Mitchell wrote: 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