https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79061

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think it is fine if it has DECL_NAME NULL, but it would be helpful if
DECL_SOURCE_LOCATION of the TRANSLATION_UNIT_DECL was set to some location in
the main input file (e.g. first column on first line of the main_input_file).
Maybe it should be done by each caller build_translation_unit_decl, or by
build_translation_unit_decl itself.

Reply via email to