Example: ...testsuite/gfortran.dg> gfortran -c -pedantic-errors c_by_val_4.f ; echo $?
c_by_val_4.f:14.22: CALL DOIT( %VAL( P ) ) ! { dg-warning "Extension: argument list fu 1 Warnung: Extension: argument list function at (1) c_by_val_4.f:16.22: CALL DOIT( %VAL( P ) ) ! { dg-warning "Extension: argument list fu 1 Warnung: Extension: argument list function at (1) 0 Expected: - Non-zero exit code - "Error:" instead of "Warning:" Have fun when fixing this as several "dg-do run" tests have -pedantic warnings, -no-pedantic does not exist, and dg.exp contains: set DEFAULT_FFLAGS " -pedantic-errors" -- Summary: -pedantic-error produced only warnings and no errors Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30929