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: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 18 Mar 2011 08:18:40 +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
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-18 08:18:23 UTC ---
No, I can reproduce it even with current trunk.
It is a FE bug, TYPE_ARG_TYPES on the function which has no arguments (as
opposed to variable number of arguments or unknown) should be void_list_node
rather than NULL.