This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/16206] rejects valid array initialization expression
- From: "paul dot richard dot thomas at cea dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jun 2006 11:46:41 -0000
- Subject: [Bug fortran/16206] rejects valid array initialization expression
- References: <bug-16206-6318@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from paul dot richard dot thomas at cea dot fr 2006-06-06 11:46 -------
(In reply to comment #3)
> This bug report is approaching its second anniversary.
> Does anybody still watch it or take care?
Yes, Harald. I have been looking these last days at a number of array
initializer problems.
I have not entirely decided how to do this one yet:
(i) Blasting through and expanding the array setion is one way; or
(ii) Doing as Erik Edelmann suggested in another PR; use a normal assignment
for the initialization and a static flag to make sure that it only is done
once.
The first is consistent with the existing structure and the second can be used
to simplify a lot but will be much more work. This is why I am looking at
initializer PRs as a package.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16206