[Bug rtl-optimization/47414] [4.6 Regression] wrong code with -O -freorder-blocks -fschedule-insns2 -fno-early-inlining -fstrict-aliasing -ftracer
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 24 16:49:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47414
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org
|gnu.org |
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-24 16:34:03 UTC ---
Index: tree-ssa-alias.c
===================================================================
--- tree-ssa-alias.c (revision 169155)
+++ tree-ssa-alias.c (working copy)
@@ -808,7 +808,7 @@ indirect_ref_may_alias_decl_p (tree ref1
return aliasing_component_refs_p (ref1, TREE_TYPE (ptrtype1),
ref1_alias_set, base1_alias_set,
offset1, max_size1,
- ref2, TREE_TYPE (base2),
+ ref2, TREE_TYPE (reference_alias_ptr_type
(ref2)),
ref2_alias_set, base2_alias_set,
offset2, max_size2, true);
fixes it.
More information about the Gcc-bugs
mailing list