[Bug fortran/64107] [F95] Pure function as array size

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

kargl at gcc dot gnu.org changed:

   What|Removed |Added

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

--- Comment #3 from kargl at gcc dot gnu.org ---
Closing as fixed on trunk.  Thanks for bug report.

[Bug fortran/64107] [F95] Pure function as array size

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

--- Comment #2 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Wed Mar  7 00:25:30 2018
New Revision: 258311

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

PR fortran/64107
* gfortran.dg/pr64107.f90: New test.

Added:
trunk/gcc/testsuite/gfortran.dg/pr64107.f90
Modified:
trunk/gcc/testsuite/ChangeLog

[Bug fortran/64107] [F95] Pure function as array size

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

kargl at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P5
 CC||kargl at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |kargl at gcc dot gnu.org

--- Comment #1 from kargl at gcc dot gnu.org ---
This appears to be fixed by my patch for PR 83633.  I will
convert the code and add it as a testcase to trunk.

% gfcx -o z a.f90
a.f90:15:22:

   integer :: x2(foo())
  1
Error: Explicit shaped array with nonconstant bounds at (1)
a.f90:24:22:

   integer :: x4(foo())
  1
Error: Explicit shaped array with nonconstant bounds at (1)

[Bug fortran/64107] [F95] Pure function as array size

2014-11-28 Thread fxcoudert at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64107

Francois-Xavier Coudert fxcoudert at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||accepts-invalid,
   ||ice-on-invalid-code
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-11-28
 Blocks||32834
 Ever confirmed|0   |1
  Known to fail||4.7.4, 4.8.2, 4.9.0, 5.0