This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: gcc/testsuite: Set gcc_initialized to 1


On Tue, Jul 31, 2007 at 10:43:56AM -0700, Janis Johnson wrote:
> 
> Setting gcc_initialized doesn't belong in this patch, and should
> be tested by running the full testsuite with multiple runs, e.g.
> -m32 and -m64, to make sure there are no surprises.
> 

Tested on Linux/x86-64 with RUNTESTFLAGS=--target_board 'unix{-m32,}'.


H.J.
----
2007-07-30  H.J. Lu  <hongjiu.lu@intel.com>

	* lib/gcc.exp: (gcc_init): Set gcc_initialized to 1.

--- gcc/testsuite/lib/gcc.exp.ssp	2007-07-13 07:12:23.000000000 -0700
+++ gcc/testsuite/lib/gcc.exp	2007-07-30 14:59:43.000000000 -0700
@@ -113,6 +114,8 @@ proc gcc_init { args } {
     set gcc_error_prefix "error:"
 
     gcc_maybe_build_wrapper "${tmpdir}/gcc-testglue.o"
+
+    set gcc_initialized 1
 }
 
 #


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]