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]

[PATCH][LTO] Fix nearly the rest of the Fortran FAILs, stream CONST_DECLs


This adds proper streaming of CONST_DECLs as required by Fortran.
I also noticed that the streamer sets DECL_SAVED_TREE to the
block tree - that doesn't look correct.

Built and tested with the Fortran testsuite.

Ok for LTO?

Thanks,
Richard.

2009-07-10  Richard Guenther  <rguenther@suse.de>

        * lto-streamer.h (enum LTO_tags): Add LTO_const_decl_ref.
        * lto-streamer-out.c (lto_output_tree_ref): Deal with CONST_DECLs.
        * lto-streamer-in.c (lto_input_tree_ref): Handle LTO_const_decl_ref.
        (input_function): Set DECL_SAVED_TREE to NULL_TREE.

Attachment: fix-lto-fortran-2
Description: Binary data


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