Dear Janus,

As you say, this is close to being obvious - OK for trunk and for 4.7.

Thanks for the patch.

Cheers

Paul

On 16 January 2013 15:08, Janus Weil <ja...@gcc.gnu.org> wrote:
> Hi all,
>
> here is a close-to-obvious patch for an ICE-on-invalid regression. It
> removes as assert, which is reasonable for valid code but can fail
> under error conditions (as the PR shows), and replaces it with an
> equivalent IF clause.
>
> Regtested on x86_64-unknown-linux-gnu. Ok for trunk and 4.7?
>
> Cheers,
> Janus
>
>
> 2013-01-16  Janus Weil  <ja...@gcc.gnu.org>
>
>     PR fortran/55983
>     * class.c (find_typebound_proc_uop): Check for f2k_derived instead of
>     asserting it.
>
>
> 2013-01-16  Janus Weil  <ja...@gcc.gnu.org>
>
>     PR fortran/55983
>     * gfortran.dg/class_55.f90: New.



-- 
The knack of flying is learning how to throw yourself at the ground and miss.
       --Hitchhikers Guide to the Galaxy

Reply via email to