r262668 - in /trunk/gcc/testsuite: ChangeLog g+...

vries@gcc.gnu.org vries@gcc.gnu.org
Sun Jul 15 16:26:00 GMT 2018


Author: vries
Date: Sun Jul 15 16:26:08 2018
New Revision: 262668

URL: https://gcc.gnu.org/viewcvs?rev=262668&root=gcc&view=rev
Log:
[testsuite/guality] Run guality tests with Og

We advertise Og as the optimization level of choice for the standard
edit-compile-debug cycle, but do not run the guality tests for Og with the
default torture options.

This patch ensures that we test -Og in the guality tests.

F.i., for gcc.dg/guality there are 45 fails for Og (while there are none for
O1), in these test-cases:
...
gcc.dg/guality/pr54200.c
gcc.dg/guality/pr54970.c
gcc.dg/guality/pr56154-1.c
gcc.dg/guality/pr59776.c
gcc.dg/guality/sra-1.c
...

2018-07-15  Tom de Vries  <tdevries@suse.de>

	* lib/gcc-gdb-test.exp (guality_minimal_options): New proc.
	* lib/gfortran-dg.exp (gfortran-dg-runtest): Don't call torture-init if
	already called.
	* g++.dg/guality/guality.exp: Ensure Og is part of torture options.
	* gcc.dg/guality/guality.exp: Same.
	* gfortran.dg/guality/guality.exp: Same.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/guality/guality.exp
    trunk/gcc/testsuite/gcc.dg/guality/guality.exp
    trunk/gcc/testsuite/gfortran.dg/guality/guality.exp
    trunk/gcc/testsuite/lib/gcc-gdb-test.exp
    trunk/gcc/testsuite/lib/gfortran-dg.exp



More information about the Gcc-cvs mailing list