This is the mail archive of the gcc-bugs@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]

[Bug fortran/48174] DWARF for subroutine with no args indicates 'varargs'


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).


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