[named-addr-spaces-branch][PATCH,committed] Reenable remote __ea testing

Michael Meissner meissner@linux.vnet.ibm.com
Sat Nov 22 00:20:00 GMT 2008


Evidently the machine that I was using for __ea testing was broken, and by
switching machines I can reenable the __ea executable tests.

[gcc/testsuite]
2008-11-21  Michael Meissner  <meissner@linux.vnet.ibm.com>

	* gcc.target/spu/ea/ea.exp (check_effective_target_ea64): Reenable
	support.
	(check_effective_target_ea32): Ditto.
	(DEFAULT_CFLAGS): Add -O2 to the default flags.

Index: gcc/testsuite/gcc.target/spu/ea/ea.exp
===================================================================
--- gcc/testsuite/gcc.target/spu/ea/ea.exp	(revision 142101)
+++ gcc/testsuite/gcc.target/spu/ea/ea.exp	(working copy)
@@ -30,7 +30,6 @@ proc check_effective_target_ea64 { } {
 	#include <stdlib.h>
 	#include <string.h>
 	#include <spu_cache.h>
-	#error "disable test tempoarily"
 
 	__ea void *ptr;
 	__ea void *__malloc_ea64 (unsigned long long);
@@ -49,7 +48,6 @@ proc check_effective_target_ea32 { } {
 	#include <stdlib.h>
 	#include <string.h>
 	#include <spu_cache.h>
-	#error "disable test tempoarily"
 
 	__ea void *ptr;
 	__ea void *__malloc_ea32 (unsigned long);
@@ -65,7 +63,7 @@ proc check_effective_target_ea32 { } {
 # If a testcase doesn't have special options, use these.
 global DEFAULT_CFLAGS
 if ![info exists DEFAULT_CFLAGS] then {
-    set DEFAULT_CFLAGS "-std=gnu89 -pedantic-errors"
+    set DEFAULT_CFLAGS "-std=gnu89 -pedantic-errors -O2"
 }
 
 # Initialize `dg'.

-- 
Michael Meissner, IBM
4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA
meissner@linux.vnet.ibm.com



More information about the Gcc-patches mailing list