https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67885
kargl at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|--
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67885
--- Comment #8 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Oct 29 19:52:56 2015
New Revision: 229554
URL: https://gcc.gnu.org/viewcvs?rev=229554&root=gcc&view=rev
Log:
2015-10-29 Steven G. Kargl
PR fortran/67885
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67885
--- Comment #7 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Oct 29 17:06:58 2015
New Revision: 229540
URL: https://gcc.gnu.org/viewcvs?rev=229540&root=gcc&view=rev
Log:
2015-10-29 Steven G. Kargl
PR fortran/67885
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67885
--- Comment #6 from Dominique d'Humieres ---
Patch submitted at https://gcc.gnu.org/ml/fortran/2015-10/msg00153.html and
approved at https://gcc.gnu.org/ml/fortran/2015-10/msg00154.html.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67885
kargl at gcc dot gnu.org changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67885
--- Comment #4 from Gerhard Steinmetz
---
Deleting the dimension from parameter a (making it scalar)
lets examples z1.f90 and z5.f90 compile and run fine.
$ cat y1.f90
program p
block
real, parameter :: a = 1.0
real :: x(2)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67885
kargl at gcc dot gnu.org changed:
What|Removed |Added
CC||kargl at gcc dot gnu.org
--- C
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67885
Dominique d'Humieres changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67885
--- Comment #1 from Gerhard Steinmetz
---
Deleting this inner block gives another error :
$ cat z5.f90
program p
block
real, parameter :: a(2) = 1.0
real :: x(2)
x = a
print *, x
end block
end
$ gfortran -g -O0 -