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] Unrevert the fix for PR 14784


Hello,

the fix for PR 14784 was temporarily reverted to workaround PR 29680.
Daniel believes that the problem is fixed now, so I am unreverting the
fix.

Bootstrapped & regtested on i686 and x86_64.

Zdenek

Index: ChangeLog
===================================================================
*** ChangeLog	(revision 119548)
--- ChangeLog	(working copy)
***************
*** 1,3 ****
--- 1,8 ----
+ 2006-12-05  Zdenek Dvorak <dvorakz@suse.cz>
+ 
+ 	PR tree-optimization/14784
+ 	* tree-ssa-operands.c (access_can_touch_variable): Unrevert the fix.
+ 
  2006-12-05  Aldy Hernandez  <aldyh@redhat.com>
  
  	Merge from gimple-tuples-branch.
Index: tree-ssa-operands.c
===================================================================
*** tree-ssa-operands.c	(revision 119548)
--- tree-ssa-operands.c	(working copy)
*************** access_can_touch_variable (tree ref, tre
*** 1153,1164 ****
  	       || TREE_CODE (TREE_TYPE (base)) != UNION_TYPE)
  	   && !AGGREGATE_TYPE_P (TREE_TYPE (alias))
  	   && TREE_CODE (TREE_TYPE (alias)) != COMPLEX_TYPE
- #if 0
- 	   /* FIXME: PR tree-optimization/29680.  */
  	   && !var_ann (alias)->is_heapvar
- #else
- 	   && !POINTER_TYPE_P (TREE_TYPE (alias))
- #endif
  	   /* When the struct has may_alias attached to it, we need not to
  	      return true.  */
  	   && get_alias_set (base))
--- 1153,1159 ----


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