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

            Bug ID: 100192
           Summary: Typos in testsuite files, dg-options etc.
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gs...@t-online.de
  Target Milestone: ---

More findings :


Wrong letter "a" (third) : s/paramater/parameter/

./gcc/testsuite/gcc.dg/Warray-bounds-64.c:10:   { dg-options "-O2 -Wall
-Warray-parameter -Wno-vla-paramater" } */
./gcc/testsuite/gcc.dg/Warray-parameter.c:8:   { dg-options "-Wall
-Warray-parameter -Wno-vla-paramater" } */

./gcc/builtins.c:9989:       back to a BUILT_IN_STRCMP. Remember to delete the
3rd paramater
./gcc/d/dmd/expressionsem.c:4932:                    // lazy paramaters can be
called without violating purity and safety
./gcc/dwarf2out.c:23541:  /* Generate child dies for template paramaters.  */
./gcc/dwarf2out.c:25470:  /* Generate child dies for template paramaters.  */



Missing letter "u" : s/unqoted/unquoted/

./gcc/testsuite/gcc.dg/format/gcc_diag-11.c:378:  cdiag ("unqoted x_y ident"); 
/* { dg-warning "unquoted identifier or keyword 'x_y'" } */



Trivial : s/intrnisic/intrinsic/

 ./gcc/testsuite/gfortran.dg/matmul_bounds_9.f90:3:! { dg-shouldfail "Fortran
runtime error: Incorrect extent in argument B in MATMUL intrnisic for dimension
2: is 1, should be 2" }



No comment before dg-error (should start here with "!") :

./gcc/testsuite/gfortran.dg/array_constructor_3.f90:4:    print *, (//)  {
dg-error "Empty array constructor" }
---
./gcc/testsuite/gfortran.dg/array_constructor_3.f90:4:    print *, (//) ! {
dg-error "Empty array constructor" }

Reply via email to