This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran] ASSOCIATE to array-expressions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]