This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran] Support for [...] style array constructors
Erik Edelmann wrote:
> After looking at a bunch of other test cases, and some trial and
> error, I've come up with the test cases below.
> br_array_constr_1.f90 adds 32 new "# of expected passes", and
> br_array_constr_2.f90 adds 3. If someone with better knowledge
> than me on how this testsuite system is expected to work would
> take the time and look at my test cases and either confirm that
> they are OK, or tell me what's wrong with them, I would be most
> grateful.
Yes they look right. The { dg-warning } line should probably match "array
constructor" instead of "New in Fortran 2003:", because I don't like that
wording too much ("... are an extension to Fortran 95"? Hm, not too good
either), and because I think this kind message should be generated in
gfc_notify_std(), even though I don't have a patch to do this :-(
Let's hope your paperwork gets through quickly.
- Tobi