This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/66257] New: Regression: ELEMENTAL procedure pointer component XX is not allowed as an actual argument


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

            Bug ID: 66257
           Summary: Regression: ELEMENTAL procedure pointer component XX
                    is not allowed as an actual argument
           Product: gcc
           Version: 5.1.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gccbugreport.hgitnskl at gmail dot com
  Target Milestone: ---

Created attachment 35602
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35602&action=edit
Test code for the error

Hi everyone,

I think this is a regression for the fortran compiler. The given test code in
attachment was working in 4.9. The errors are:

Erreur: ELEMENTAL procedure pointer component âeâ is not allowed as an actual
argument at (1)
test.f90:54:11:

 Om = log10(self%E(z))
           1
Erreur: ELEMENTAL procedure pointer component âeâ is not allowed as an actual
argument at (1)

The argument, which is a double, is treated as the procedure.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]