https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79900
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Tue Mar 14 15:55:53 2017 New Revision: 246132 URL: https://gcc.gnu.org/viewcvs?rev=246132&root=gcc&view=rev Log: PR c++/79900 - ICE in strip_typedefs * tree.c (strip_typedefs): Skip the attribute handling if T is a variant type which hasn't been updated yet. * g++.dg/warn/Wpadded-1.C: New test. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/warn/Wpadded-1.C Modified: branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/tree.c branches/gcc-6-branch/gcc/testsuite/ChangeLog