[Patch, Fortran, Regression] PR 60231: ICE on undefined generic

Tobias Burnus burnus@net-b.de
Mon Feb 17 20:37:00 GMT 2014


Janus Weil wrote:
> attached is a patch for an ICE-on-invalid problem with generics: We
> simply don't check if any dummy args are present.

There is something odd with your test case - and possibly with the 
patch. You state that this is an ICE-on-invalid problem; however, I do 
not see a dg-error in your test case.

Tobias

> Regtested on x86_64-unknown-linux-gnu. Ok for trunk and 4.8?
>
> Cheers,
> Janus
>
>
> 2014-02-17  Janus Weil  <janus@gcc.gnu.org>
>
>      PR fortran/60231
>      * resolve.c (check_generic_tbp_ambiguity): Check for presence of dummy
>      arguments to prevent ICE.
>
>
> 2014-02-17  Janus Weil  <janus@gcc.gnu.org>
>
>      PR fortran/60231
>      * gfortran.dg/typebound_generic_15.f90: New.



More information about the Fortran mailing list