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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 33532
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33532&action=edit
gcc5-pr63331.patch

Untested patch to fix (or work around) all but the last 2 FAILs.
It seems there is no real need to have DECL_UID differences in this case, we
can just use DEBUG_EXPR_DECLs instead of VAR_DECLs for the debughook.
That said, the use of DECL_UID in lhd_set_decl_assembler_name is IMHO still
problematic, but if DECL_UID appear only after the FE is done with the stuff,
it should be less important issue.

Reply via email to