On Sat, Sep 28, 2019 at 10:16 PM Steve Kargl <s...@troutmask.apl.washington.edu> wrote: > > The attached patch issues errors for a few mangled type-specs. > It has been regression tested on x86_64-*-freebsd. OK to commit? > > 2019-09-28 Steven G. Kargl <ka...@gcc.gnu.org> > > PR fortran/91714 > * decl.c (gfc_match_decl_type_spec): Issue errors for a few > mangled types. > > 2019-09-28 Steven G. Kargl <ka...@gcc.gnu.org> > > PR fortran/91714 > * gfortran.dg/dec_type_print_3.f90: Update dg-error regex. > * gfortran.dg/pr91714.f90: New test. > > A daunting task awaits a brave soul as gfc_match_decl_type_spec > is a minefield for bugs. This is dues to the fact the the functions > has grown by adding kludge upon kludge upon kludge. The first > thing to fix is the broken parsing that follows from the > matching of 'type('. > > -- > Steve
Ok. -- Janne Blomqvist