public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/50551] New: Argumentless NULL() cannot be used with assumed-length dummy  (r178939)
@ 2011-09-28  9:13 zeccav at gmail dot com
  2013-06-22 15:22 ` [Bug fortran/50551] " dominiq at lps dot ens.fr
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: zeccav at gmail dot com @ 2011-09-28  9:13 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50551
           Summary: Argumentless NULL() cannot be used with assumed-length
                    dummy  (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


! Argumentless NULL() cannot be used with assumed-length dummy  (r178939)
! Fortran 95 corrigendum 2 page 91 line 41
      interface
       subroutine sub(x)
        pointer x
        character(*) x
       end subroutine
      end interface
      call sub(null())  ! null() cannot be used with assumed length dummy
argument
      end


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

* [Bug fortran/50551] Argumentless NULL() cannot be used with assumed-length dummy  (r178939)
  2011-09-28  9:13 [Bug fortran/50551] New: Argumentless NULL() cannot be used with assumed-length dummy (r178939) zeccav at gmail dot com
@ 2013-06-22 15:22 ` dominiq at lps dot ens.fr
  2020-05-11  5:03 ` zeccav at gmail dot com
  2021-02-27 10:06 ` zeccav at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2013-06-22 15:22 UTC (permalink / raw)
  To: gcc-bugs

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

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] 4+ messages in thread

* [Bug fortran/50551] Argumentless NULL() cannot be used with assumed-length dummy  (r178939)
  2011-09-28  9:13 [Bug fortran/50551] New: Argumentless NULL() cannot be used with assumed-length dummy (r178939) zeccav at gmail dot com
  2013-06-22 15:22 ` [Bug fortran/50551] " dominiq at lps dot ens.fr
@ 2020-05-11  5:03 ` zeccav at gmail dot com
  2021-02-27 10:06 ` zeccav at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: zeccav at gmail dot com @ 2020-05-11  5:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Vittorio Zecca <zeccav at gmail dot com> ---
Still present at 10.1.1-1

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

* [Bug fortran/50551] Argumentless NULL() cannot be used with assumed-length dummy  (r178939)
  2011-09-28  9:13 [Bug fortran/50551] New: Argumentless NULL() cannot be used with assumed-length dummy (r178939) zeccav at gmail dot com
  2013-06-22 15:22 ` [Bug fortran/50551] " dominiq at lps dot ens.fr
  2020-05-11  5:03 ` zeccav at gmail dot com
@ 2021-02-27 10:06 ` zeccav at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: zeccav at gmail dot com @ 2021-02-27 10:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Vittorio Zecca <zeccav at gmail dot com> ---
Still in trunk.
The NAG nagfor and Intel ifort compilers detect the issue.

gfortran -S gfbug89.f

[vitti f95]$nagfor -S -w gfbug89.f
NAG Fortran Compiler Release 7.0(Yurakucho) Build 7042
Error: gfbug89.f, line 10: Argumentless NULL() cannot be used with
assumed-length dummy
[NAG Fortran Compiler error termination, 1 error]

[vitti f95]$ifort -S -w gfbug89.f
gfbug89.f(10): error #8613: Intrinsic NULL() must have the MOLD argument if it
is an actual argument corresponding to a dummy argument with assumed type
parameters.
      call sub(null())  ! null() cannot be used with assumed length dummy
argument
---------------^
compilation aborted for gfbug89.f (code 1)

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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-28  9:13 [Bug fortran/50551] New: Argumentless NULL() cannot be used with assumed-length dummy (r178939) zeccav at gmail dot com
2013-06-22 15:22 ` [Bug fortran/50551] " dominiq at lps dot ens.fr
2020-05-11  5:03 ` zeccav at gmail dot com
2021-02-27 10:06 ` 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).