[Bug fortran/83939] Constraint C1290 (elemental function cannot be allocatable) not enforced

2018-03-12 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83939

kargl at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |6.5

--- Comment #6 from kargl at gcc dot gnu.org ---
fixed on the 6-branch, 7-branch, and trunk.
Thanks for the bug report.

[Bug fortran/83939] Constraint C1290 (elemental function cannot be allocatable) not enforced

2018-03-12 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83939

--- Comment #5 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Mon Mar 12 18:26:28 2018
New Revision: 258457

URL: https://gcc.gnu.org/viewcvs?rev=258457=gcc=rev
Log:
2018-03-12  Steven G. Kargl  

PR fortran/83939
* resolve.c (resolve_fl_procedure): Enforce F2018:C15100.

2018-03-12  Steven G. Kargl  

PR fortran/83939
* gfortran.dg/pr83939.f90

Added:
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/pr83939.f90
Modified:
branches/gcc-6-branch/gcc/fortran/ChangeLog
branches/gcc-6-branch/gcc/fortran/resolve.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog

[Bug fortran/83939] Constraint C1290 (elemental function cannot be allocatable) not enforced

2018-03-12 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83939

--- Comment #4 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Mon Mar 12 18:15:42 2018
New Revision: 258456

URL: https://gcc.gnu.org/viewcvs?rev=258456=gcc=rev
Log:
2018-03-12  Steven G. Kargl  

PR fortran/83939
* resolve.c (resolve_fl_procedure): Enforce F2018:C15100.

2018-03-12  Steven G. Kargl  

PR fortran/83939
* gfortran.dg/pr83939.f90

Added:
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr83939.f90
Modified:
branches/gcc-7-branch/gcc/fortran/ChangeLog
branches/gcc-7-branch/gcc/fortran/resolve.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog

[Bug fortran/83939] Constraint C1290 (elemental function cannot be allocatable) not enforced

2018-03-11 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83939

--- Comment #3 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Sun Mar 11 21:39:15 2018
New Revision: 258437

URL: https://gcc.gnu.org/viewcvs?rev=258437=gcc=rev
Log:
2018-03-11  Steven G. Kargl  

PR fortran/83939
* resolve.c (resolve_fl_procedure): Enforce F2018:C15100.

2018-03-11  Steven G. Kargl  

PR fortran/83939
* gfortran.dg/pr83939.f90

Added:
trunk/gcc/testsuite/gfortran.dg/pr83939.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog

[Bug fortran/83939] Constraint C1290 (elemental function cannot be allocatable) not enforced

2018-03-11 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83939

kargl at gcc dot gnu.org changed:

   What|Removed |Added

 CC||kargl at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |kargl at gcc dot gnu.org

--- Comment #2 from kargl at gcc dot gnu.org ---
I have a patch.

[Bug fortran/83939] Constraint C1290 (elemental function cannot be allocatable) not enforced

2018-01-24 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83939

Dominique d'Humieres  changed:

   What|Removed |Added

   Priority|P3  |P4
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-01-24
 Ever confirmed|0   |1

--- Comment #1 from Dominique d'Humieres  ---
Confirmed.