public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/50538] New: formal argument cannot be same as procedure name    (r178939)
@ 2011-09-27 14:19 zeccav at gmail dot com
  2013-06-22 15:15 ` [Bug fortran/50538] " dominiq at lps dot ens.fr
  2021-02-27  9:00 ` [Bug fortran/50538] formal argument cannot be same as procedure name in ENTRY zeccav at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: zeccav at gmail dot com @ 2011-09-27 14:19 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50538

             Bug #: 50538
           Summary: formal argument cannot be same as procedure name
                    (r178939)
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zeccav@gmail.com


! formal argument cannot be same as procedure name    (r178939)
      subroutine sub
      entry e(sub)
      end


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug fortran/50538] formal argument cannot be same as procedure name    (r178939)
  2011-09-27 14:19 [Bug fortran/50538] New: formal argument cannot be same as procedure name (r178939) zeccav at gmail dot com
@ 2013-06-22 15:15 ` dominiq at lps dot ens.fr
  2021-02-27  9:00 ` [Bug fortran/50538] formal argument cannot be same as procedure name in ENTRY zeccav at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: dominiq at lps dot ens.fr @ 2013-06-22 15:15 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50538

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-06-22
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Still present at revision 200321.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug fortran/50538] formal argument cannot be same as procedure name in ENTRY
  2011-09-27 14:19 [Bug fortran/50538] New: formal argument cannot be same as procedure name (r178939) zeccav at gmail dot com
  2013-06-22 15:15 ` [Bug fortran/50538] " dominiq at lps dot ens.fr
@ 2021-02-27  9:00 ` zeccav at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: zeccav at gmail dot com @ 2021-02-27  9:00 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50538

--- Comment #4 from Vittorio Zecca <zeccav at gmail dot com> ---
Still present in current trunk.

The compilers NAG nagfor and Intel ifort detect the issue.

nagfor -S -w gfbug78.f
NAG Fortran Compiler Release 7.0(Yurakucho) Build 7042
Error: gfbug78.f, line 4: Dummy argument SUB has the same name as the
subprogram
       detected at (@SUB
[NAG Fortran Compiler pass 1 error termination, 1 error]
[vitti f95]$ifort -S -w gfbug78.f
gfbug78.f(4): error #6406: Conflicting attributes or multiple declaration of
name.   [SUB]
      entry e(sub)
--------------^
compilation aborted for gfbug78.f (code 1)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-27  9:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-27 14:19 [Bug fortran/50538] New: formal argument cannot be same as procedure name (r178939) zeccav at gmail dot com
2013-06-22 15:15 ` [Bug fortran/50538] " dominiq at lps dot ens.fr
2021-02-27  9:00 ` [Bug fortran/50538] formal argument cannot be same as procedure name in ENTRY zeccav at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).