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

            Bug ID: 77507
           Summary: gfortran rejects keyworded calls to procedures from
                    intrinsic modules
           Product: gcc
           Version: 6.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mathewc at nag dot co.uk
  Target Milestone: ---

$ uname -a && gfortran --version && cat foo.f90 && gfortran foo.f90
Linux cuivienen.nag.co.uk 4.7.2-201.fc24.x86_64 #1 SMP Fri Aug 26 15:58:40 UTC
2016 x86_64 x86_64 x86_64 GNU/Linux
GNU Fortran (GCC) 6.1.1 20160621 (Red Hat 6.1.1-3)
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Program p
  Use ieee_arithmetic
  Use iso_c_binding
  Print *, ieee_value(x=1.0, class=ieee_negative_inf)
  Print *, c_associated(c_ptr_1=c_null_ptr)
End Program
foo.f90:4:10:

   Print *, ieee_value(x=1.0, class=ieee_negative_inf)
          1
Error: There is no specific function for the generic ‘ieee_value’ at (1)
foo.f90:5:10:

   Print *, c_associated(c_ptr_1=c_null_ptr)
          1
Error: Can't find keyword named ‘c_ptr_1’ in call to ‘c_associated’ at (1)

Reply via email to