]> git.ipfire.org Git - thirdparty/gcc.git/commit
gimple.c (gimple_types_compatible_p): Restrict completing types to record or unions.
authorRichard Guenther <rguenther@suse.de>
Fri, 16 Oct 2009 11:44:46 +0000 (11:44 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 16 Oct 2009 11:44:46 +0000 (11:44 +0000)
commit021ed367a561125c90bef393b0a641d3cc9a7d51
treee3285c8807c40362340fe1e7d5599db1724a125e
parentd02a5a4b9abb043ff6a243bb4f9a9aaac2fb8656
gimple.c (gimple_types_compatible_p): Restrict completing types to record or unions.

2009-10-16  Richard Guenther  <rguenther@suse.de>

* gimple.c (gimple_types_compatible_p): Restrict completing
types to record or unions.  Simplify completion.
Do not merge records or unions with different
TYPE_STRUCTURAL_EQUALITY_P tag.
(iterative_hash_gimple_type): Restrict non-recursing into
pointer targets for records and unions.

From-SVN: r152898
gcc/ChangeLog
gcc/gimple.c