re PR fortran/47750 (testsuite/gfortran.dg: dg-warning and dg-error should be disting...
authorTobias Burnus <burnus@gcc.gnu.org>
Fri, 18 Feb 2011 16:04:10 +0000 (17:04 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Fri, 18 Feb 2011 16:04:10 +0000 (17:04 +0100)
commite23541755f8ded87da6b3056562ba9736d0126ee
tree1641647b08a6c6cc2238fd27a587000b13dba8e6
parent12d80acc4898f08ea2abbfd8c2be41a52c8d98bc
re PR fortran/47750 (testsuite/gfortran.dg: dg-warning and dg-error should be distinguished)

2011-02-15  Tobias Burnus  <burnus@net-b.de>

        PR fortran/47750
        * lib/gfortran.exp (gfortran_init): Set gcc_error_prefix and
        gcc_warning_prefix.
        * lib/gfortran-dg.exp (gfortran-dg-test): Update regexp for
        normalizing the error/warning output.
        * gfortran.dg/Wall.f90: Update dg-error/warning.
        * gfortran.dg/argument_checking_15.f90: Update dg-error/warning.
        * gfortran.dg/argument_checking_3.f90: Update dg-error/warning.
        * gfortran.dg/argument_checking_6.f90: Update dg-error/warning.
        * gfortran.dg/bounds_temporaries_1.f90: Update dg-error/warning.
        * gfortran.dg/class_30.f90: Update dg-error/warning.
        * gfortran.dg/continuation_1.f90: Update dg-error/warning.
        * gfortran.dg/continuation_9.f90: Update dg-error/warning.
        * gfortran.dg/do_check_5.f90: Update dg-error/warning.
        * gfortran.dg/entry_17.f90: Update dg-error/warning.
        * gfortran.dg/entry_19.f90: Update dg-error/warning.
        * gfortran.dg/fmt_error.f90: Update dg-error/warning.
        * gfortran.dg/fmt_read_2.f90: Update dg-error/warning.
        * gfortran.dg/g77/12632.f: Update dg-error/warning.
        * gfortran.dg/g77/970625-2.f: Update dg-error/warning.
        * gfortran.dg/g77/980615-0.f: Update dg-error/warning.
        * gfortran.dg/generic_actual_arg.f90: Update dg-error/warning.
        * gfortran.dg/global_references_1.f90: Update dg-error/warning.
        * gfortran.dg/goto_8.f90: Update dg-error/warning.
        * gfortran.dg/initialization_1.f90: Update dg-error/warning.
        * gfortran.dg/io_constraints_1.f90: Update dg-error/warning.
        * gfortran.dg/io_constraints_2.f90: Update dg-error/warning.
        * gfortran.dg/io_constraints_3.f90: Update dg-error/warning.
        * gfortran.dg/iostat_3.f90: Update dg-error/warning.
        * gfortran.dg/public_private_module.f90: Update
        * dg-error/warning.
        * gfortran.dg/volatile3.f90: Update dg-error/warning.
        * gfortran.dg/warning-directive-2.F90: Update dg-error/warning.
        * gfortran.dg/warnings_are_errors_1.f: Update dg-error/warning.
        * gfortran.dg/whole_file_1.f90: Update dg-error/warning.
        * gfortran.dg/whole_file_2.f90: Update dg-error/warning.
        * gfortran.dg/whole_file_3.f90: Update dg-error/warning.

From-SVN: r170273
34 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/Wall.f90
gcc/testsuite/gfortran.dg/argument_checking_15.f90
gcc/testsuite/gfortran.dg/argument_checking_3.f90
gcc/testsuite/gfortran.dg/argument_checking_6.f90
gcc/testsuite/gfortran.dg/bounds_temporaries_1.f90
gcc/testsuite/gfortran.dg/class_30.f90
gcc/testsuite/gfortran.dg/continuation_1.f90
gcc/testsuite/gfortran.dg/continuation_9.f90
gcc/testsuite/gfortran.dg/do_check_5.f90
gcc/testsuite/gfortran.dg/entry_17.f90
gcc/testsuite/gfortran.dg/entry_19.f90
gcc/testsuite/gfortran.dg/fmt_error.f90
gcc/testsuite/gfortran.dg/fmt_read_2.f90
gcc/testsuite/gfortran.dg/g77/12632.f
gcc/testsuite/gfortran.dg/g77/970625-2.f
gcc/testsuite/gfortran.dg/g77/980615-0.f
gcc/testsuite/gfortran.dg/generic_actual_arg.f90
gcc/testsuite/gfortran.dg/global_references_1.f90
gcc/testsuite/gfortran.dg/goto_8.f90
gcc/testsuite/gfortran.dg/initialization_1.f90
gcc/testsuite/gfortran.dg/io_constraints_1.f90
gcc/testsuite/gfortran.dg/io_constraints_2.f90
gcc/testsuite/gfortran.dg/io_constraints_3.f90
gcc/testsuite/gfortran.dg/iostat_3.f90
gcc/testsuite/gfortran.dg/public_private_module.f90
gcc/testsuite/gfortran.dg/volatile3.f90
gcc/testsuite/gfortran.dg/warning-directive-2.F90
gcc/testsuite/gfortran.dg/warnings_are_errors_1.f
gcc/testsuite/gfortran.dg/whole_file_1.f90
gcc/testsuite/gfortran.dg/whole_file_2.f90
gcc/testsuite/gfortran.dg/whole_file_3.f90
gcc/testsuite/lib/gfortran-dg.exp
gcc/testsuite/lib/gfortran.exp