Commit e5163ec1 by Senthil Kumar Selvaraj Committed by Senthil Kumar Selvaraj

Return earlier if not effective_target_int32

Do early return *before* calling dg-init/torture-init. Returning 
without calling dg-finish/torture-finish messes up torture-options for
subsequent tests.

gcc/testsuite/
	2016-10-18  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

	* gcc.dg/sso/sso.exp: Return early if not 
	effective_target_int32.

From-SVN: r241302
parent 0aeb81f8
2016-10-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
* gcc.dg/sso/sso.exp: Return early if not
effective_target_int32.
2016-10-18 Richard Biener <rguenther@suse.de>
* gcc.dg/tree-ssa/pr20318.c: Disable EVRP.
......
......@@ -18,6 +18,10 @@
load_lib gcc-dg.exp
load_lib torture-options.exp
if { ![check_effective_target_int32] } {
return
}
# Initialize `dg'.
torture-init
dg-init
......@@ -32,10 +36,6 @@ set SSO_TORTURE_OPTIONS [list \
set-torture-options $SSO_TORTURE_OPTIONS
if { ![check_effective_target_int32] } {
return
}
# Main loop.
gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.c]] "" ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment