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: 9 Jun 2006 15:19:53 -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 #5 from paul dot richard dot thomas at cea dot fr 2006-06-09 15:19 -------
Created an attachment (id=11647)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11647&action=view)
An experimental fix for the PR
This was to have been the second of the two approaches, described above. It
works, in that it fixes the bug but its limitations become obvious, very
quickly; try some arithmetic with an arrya_section, for example.
However, all is not lost! You will note the heavy use of gmp to do the
arithmetic - that was in preparation for a tactical retreat to approach (i). I
have done all the tests to understand what happens in expr.c and am confident
that I will have a proper fix in about 1 week.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16206