re PR c++/66270 (ICE: canonical types differ for identical types)
authorNathan Sidwell <nathan@acm.org>
Wed, 27 May 2015 20:36:14 +0000 (20:36 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 27 May 2015 20:36:14 +0000 (20:36 +0000)
commitb6cb06b486508141178bcbbf788e610c05f97295
tree2d1ddb9c581feb9557b80c8483d01fd02391336a
parent73b4a60f5cac0df12dd2346cf3963d9700e8e205
re PR c++/66270 (ICE: canonical types differ for identical types)

PR c++/66270
* tree.c (build_pointer_type_for_mode): Canonical type does not
inherit can_alias_all.
(build_reference_type_for_mode): Likewise.

PR c++/66270
* g++.dg/ext/alias-canon3.C: New.

From-SVN: r223773
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/alias-canon3.C [new file with mode: 0644]
gcc/tree.c