https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77693
anlauf at gcc dot gnu.org changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Target
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77693
--- Comment #8 from CVS Commits ---
The master branch has been updated by Harald Anlauf :
https://gcc.gnu.org/g:e49508ac6b36adb8a2056c5a1fb6e0178de2439d
commit r12-7305-ge49508ac6b36adb8a2056c5a1fb6e0178de2439d
Author: Harald Anlauf
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77693
anlauf at gcc dot gnu.org changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77693
--- Comment #6 from anlauf at gcc dot gnu.org ---
I believe this is actually invalid code. One cannot initialize the pointer
using the data statement as in the given example.
A valid variant (which is accepted and works as expected) is:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77693
Andrew Pinski changed:
What|Removed |Added
Status|WAITING |NEW
Last reconfirmed|2016-09-22
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77693
Dominique d'Humieres changed:
What|Removed |Added
Status|NEW |WAITING
--- Comment #4 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77693
Richard Biener changed:
What|Removed |Added
Keywords||wrong-code
--- Comment #3 from Richard
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77693
Martin Liška changed:
What|Removed |Added
Keywords||ice-on-valid-code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77693
--- Comment #1 from Gerhard Steinmetz
---
Some other variants :
$ cat z2.f90
program p
complex, pointer :: a
complex :: z
data a /(1.,2.)/
z = a
print *, z
end
$ cat z3.f90
program p