This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH][LTO] Adjust testsuite
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Diego Novillo <dnovillo at google dot com>
- Date: Mon, 14 Sep 2009 16:32:58 +0200 (CEST)
- Subject: [PATCH][LTO] Adjust testsuite
This reverts the gcc.misc-tests/i386-prefetch.exp changes. The
torture therein is carefully tuned to match -marchs to testcases.
Adding a plain lto torture just confuses that. There remain some
fails, but at least no obvious ones.
The testcase gcc.dg/exceptions.c is now bogus. It wouldn't have
worked on non-CFI asm targets anyway. It also doesn't test
anything more than is already tested by for example gcc.dg/cleanup*
Committed.
Richard.
2009-09-14 Richard Guenther <rguenther@suse.de>
* gcc.misc-tests/i386-prefetch.exp: Revert to trunk state.
* gcc.dg/exceptions.c: Remove.
Index: gcc/testsuite/gcc.misc-tests/i386-prefetch.exp
===================================================================
*** gcc/testsuite/gcc.misc-tests/i386-prefetch.exp (revision 151681)
--- gcc/testsuite/gcc.misc-tests/i386-prefetch.exp (working copy)
*************** if { [board_info target exists multilib_
*** 97,112 ****
return
}
! set-torture-options $PREFETCH_NONE {{}} $LTO_TORTURE_OPTIONS
gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/i386-pf-none-*.c]] ""
! set-torture-options $PREFETCH_SSE {{}} $LTO_TORTURE_OPTIONS
gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/i386-pf-sse-*.c]] ""
! set-torture-options $PREFETCH_3DNOW {{}} $LTO_TORTURE_OPTIONS
gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/i386-pf-3dnow-*.c]] ""
! set-torture-options $PREFETCH_ATHLON {{}} $LTO_TORTURE_OPTIONS
gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/i386-pf-athlon-*.c]] ""
torture-finish
--- 97,112 ----
return
}
! set-torture-options $PREFETCH_NONE
gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/i386-pf-none-*.c]] ""
! set-torture-options $PREFETCH_SSE
gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/i386-pf-sse-*.c]] ""
! set-torture-options $PREFETCH_3DNOW
gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/i386-pf-3dnow-*.c]] ""
! set-torture-options $PREFETCH_ATHLON
gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/i386-pf-athlon-*.c]] ""
torture-finish
Index: gcc/testsuite/gcc.dg/exceptions.c
===================================================================
*** gcc/testsuite/gcc.dg/exceptions.c (revision 151681)
--- gcc/testsuite/gcc.dg/exceptions.c (working copy)
***************
*** 1,8 ****
- /* { dg-do compile } */
- /* { dg-options "-fexceptions" } */
- /* { dg-final { scan-assembler ".cfi_personality" } } */
-
- int f(void)
- {
- return 42;
- }
--- 0 ----