This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/48174] DWARF for subroutine with no args indicates 'varargs'
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 19 Mar 2011 23:35:26 +0000
- Subject: [Bug fortran/48174] DWARF for subroutine with no args indicates 'varargs'
- Auto-submitted: auto-generated
- References: <bug-48174-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48174
--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-03-19 23:35:12 UTC ---
(In reply to comment #5)
> - else if (sym->attr.is_main_program)
> + else if (sym->attr.if_source != IFSRC_UNKNOWN)
Probably better OR the old condition (is_main_program || if_source != UNKNOWN).