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]

[Patch, Fortran, F03] PR 84385: Reject invalid SELECT TYPE selector (allocate_with_source_22.f03)


Hi all,

here is another small patch that fixes two invalid test cases in the
test suite and also fixes the check that was supposed to reject these
cases (but failed).

Regtests cleanly on x86_64-linux-gnu. Ok for trunk?

Cheers,
Janus


2018-02-14  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/84385
    * match.c (gfc_match_select_type): Fix check for selector in
    SELECT TYPE statement.


2018-02-14  Janus Weil  <janus@gcc.gnu.org>

    PR fortran/84385
    * gfortran.dg/allocate_with_source_22.f03: Fix invalid test case.
    * gfortran.dg/allocate_with_source_23.f90: Ditto.

Attachment: pr84385.diff
Description: Text document


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