This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/63331] Fortran -fcompare-debug issues
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 22 Sep 2014 15:23:46 +0000
- Subject: [Bug fortran/63331] Fortran -fcompare-debug issues
- Auto-submitted: auto-generated
- References: <bug-63331-4 at http dot gcc dot gnu dot org/bugzilla/>
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.