[Patch, Fortran] ASSOCIATE to array-expressions
Tobias Burnus
burnus@net-b.de
Sat Aug 14 21:44:00 GMT 2010
Daniel Kraft wrote:
> But for now I think that this patch is worthwhile introducing, even if
> we still have to find a "final" solution to some issues in the future.
I concur.
> Regtesting on GNU/Linux-x86-32 at the moment. Ok if successful?
OK - though, I have some questions and nits:
a) Shouldn't the following be the following a once ("1") instead of a
twice ("2")?
+! { dg-final { scan-tree-dump-times "func" 2 "original" { xfail *-*-* } } }
b) I miss a run-time test.
c) I get an ICE for:
integer :: a
associate (b => a)
end associate
end
Error: Association to variables is not yet supported at (1)
f951: internal compiler error: in gfc_enforce_clean_symbol_state, at
fortran/symbol.c:3451
How about using gfc_fatal_error instead of gfc_error - or something else
which avoids the ICE?
Tobias
More information about the Fortran
mailing list