https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70209
--- Comment #10 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Mon Mar 21 12:09:48 2016 New Revision: 234367 URL: https://gcc.gnu.org/viewcvs?rev=234367&root=gcc&view=rev Log: PR c++/70209 * tree.c (strip_typedefs): Call strip_typedefs again on the DECL_ORIGINAL_TYPE result. * g++.dg/ext/attribute-may-alias-4.C: New test. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/ext/attribute-may-alias-4.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/tree.c branches/gcc-5-branch/gcc/testsuite/ChangeLog