This is the mail archive of the gcc-patches@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]

[tuples] Fix libstdc++ builds


This patch fixes the last libstdc++ build problem.  This was
another memory corruption error.  We were storing gimple bodies
in a pointer map, which are not in GC memory.  This caused PCH to
never restore gimple bodies.

The patch changes gimple_body and gimple_set_body to store the
gimple sequence for the function's body inside the
DECL_STRUCT_FUNCTION object associated to the decl.

This patch also incorporates a patch from Oleg to fix handling of
GIMPLE_CONDs in EH lowering.

The only remaining failure now is in libjava.  This patch fixes
around 1,600 regressions in the testsuites.

I've also realized that we have a bootstrap failure in 64 bit
hosts, but it's not related to this patch.  I will look at that
next.

Bootstrapped and tested on x86.


Diego.

Attachment: 20080501-fix-pch.diff.txt
Description: Text document


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