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]

To-be-committed: logic error in last compat.exp:compat-executechange.


Doh.  The second I committed the previous change, I realized the
error in the condition logic.  I'll commit this as obvious (after
testing, no less; the error just results in no cleanup for
non-gluefile targets).

	* lib/compat.exp (compat-execute): Fix logic error in last
	change.

Index: compat.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/lib/compat.exp,v
retrieving revision 1.3
diff -p -c -r1.3 compat.exp
*** compat.exp	30 Oct 2002 00:27:34 -0000	1.3
--- compat.exp	30 Oct 2002 00:28:53 -0000
*************** proc compat-execute { src1 use_alt } {
*** 231,237 ****
  	set files [glob -nocomplain *.o]
  	if { $files != "" } {
  	    foreach objfile $files {
! 		if { [info exists gluefile] && $objfile != $gluefile } {
  		    eval "remote_file build delete $objfile"
  		}
  	    }
--- 231,237 ----
  	set files [glob -nocomplain *.o]
  	if { $files != "" } {
  	    foreach objfile $files {
! 		if { ![info exists gluefile] || $objfile != $gluefile } {
  		    eval "remote_file build delete $objfile"
  		}
  	    }

brgds, H-P


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