[Bug fortran/77584] Unclassifiable statement error with procedure pointer using template named "structure_"

fritzoreese at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Sep 14 14:05:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77584

--- Comment #1 from Fritz Reese <fritzoreese at gmail dot com> ---
Created attachment 39618
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39618&action=edit
Patch for PR 77584

The attached patch fixes the issue.

    2016-09-14  Fritz Reese  <fritzoreese@gmail.com>

        PR fortran/77584

        * gcc/fortran/decl.c (match_record_decl, gfc_match_decl_type_spec):
        Fixes to handling of structure/record from declaration-type-spec.
        * gcc/testsuite/gfortran.dg/dec_structure_15.f90: New testcase.


More information about the Gcc-bugs mailing list