re PR c++/41144 (ice for legal code with -O2 in get_alias_set)
authorRichard Guenther <rguenther@suse.de>
Sun, 6 Sep 2009 16:49:48 +0000 (16:49 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Sun, 6 Sep 2009 16:49:48 +0000 (16:49 +0000)
commit3797a0ff2f3da43cef2c13b2b3fad2695cd7cf02
treea72925e0455fa9de377a22b3f81c4b9a32bdf2fd
parent3c45b96b27d5be00740b13ad80ae6c6be9c96dbc
re PR c++/41144 (ice for legal code with -O2 in get_alias_set)

2009-09-06  Richard Guenther  <rguenther@suse.de>

PR middle-end/41144
* tree.c (build_array_type): Do not record types marked
with structural equality in the canonical type hashtable.

* g++.dg/torture/pr41144.C: New testcase.

From-SVN: r151461
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr41144.C [new file with mode: 0644]
gcc/tree.c