[Bug tree-optimization/34385] [4.3 Regression] new miscompilation after PR34148 fix
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Dec 7 23:57:00 GMT 2007
------- Comment #6 from rguenth at gcc dot gnu dot org 2007-12-07 23:57 -------
First we hit
/* XXX: don't get into structures for now. It brings much
complication
and little benefit. */
if (struct_class_union_p (ptr_type) || struct_class_union_p
(alias_type))
return false;
and then if you fix that
/* If they are not SSA names, but contain SSA names, drop the warning
because it cannot be displayed well.
Also drop it if they both contain artificials.
XXX: this is a hack, must figure out a better way to display them. */
if (filter_artificials)
if ((find_first_artificial_name (get_ssa_base (object1))
&& find_first_artificial_name (get_ssa_base (object2)))
|| (TREE_CODE (object1) != SSA_NAME
&& contains_node_type_p (object1, SSA_NAME))
|| (TREE_CODE (object2) != SSA_NAME
&& contains_node_type_p (object2, SSA_NAME)))
return false;
.....
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34385
More information about the Gcc-bugs
mailing list