struct-layout-1.exp (orig_gcc_exec_prefix_saved): Always initialize.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 12 Jun 2008 12:19:02 +0000 (13:19 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Thu, 12 Jun 2008 12:19:02 +0000 (13:19 +0100)
* gcc.dg/compat/struct-layout-1.exp (orig_gcc_exec_prefix_saved):
Always initialize.
* g++.dg/compat/struct-layout-1.exp (orig_gcc_exec_prefix_saved):
Always initialize.

From-SVN: r136704

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/compat/struct-layout-1.exp
gcc/testsuite/gcc.dg/compat/struct-layout-1.exp

index 55555f770e599f39504dceb0007f0704a6ed961c..68e98fc48f66ae9259264cda82af24e7bcc8e595 100644 (file)
@@ -1,3 +1,10 @@
+2008-06-12  Joseph Myers  <joseph@codesourcery.com>
+
+       * gcc.dg/compat/struct-layout-1.exp (orig_gcc_exec_prefix_saved):
+       Always initialize.
+       * g++.dg/compat/struct-layout-1.exp (orig_gcc_exec_prefix_saved):
+       Always initialize.
+
 2008-06-12  Jakub Jelinek  <jakub@redhat.com>
 
        PR testsuite/36443
index edaf1fa34f53b66a0200be914c2671007f38c017..14473486aeb67463ec7743c50acfc32bdf9844ed 100644 (file)
@@ -130,6 +130,7 @@ set generator_cmd "-o $generator $generator_src"
 
 # Temporarily unset GCC_EXEC_PREFIX from environment, as that might
 # confuse the $HOSTCC.
+set orig_gcc_exec_prefix_saved 0
 if [info exists env(GCC_EXEC_PREFIX)] {
      set orig_gcc_exec_prefix "$env(GCC_EXEC_PREFIX)"
      set orig_gcc_exec_prefix_saved 1
index 47588c9fe1edc1dd0cae93c606704527c6a527d4..5de2c1e2618e02f20fc94a1c8f58ce91b0c53534 100644 (file)
@@ -92,6 +92,7 @@ set generator_cmd "-o $generator $skip_dfp $generator_src"
 
 # Temporarily unset GCC_EXEC_PREFIX from environment, as that might
 # confuse the $HOSTCC.
+set orig_gcc_exec_prefix_saved 0
 if [info exists env(GCC_EXEC_PREFIX)] {
      set orig_gcc_exec_prefix "$env(GCC_EXEC_PREFIX)"
      set orig_gcc_exec_prefix_saved 1