This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/33870] [4.3 Regression] miscompiles sqlite
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Oct 2007 21:28:19 -0000
- Subject: [Bug tree-optimization/33870] [4.3 Regression] miscompiles sqlite
- References: <bug-33870-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from rguenth at gcc dot gnu dot org 2007-10-23 21:28 -------
And sadly the following doesn't help.
Index: tree-ssa-structalias.c
===================================================================
--- tree-ssa-structalias.c (revision 129582)
+++ tree-ssa-structalias.c (working copy)
@@ -4738,7 +4738,8 @@ set_uids_in_ptset (tree ptr, bitmap into
var_alias_set = get_alias_set (sft);
if (no_tbaa_pruning
|| (!is_derefed && !vi->directly_dereferenced)
- || alias_sets_conflict_p (ptr_alias_set, var_alias_set))
+ || alias_sets_conflict_p (ptr_alias_set, var_alias_set)
+ || vi->offset == 0)
bitmap_set_bit (into, DECL_UID (sft));
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33870