[Bug fortran/16206] rejects valid array initialization expression
paul dot richard dot thomas at cea dot fr
gcc-bugzilla@gcc.gnu.org
Fri Jun 9 15:36:00 GMT 2006
------- 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
More information about the Gcc-bugs
mailing list