https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82865
Rainer Orth <ro at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |ro at gcc dot gnu.org Resolution|FIXED |--- --- Comment #13 from Rainer Orth <ro at gcc dot gnu.org> --- (In reply to Fritz Reese from comment #12) > Author: foreese > Date: Fri Jun 29 20:29:34 2018 > New Revision: 262260 > > URL: https://gcc.gnu.org/viewcvs?rev=262260&root=gcc&view=rev > Log: > Revert r262224 (backport of r262221) as PDTs are not supported in 7-branch. > > gcc/fortran/ChangeLog: > -2018-06-28 Fritz Reese <fritzore...@gmail.com> > - > - PR fortran/82865 > - Backport from trunk. > - * decl.c (gfc_match_type): Refactor and check for PDT declarations. > - > > gcc/testsuite/ChangeLog: > -2018-06-28 Fritz Reese <fritzore...@gmail.com> > - > - PR fortran/82865 > - Backport from trunk. > - * gfortran.dg/dec_type_print_2.f03: New testcase. > - > > Removed: > branches/gcc-7-branch/gcc/testsuite/gfortran.dg/dec_type_print_2.f03 > Modified: > branches/gcc-7-branch/ (props changed) > branches/gcc-7-branch/gcc/ada/s-interr-hwint.adb (props changed) > branches/gcc-7-branch/gcc/fortran/ChangeLog > branches/gcc-7-branch/gcc/fortran/decl.c > branches/gcc-7-branch/gcc/testsuite/ChangeLog > branches/gcc-7-branch/gcc/testsuite/gnat.dg/opt65.adb (props changed) > > Propchange: branches/gcc-7-branch/ > ('svn:mergeinfo' modified) > > Propchange: branches/gcc-7-branch/gcc/ada/s-interr-hwint.adb > ('svn:mergeinfo' modified) > > Propchange: branches/gcc-7-branch/gcc/testsuite/gnat.dg/opt65.adb > ('svn:mergeinfo' modified) It seems the backport caused a caused quite a number on testsuite failures on the gcc-7 branch: +FAIL: gfortran.dg/dec_type_print_2.f03 -O0 (test for excess errors) +UNRESOLVED: gfortran.dg/dec_type_print_2.f03 -O0 compilation failed to produce executable +FAIL: gfortran.dg/dec_type_print_2.f03 -O1 (test for excess errors) +UNRESOLVED: gfortran.dg/dec_type_print_2.f03 -O1 compilation failed to produce executable +FAIL: gfortran.dg/dec_type_print_2.f03 -O2 (test for excess errors) +UNRESOLVED: gfortran.dg/dec_type_print_2.f03 -O2 compilation failed to produce executable +FAIL: gfortran.dg/dec_type_print_2.f03 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (test for excess errors) +UNRESOLVED: gfortran.dg/dec_type_print_2.f03 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions compilation failed to produce executable +FAIL: gfortran.dg/dec_type_print_2.f03 -O3 -g (test for excess errors) +UNRESOLVED: gfortran.dg/dec_type_print_2.f03 -O3 -g compilation failed to produce executable +FAIL: gfortran.dg/dec_type_print_2.f03 -Os (test for excess errors) +UNRESOLVED: gfortran.dg/dec_type_print_2.f03 -Os compilation failed to produce executable Excess errors: /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:12:2: Error: Unclassifiable statement at (1) /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:13:12: Error: Invalid character in name at (1) /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:14:12: Error: Invalid character in name at (1) /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:15:16: Error: Symbol 'i' at (1) already has basic type of INTEGER /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:16:17: Error: Symbol 'a' at (1) has no IMPLICIT type /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:18:5: Error: Expecting END PROGRAM statement at (1) /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:20:13: Error: Derived type 'mytype' at (1) is being used before it is defined /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:21:13: Error: Derived type 'mytype' at (1) is being used before it is defined /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:23:2: Error: Unclassifiable statement at (1) /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:24:2: Error: Unclassifiable statement at (1) /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:25:2: Error: Unclassifiable statement at (1) /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:26:2: Error: Unclassifiable statement at (1) /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:27:2: Error: Unclassifiable statement at (1) /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:28:2: Error: Unclassifiable statement at (1) /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:30:5: Error: Symbol 'z2' at (1) has no IMPLICIT type /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:31:5: Error: Symbol 'z2' at (1) has no IMPLICIT type /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:38:15: Error: Derived type 'mytype' at (1) is being used before it is defined /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:39:12: Error: Symbol 'arg' at (1) has no IMPLICIT type /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:40:20: Error: Symbol 'arg' at (1) has no IMPLICIT type /vol/gcc/src/hg/gcc-7-branch/local/gcc/testsuite/gfortran.dg/dec_type_print_2.f03:41:24: Error: Symbol 'arg' at (1) has no IMPLICIT type Im seeing this on Solaris/SPARC and x86, both 32 and 64-bit, and there are also gcc-testresults reports on i586-unknown-freebsd10.4, powerpc64-unknown-linux-gnu, powerpc64le-unknown-linux-gnu Besides, all those svn property changes are at least unrelated. Rainer