This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]