This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, Fortran] ASSOCIATE to array-expressions
- From: Tobias Burnus <burnus at net-b dot de>
- To: Daniel Kraft <d at domob dot eu>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 14 Aug 2010 23:44:24 +0200
- Subject: Re: [Patch, Fortran] ASSOCIATE to array-expressions
- References: <4C59BF66.6070200@domob.eu>
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