This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH]: Fix typo in previous change
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 16 Feb 2006 15:28:09 -0500
- Subject: [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