Merging the chains of recurrences from LNO branch
Sebastian Pop
sebastian.pop@cri.ensmp.fr
Thu Jul 1 20:29:00 GMT 2004
On Thu, Jul 01, 2004 at 10:14:45PM +0200, Andreas Tobler wrote:
> >
> >The above symbols exist in tree-chrec.o and libbackend.a
> >
> >00000004 C _chrec_dont_know
> >00000004 C _chrec_known
>
> Yep, just made sure that my local libs are not confusing the build.
> I see the same.
>
And the reason of the fail is because the tree-chrec.o is optimized
away by ld and there is still the U symbols defined by the
automatically generated file:
gtype-desc.o: U _chrec_dont_know
gtype-desc.o: U _chrec_known
I hate the magic-generated files ;-)
Basically tree-chrec.c is optimized away because for the moment no
function defined in this file is used. We had the same problem with
the tree-browser.c but I don't know a proper way to fix it without
"#if 0" the entire file until it becomes to be used. Or don't
register these trees into the gty machinery?
Sebastian
More information about the Gcc-patches
mailing list