[PATCH] PR fortran/68283 -- remove a rogue gfc_internal_error()
Steve Kargl
sgk@troutmask.apl.washington.edu
Sat Nov 14 17:22:00 GMT 2015
On Sat, Nov 14, 2015 at 02:51:08PM +0100, Dominique d'Humi??res wrote:
> Hi Steve,
>
> Although I have not strong objection to your proposed patch,
> I???ld prefer the following one
The patch is fine. Need a ChangeLog entry.
(patch elided)
>
> Now both patches are just papering over the real issues:
>
> (1) Why is this block reached when compiling with -ffrontend-optimize,
> but not with -fno-frontend-optimize (Thomas)?
I saw Thomas's reply. Of course, -ffrontend-optimize takes a
different code path through the compiler and rewrites some of
the internal state along the way. If the source code is fixed,
the ICE goes away. Why waste time worrying about the cause of
an ICE that clearly should be suppressed in the presences of a
sequence of emitted errors?
> (2) Is there expected side effect(s) when removing the' for???
> block introduced at revision r221955 for pr56852 (Paul)?
I doubt that there are anything side effects.
--
Steve
More information about the Fortran
mailing list