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.

Attachment: pr55983.diff
Description: Binary data

Attachment: class_55.f90
Description: Binary data

Reply via email to