This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/66257] New: Regression: ELEMENTAL procedure pointer component XX is not allowed as an actual argument
- From: "gccbugreport.hgitnskl at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 22 May 2015 15:08:39 +0000
- Subject: [Bug fortran/66257] New: Regression: ELEMENTAL procedure pointer component XX is not allowed as an actual argument
- Auto-submitted: auto-generated
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.