summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/lib/gfortran-dg.exp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright years in gcc/rsandifo2014-01-021-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206289 138bc75d-0d04-0410-961f-82ee72b054a4
* Update copyright years in gcc/rsandifo2013-01-101-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195098 138bc75d-0d04-0410-961f-82ee72b054a4
* gfortran testsuite: implicitly cleanup-modulesaldot2012-03-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc/ChangeLog: 2012-03-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> * doc/sourcebuild.texi (cleanup-modules, keep-modules): Update documentation. gcc/testsuite/ChangeLog: 2012-03-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> * gfortran.fortran-torture/compile/compile.exp: Simplify. * gfortran.fortran-torture/execute/execute.exp: Likewise. * lib/gcc-dg.exp (cleanup-modules): Move to .. * lib/fortran-modules.exp: .. this new file. Adjust users. * lib/gfortran-dg.exp (gfortran-dg-runtest, gfortran-dg-debug-runtest): Call cleanup-modules. * lib/fortran-torture.exp (fortran-torture-execute, fortran-torture): Likewise. * gfortran.dg/coarray/caf.exp: Likewise. * lib/lto.exp: Likewise. * gfortran.dg/class_4a.f03: Adjust cleanup-modules and keep-modules. * gfortran.dg/class_4b.f03: Likewise. * gfortran.dg/class_4c.f03: Likewise. * gfortran.dg/class_45a.f03: Likewise. * gfortran.dg/binding_label_tests_10.f03: Likewise. * gfortran.dg/binding_label_tests_10_main.f03: Likewise. * gfortran.dg/binding_label_tests_11.f03: Likewise. * gfortran.dg/binding_label_tests_11_main.f03: Likewise. * gfortran.dg/binding_label_tests_13.f03: Likewise. * gfortran.dg/binding_label_tests_13_main.f03: Likewise. * gfortran.dg/test_common_binding_labels_2.f03: Likewise. * gfortran.dg/test_common_binding_labels_2_main.f03: Likewise. * gfortran.dg/test_common_binding_labels_3.f03: Likewise. * gfortran.dg/test_common_binding_labels_3_main.f03: Likewise. * gfortran.dg/whole_file_28.f90: Likewise. * gfortran.dg/whole_file_29.f90: Likewise. * gfortran.dg/whole_file_30.f90: Likewise. * gfortran.dg/whole_file_31.f90: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185430 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-02-15 Tobias Burnus <burnus@net-b.de>burnus2011-02-181-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170273 138bc75d-0d04-0410-961f-82ee72b054a4
* PR testsuite/40426jakub2009-06-151-4/+12
| | | | | | | | | | | | * lib/gcc-dg.exp (gcc-dg-debug-runtest): For type -gdwarf-2 and level != "" use separate -gdwarf-2 -g${level} options instead of -gdwarf-2${level}. * lib/gfortran-dg.exp (gfortran-dg-debug-runtest): Likewise. * gfortran.dg/debug/pr37738.f: Also skip if -gdwarf-2 -g1. * gfortran.dg/debug/pr35154-dwarf2.f: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148497 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/vect/ggc-pr37574.c: Cleanup "vect" tree dump.uros2008-10-081-0/+1
| | | | | | | | | | | | * gfortran.dg/intrinsic_optional_char_arg_1.f90: Cleanup "original" tree dump. * lib/gfortran-dg.exp (gfortran-dg-debug-runtest): Remove build file trivial.S. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140989 138bc75d-0d04-0410-961f-82ee72b054a4
* libgomp:janis2008-05-151-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * testsuite/lib/libgomp.exp: Load torture-options.exp from gcc lib. gcc/doc: * doc/sourcebuild.texi: Document support for torture tests. gcc/testsuite: * lib/torture-options.exp: New support for torture options. * lib/gfortran-dg.exp (gfortran-dg-runtest): Use new torture procs. * lib/c-torture.exp: Define C_TORTURE_OPTIONS instead of TORTURE_OPTIONS; don't define torture_with_loops and torture_without_loops. * lib/gcc-dg.exp: Define DG_TORTURE_OPTIONS instead of TORTURE_OPTIONS; don't define torture_with_loops and torture_without_loops. (gcc-dg-runtest): Use new torture procs if no torture options defined. * lib/fortran-torture.exp: Define FORTRAN_TORTURE_OPTIONS instead of TORTURE_OPTIONS. (fortran-torture-execute): Use torture_with_loops instead of TORTURE_OPTIONS. (fortran-torture): Ditto. * lib/objc-torture.exp: Define OBJC_TORTURE_OPTIONS instead of TORTURE_OPTIONS; don't define torture_with_loops and torture_without_loops. * gcc.c-torture/execute/execute.exp: Use new torture procs. * gcc.c-torture/execute/builtins/builtins.exp: Ditto. * gcc.c-torture/execute/ieee/ieee.exp: Ditto. * gcc.c-torture/unsorted/unsorted.exp: Ditto. * gfortran.fortran-torture/execute/execute.exp: Ditto. * gfortran.fortran-torture/compile/compile.exp: Ditto. * gcc.target/x86_64/abi/abi-x86_64.exp: Ditto. * gcc.target/i386/math-torture/math-torture.exp: Define MATH_TORTURE_OPTIONS, use new torture procs. * gcc.dg/pch/pch.exp: Use new torture procs. * gcc.dg/format/format.exp: Ditto. * gcc.misc-tests/i386-prefetch.exp: Ditto. * gcc.misc-tests/dectest.exp: Ditto. * objc.dg/pch/pch.exp: Ditto. * objc/execute/execute.exp: Ditto. * objc/execute/exceptions/exceptions.exp: Ditto. * objc/compile/compile.exp: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135381 138bc75d-0d04-0410-961f-82ee72b054a4
* * fortran/trans-common.c (create_common): Add decl to functiongeorge2008-04-011-1/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chain to preserve identifier scope in debug output. * dbxout.c: Emit .stabs debug info for Fortran COMMON block variables as base symbol name + offset using N_BCOMM/N_ECOMM. (is_fortran, dbxout_common_name, dbxout_common_check): New functions. (dbxout_symbol_location): Transform N_LCSYM to N_GSYM for storage in common. (dbxout_syms): Check for COMMON-based symbol and wrap in N_BCOMM/N_ECOMM stab bracket, including as many symbols as possible in bracket for efficiency. * dwarf2out.c: Emit DWARF debug info for Fortran COMMON block using DW_TAG_common_block + member offset. (add_pubname_string): New function. (dw_expand_expr): New function to find block name and offset for COMMON var. (common_check): New function to check whether symbol in Fortran COMMON. (gen_variable_die): If COMMON, use DW_TAG_common_block. * testsuite/gcc.dg/debug/pr35154.c: New test to check that non-Fortran use of common is unchanged. * testsuite/lib/gfortran-dg.exp: New harness to compile Fortran progs with all combinations of debug options available on target. * testsuite/gfortran.dg/debug/debug.exp: Ditto. * testsuite/gfortran.dg/debug/trivial.f: Ditto. * testsuite/gfortran.dg/debug/pr35154-stabs.f: New test case for .stabs functionality. * testsuite/gfortran.dg/debug/pr35154-dwarf2.f: New test case for DWARF functionality. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133801 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/execute/execute.exp: Change copyright header to refer to versionnickc2007-08-011-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. * gcc.c-torture/execute/ieee/ieee.exp, gcc.c-torture/unsorted/unsorted.exp, gcc.c-torture/compile/compile.exp, gcc.c-torture/compile/structs.c, gcc.target/powerpc/powerpc.exp, gcc.target/arm/neon/neon.exp, gcc.target/arm/arm.exp, gcc.target/cris/torture/cris-torture.exp, gcc.target/cris/cris.exp, gcc.target/ia64/ia64.exp, gcc.target/alpha/alpha.exp, gcc.target/m68k/m68k.exp, gcc.target/spu/spu.exp, gcc.target/mips/mips.exp, gcc.target/sparc/sparc.exp, gcc.target/i386/i386.exp, gcc.target/x86_64/abi/abi-x86_64.exp, gnat.dg/specs/specs.exp, gnat.dg/dg.exp, gnat.dg/style/style.exp, gcc.dg/special/mips-abi.exp, gcc.dg/special/special.exp, gcc.dg/pch/pch.exp, gcc.dg/vxworks/vxworks.exp, gcc.dg/dg.exp, gcc.dg/charset/charset.exp, gcc.dg/weak/weak.exp, gcc.dg/tree-ssa/tree-ssa.exp, gcc.dg/tls/tls.exp, gcc.dg/cpp/cpp.exp, gcc.dg/cpp/trad/trad.exp, gcc.dg/matrix/matrix.exp, gcc.dg/vmx/vmx.exp, gcc.dg/compat/struct-layout-1.exp, gcc.dg/compat/compat.exp, gcc.dg/compat/struct-layout-1_generate.c, gcc.dg/debug/debug.exp, gcc.dg/debug/dwarf2/dwarf2.exp, gcc.dg/tree-prof/tree-prof.exp, gcc.dg/ipa/ipa.exp, gcc.dg/dfp/dfp.exp, gcc.dg/noncompile/noncompile.exp, gcc.dg/vect/costmodel/ppc/ppc-costmodel-vect.exp, gcc.dg/vect/costmodel/spu/spu-costmodel-vect.exp, gcc.dg/vect/costmodel/i386/i386-costmodel-vect.exp, gcc.dg/vect/costmodel/x86_64/x86_64-costmodel-vect.exp, gcc.dg/vect/vect.exp, gcc.dg/format/format.exp, gcc.misc-tests/i386-prefetch.exp, gcc.misc-tests/sort2.exp, gcc.misc-tests/matrix1.exp, gcc.misc-tests/dectest.exp, gcc.misc-tests/options.exp, gcc.misc-tests/gcov.exp, gcc.misc-tests/mg-2.exp, gcc.misc-tests/mg.exp, gcc.misc-tests/bprob.exp, gcc.misc-tests/acker1.exp, gcc.misc-tests/dhry.exp, gcc.misc-tests/linkage.exp, gcc.misc-tests/arm-isr.exp, gcc.misc-tests/sieve.exp, g++.old-deja/g++.niklas/README, g++.old-deja/g++.gb/README, g++.old-deja/old-deja.exp, gfortran.fortran-torture/execute/execute.exp, gfortran.fortran-torture/compile/compile.exp, treelang/output/output-1.c, treelang/output/output-1.tree, treelang/execute/execute.exp, treelang/Makefile.in, treelang/compile/compile.exp, g++.dg/dg.exp, g++.dg/debug/debug.exp, g++.dg/debug/dwarf2/dwarf2.exp, g++.dg/charset/charset.exp, g++.dg/vect/vect.exp, g++.dg/tls/tls.exp, g++.dg/tree-prof/tree-prof.exp, g++.dg/pch/pch.exp, g++.dg/special/ecos.exp, g++.dg/compat/struct-layout-1.exp, g++.dg/compat/struct-layout-1_generate.c, g++.dg/compat/compat.exp, g++.dg/gcov/gcov.exp, g++.dg/bprob/bprob.exp, config/default.exp, gcc.test-framework/test-framework.awk, gcc.test-framework/gen_directive_tests, gcc.test-framework/test-framework.exp, objc.dg/special/special.exp, objc.dg/gnu-encoding/gnu-encoding.exp, objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c, objc.dg/pch/pch.exp, objc.dg/dg.exp, lib/copy-file.exp, lib/profopt.exp, lib/gcc.exp, lib/mike-g++.exp, lib/c-compat.exp, lib/scanrtl.exp, lib/gfortran-dg.exp, lib/g++.exp, lib/obj-c++.exp, lib/wrapper.exp, lib/gnat-dg.exp, lib/compat.exp, lib/c-torture.exp, lib/gcc-dg.exp, lib/scanasm.exp, lib/gnat.exp, lib/treelang-dg.exp, lib/prune.exp, lib/gcov.exp, lib/treelang.exp, lib/dg-pch.exp, lib/scantree.exp, lib/g++-dg.exp, lib/objc-dg.exp, lib/file-format.exp, lib/target-libpath.exp, lib/obj-c++-dg.exp, lib/scandump.exp, lib/target-supports-dg.exp, lib/gcc-defs.exp, lib/fortran-torture.exp, lib/objc.exp, lib/scanipa.exp, lib/mike-gcc.exp, lib/objc-torture.exp, lib/gfortran.exp, lib/target-supports.exp, obj-c++.dg/dg.exp, gfortran.dg/dg.exp, gfortran.dg/vect/vect.exp, objc/execute/execute.exp, objc/execute/exceptions/exceptions.exp, objc/compile/compile.exp: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127127 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/gfortran-dg.exp: Don't include fortran-torture.exp.janis2006-12-151-1/+0
| | | | | | | * lib/fortran-torture.exp: Include target-supports.exp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119950 138bc75d-0d04-0410-961f-82ee72b054a4
* fortran/tobi2006-12-121-1/+2
| | | | | | | | | | | | | | | | | * trans-expr.c (gfc_conv_substring): Check for empty substring. testsuite/ * lib/fortran-torture.exp: Update copyright years. Remove obsolete comment. Test -ftree-vectorize where it makes sense. * lib/gfortran-dg.exp: Update copyright years. Use settings from fortran-torture.exp. * gfortran.dg/char_transpose_1.f90, gfortran.dg/char_spread_1.f90, gfortran.dg/g77/dnrm2.f, gfortran.dg/dependent_decls_1.f90: Fixout-of-bound errors. * gfortran.dg/enum_10.f90, gfortran.dg/mixed_io_1.f90: Add '-w' to dg-options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119797 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/29702brooks2006-11-151-7/+9
| | | | | | | | | | | | | | | | | | * fortran/error.c (show_loci): Move column-offset calculation to show_locus. (show_locus): Remove blank lines before "Included in" lines, clean up code, calculate column-offsets, print column number is error-header lines as appropriate. (error_integer): (new function) Print integer to error buffer. (error_print): Use error_integer, avoid possible buffer overflows from buggy error formats. * testsuite/lib/gfortran-dg.exp (gfortran-dg-test): Ignore column numbers in error message headers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118843 138bc75d-0d04-0410-961f-82ee72b054a4
* * fortran/error.c (show_locus): Add trailing colon in error messages.brooks2006-11-051-5/+5
| | | | | | | | | | (error_print): Avoid leading space in error lines. * testsuite/lib/gfortran-dg.exp (gfortran-dg-test): Adjust pattern for matching error messages. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118491 138bc75d-0d04-0410-961f-82ee72b054a4
* * fortran/error.c (show_locus): Remove "In file" from error messages.brooks2006-11-031-6/+6
| | | | | | | | | * testsuite/lib/gfortran-dg.exp (gfortran-dg-test): Remove expected "In file" from error messages. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118450 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/gfortran-dg.exp: Remove trailing whitespace. ChangeLog ↵tobi2005-12-281-1/+1
| | | | | | | | | | lib/gfortran-dg.exp lib/fortran-torture.exp * lib/fortran-torture.exp: Test with -fbounds-check instead of -funroll-all-loops. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109098 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address.kcook2005-06-251-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101316 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix law's ChangeLog date, andtobi2005-02-211-2/+11
| | | | | | | * lib/gfortran-dg.exp (gfortran-dg-test): Split long regexps. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95335 138bc75d-0d04-0410-961f-82ee72b054a4
* * gfortran.dg/do_iterator: Split loop, markup all lines fortobi2005-02-211-6/+33
| | | | | | | | | | | | which an error locus is printed. * gfortran.dg/pr17708.f90: Markup all lines for which an error locus is printed. * gfortran.dg/select_4.f90: Likewise. * lib/gfortran-dg.exp (gfortran-dg-test): Handle gfortran error locuses in the various permutations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95329 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/fortran-torture.exp (fortran-torture): Don't test compiletobi2004-07-161-1/+25
| | | | | | | | | tests with fulllist of options. * lib/gfortran-dg.exp (gfortran-dg-runtest): Only test with all of TORTURE_OPTIONS if test contains 'dg-do run'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84792 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-10 David Billinghurst (David.Billinghurst@riotinto.com)billingd2004-07-091-2/+3
| | | | | | | | * lib/gfortran-dg.exp (gfortran-dg-test): Adapt regular expression to match gfortran warning/error messages git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84375 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-07-09 David Billinghurst (David.Billinghurst@riotinto.com)billingd2004-07-081-0/+46
* lib/gfortran-dg.exp: New file (adapted from lib/g77-dg.exp) * gfortran.dg/dg.exp: New file (adapted from g77.dg/dg.exp) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84324 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud