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]: Fix typo in previous change


This fixes a typo in the previous change which prevents the main pruning
from working.

This line was added after i had done the SPEC testing, to fix some
failures that cropped up in gfortran's testsuite.

It still fixed the failures, because it just ended up disabling the
block of code.

Bootstrapped and regtested on i686-pc-linux-gnu.

Committed to mainline.


2006-02-16  Daniel Berlin <dberlin@dberlin.org>

	* tree-ssa-operands.c (access_can_touch_variable): Fix typo in
	 previous change.
Index: tree-ssa-operands.c
===================================================================
--- tree-ssa-operands.c	(revision 111147)
+++ tree-ssa-operands.c	(working copy)
@@ -1701,7 +1701,7 @@ access_can_touch_variable (tree ref, tre
 	   && TREE_CODE (ref) != INDIRECT_REF
 	   && !MTAG_P (alias)
 	   && !AGGREGATE_TYPE_P (TREE_TYPE (alias))
-	   && !TREE_CODE (TREE_TYPE (alias)) == COMPLEX_TYPE
+	   && TREE_CODE (TREE_TYPE (alias)) != COMPLEX_TYPE
 	   && !POINTER_TYPE_P (TREE_TYPE (alias)))
     {
 #ifdef ACCESS_DEBUGGING

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