https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86543
Bug ID: 86543 Summary: [9 Regression] FAIL: gfortran.dg/dec_structure_23.f90 -O (test for errors, line 16) Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: janus at gcc dot gnu.org Target Milestone: --- I'm seeing the following failures on trunk: FAIL: gfortran.dg/dec_structure_23.f90 -O (test for errors, line 16) FAIL: gfortran.dg/dec_structure_23.f90 -O (test for errors, line 17) FAIL: gfortran.dg/dec_structure_23.f90 -O (test for errors, line 18) FAIL: gfortran.dg/dec_structure_23.f90 -O (test for excess errors) Present with r262764, but not with r262683. The log shows: Executing on host: /home/janus/gcc/build/gcc/testsuite/gfortran1/../../gfortran -B/home/janus/gcc/build/gcc/testsuite/gfortran1/../../ -B/home/janus/gcc/build/x86_64-linux-gnu/./libgfortran/ /home/janus/gcc/trunk/gcc/testsuite/gfortran.dg/dec_structure_23.f90 -fno-diagnostics-show-caret -fdiagnostics-color=never -O -fdec-structure -S -o dec_structure_23.s (timeout = 300) spawn -ignore SIGHUP /home/janus/gcc/build/gcc/testsuite/gfortran1/../../gfortran -B/home/janus/gcc/build/gcc/testsuite/gfortran1/../../ -B/home/janus/gcc/build/x86_64-linux-gnu/./libgfortran/ /home/janus/gcc/trunk/gcc/testsuite/gfortran.dg/dec_structure_23.f90 -fno-diagnostics-show-caret -fdiagnostics-color=never -O -fdec-structure -S -o dec_structure_23.s /home/janus/gcc/trunk/gcc/testsuite/gfortran.dg/dec_structure_23.f90:16:16: Error: Explicit shaped array with nonconstant bounds at (1) /home/janus/gcc/trunk/gcc/testsuite/gfortran.dg/dec_structure_23.f90:17:18: Error: Explicit shaped array with nonconstant bounds at (1) /home/janus/gcc/trunk/gcc/testsuite/gfortran.dg/dec_structure_23.f90:18:19: Error: Explicit shaped array with nonconstant bounds at (1) compiler exited with status 1 output is: /home/janus/gcc/trunk/gcc/testsuite/gfortran.dg/dec_structure_23.f90:16:16: Error: Explicit shaped array with nonconstant bounds at (1) /home/janus/gcc/trunk/gcc/testsuite/gfortran.dg/dec_structure_23.f90:17:18: Error: Explicit shaped array with nonconstant bounds at (1) /home/janus/gcc/trunk/gcc/testsuite/gfortran.dg/dec_structure_23.f90:18:19: Error: Explicit shaped array with nonconstant bounds at (1) FAIL: gfortran.dg/dec_structure_23.f90 -O (test for errors, line 16) FAIL: gfortran.dg/dec_structure_23.f90 -O (test for errors, line 17) FAIL: gfortran.dg/dec_structure_23.f90 -O (test for errors, line 18) FAIL: gfortran.dg/dec_structure_23.f90 -O (test for excess errors) Excess errors: /home/janus/gcc/trunk/gcc/testsuite/gfortran.dg/dec_structure_23.f90:16:16: Error: Explicit shaped array with nonconstant bounds at (1) /home/janus/gcc/trunk/gcc/testsuite/gfortran.dg/dec_structure_23.f90:17:18: Error: Explicit shaped array with nonconstant bounds at (1) /home/janus/gcc/trunk/gcc/testsuite/gfortran.dg/dec_structure_23.f90:18:19: Error: Explicit shaped array with nonconstant bounds at (1) Lines 16 to 18 are: integer x(n) /1/ ! { dg-error "must have an explicit shape" } integer xx(nn) /1/ ! { dg-error "must have an explicit shape" } integer xxx(rr) /1.0/ ! { dg-error "must have an explicit shape" } Sounds like the error message changed?