This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32928] DATA statement with array element as initializer is rejected
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Oct 2007 04:51:11 -0000
- Subject: [Bug fortran/32928] DATA statement with array element as initializer is rejected
- References: <bug-32928-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from jvdelisle at gcc dot gnu dot org 2007-10-03 04:51 -------
I think the problem here is that in match_data_constant we never even attempt
to match the array specification. Using gfc_match_array_spec or
gfc_match_array_ref I can successfully match and get the information. Now I
just need to figure out what to do with it. :)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32928