[gfortran, testsuite, ping] Run tests with -fbounds-check, was: Re: RFA: matmul/transpose optimisation
Tobias Schlüter
tobias.schlueter@physik.uni-muenchen.de
Tue Dec 27 12:47:00 GMT 2005
Tobias.Schlueter@Physik.Uni-Muenchen.DE wrote:
> Patch to the testsuite below. Tested with a 'make check-fortran' and visual
> inspection of the testsuite log. This removes the run with -funroll-all-loops,
> as this is a synonym for -funroll-loops according to the documentation. I also
> took the liberty to remove some trailing whitespace.
I should probably have given this subthread a more descriptive name right
away. Makes the gfortran testsuite check with -fbounds-check.
- Tobi
> 2005-12-15 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
>
> * lib/gfortran-dg.exp: Remove trailing whitespace.
> * lib/fortran-torture.exp: Test with -fbounds-check instead of
> -funroll-all-loops.
>
> Index: lib/gfortran-dg.exp
> ===================================================================
> --- lib/gfortran-dg.exp (revision 108565)
> +++ lib/gfortran-dg.exp (working copy)
> @@ -92,7 +92,7 @@
> # look if this is dg-do-run test, in which case
> # we cycle through the option list, otherwise we don't
> if [expr [search_for $test "dg-do run"]] {
> - set option_list $TORTURE_OPTIONS
> + set option_list $TORTURE_OPTIONS
> } else {
> set option_list [list { -O } ]
> }
> Index: lib/fortran-torture.exp
> ===================================================================
> --- lib/fortran-torture.exp (revision 108565)
> +++ lib/fortran-torture.exp (working copy)
> @@ -34,7 +34,7 @@
> { -O0 } { -O1 } { -O2 } \
> { -O2 -fomit-frame-pointer -finline-functions } \
> { -O2 -fomit-frame-pointer -finline-functions -funroll-loops } \
> - { -O2 -fomit-frame-pointer -finline-functions -funroll-all-loops } \
> + { -O2 -fbounds-check } \
> { -O2 -fno-repack-arrays } \
> { -O3 -g } \
> { -Os }]
>
>
>
>
>
More information about the Gcc-patches
mailing list