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]

[debug-early] C++: moving more things before the compilation proper


Hi Jason.

As promised, I am moving most everything out of cxx_post_compilation_parsing_cleanups() which is the hook that will be called after the compilation proper has run (symtab->finalize_compilation_unit()).

Apart from the Java hidden alias support which I just asked you about, and the VTV stuff which will remain in the aforementioned hook, the only remaining bits are:

  input_location = locus_at_end_of_parsing;

#ifdef ENABLE_CHECKING
  validate_conversion_obstack ();
#endif /* ENABLE_CHECKING */

I am keeping the input_location bit because the final VTV stuff has some error() calls which presumably will need a location.

And I am keeping validate_conversion_obstack() because I *think* the VTV stuff will create calls? If not, let me know and I can move this bit too.

In any case, things are pretty deserted in cxx_post_compilation_parsing_cleanups(), which should make everybody happy :-).

I am committing the following to the branch. Let me know if you have any suggestions.

Thanks.
Aldy

Attachment: curr
Description: Text document


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