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

2011-03-25 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48174 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

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

2011-03-25 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48174 --- Comment #7 from Tobias Burnus 2011-03-25 17:53:41 UTC --- Author: burnus Date: Fri Mar 25 17:53:35 2011 New Revision: 171519 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171519 Log: 2011-03-25 Tobias Burnus PR fortran/48

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

2011-03-19 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48174 --- Comment #6 from Tobias Burnus 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_sourc

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

2011-03-19 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48174 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #5

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

2011-03-18 Thread longb at cray dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48174 --- Comment #4 from Bill Long 2011-03-18 16:08:37 UTC --- Additional comment from originator of the bug at Cray: The DIE tag DW_TAG_unspecified_parameters indicates that a variable argument list starts. Try a simple C program for contrast. Just

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

2011-03-18 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48174 --- Comment #3 from Richard Guenther 2011-03-18 08:36:50 UTC --- Well, it means "unprototyped". Without consulting the DWARF spec DW_TAG_unspecified_parameters sounds like it would match that. But yes, ISTR filing a bug about this FE issue at s

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

2011-03-18 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48174 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2 f

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

2011-03-17 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48174 --- Comment #1 from Andrew Pinski 2011-03-18 04:59:58 UTC --- I think this was already fixed in 4.6.0.