[Patch, Fortran] PR fortran/45783 and PR fortran/45795: Fix ICE in gfc_add_component_ref

Jerry DeLisle jvdelisle@frontier.com
Mon Sep 27 09:55:00 GMT 2010


On 09/26/2010 11:42 AM, Daniel Kraft wrote:
> Hi,
>
> this trivial patch fixes the two PRs about ICE in gfc_add_component_ref. I only
> added the test-case from PR 45795, but I think this is enough and ok. The
> problem was that my definability patch changed the order of resolution for
> SELECT TYPE vs. its contained code, and this uncovered a bug introduced when I
> changed SELECT TYPE to use ASSOCIATE logic internally. Namely, that the
> associate-name gets its target's typespec -- this is wrong for SELECT TYPE
> obviously.
>
> I will regtest now on x86_64-unknown-linux-gnu. Ok for trunk if no failures?

Ok if regression tests pass.

Jerry



More information about the Gcc-patches mailing list