2009-04-17 Richard Guenther <rguenther@suse.de>
* tree-ssa-structalias.c (get_constraint_for_component_ref):
Handle component references view-converting an invariant address.
From-SVN: r146288
+2009-04-17 Richard Guenther <rguenther@suse.de>
+
+ * tree-ssa-structalias.c (get_constraint_for_component_ref):
+ Handle component references view-converting an invariant address.
+
2009-04-17 Adam Nemet <anemet@caviumnetworks.com>
* doc/tm.texi (TARGET_DEFAULT_TARGET_FLAGS,
else
result->offset = bitpos;
}
+ else if (result->type == ADDRESSOF)
+ {
+ /* We can end up here for component references on a
+ VIEW_CONVERT_EXPR <>(&foobar). */
+ result->type = SCALAR;
+ result->var = anything_id;
+ result->offset = 0;
+ }
else
gcc_unreachable ();
}