gcc/testsuite/ChangeLog: * g++.dg/modules/reparent-1_c.C: Fix whitespace around '-' in dg directive. * gfortran.dg/initialization_25.f90: Ditto. --- Committed as obvious.
gcc/testsuite/g++.dg/modules/reparent-1_c.C | 2 +- gcc/testsuite/gfortran.dg/initialization_25.f90 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/g++.dg/modules/reparent-1_c.C b/gcc/testsuite/g++.dg/modules/reparent-1_c.C index e4e984c87a9d..d3f7f51e335b 100644 --- a/gcc/testsuite/g++.dg/modules/reparent-1_c.C +++ b/gcc/testsuite/g++.dg/modules/reparent-1_c.C @@ -6,4 +6,4 @@ int main () v (0); // { dg-error "too many arguments" } } -// { dg -regexp {In module foo, imported at [^\n]*/reparent-1_b.C:14,\nof module bar, imported at [^\n]*/reparent-1_c.C:2:\n[^\n]*/reparent-1_a.C:6:13: note: declared here\n} } +// { dg-regexp {In module foo, imported at [^\n]*/reparent-1_b.C:14,\nof module bar, imported at [^\n]*/reparent-1_c.C:2:\n[^\n]*/reparent-1_a.C:6:13: note: declared here\n} } diff --git a/gcc/testsuite/gfortran.dg/initialization_25.f90 b/gcc/testsuite/gfortran.dg/initialization_25.f90 index 66c447e2f1cb..c8edb163be04 100644 --- a/gcc/testsuite/gfortran.dg/initialization_25.f90 +++ b/gcc/testsuite/gfortran.dg/initialization_25.f90 @@ -1,12 +1,12 @@ ! { dg-do compile } ! ! PR fortran/35779 - unrelated error message -! Tescase contributed by +! Testcase contributed by ! Dick Hendrickson <dick DOT hendrickson AT gmail DOT com> ! ! Initial patch was reverted as it broke nested loops (see initialization_26.f90). ! ! INTEGER :: J1 -! INTEGER,PARAMETER :: I2(10) = (/(J1,J1=its_bad,1,-1)/) ! { dg - error "does not reduce" } +! INTEGER,PARAMETER :: I2(10) = (/(J1,J1=its_bad,1,-1)/) ! { dg-error "does not reduce" } END -- 2.46.2