https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90736
--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Wed Jun 12 21:12:00 2019 New Revision: 272219 URL: https://gcc.gnu.org/viewcvs?rev=272219&root=gcc&view=rev Log: PR c++/90736 - bogus error with alignof. * constexpr.c (adjust_temp_type): Use cv_unqualified type. * g++.dg/cpp0x/alignof5.C: New test. Added: branches/gcc-9-branch/gcc/testsuite/g++.dg/cpp0x/alignof5.C Modified: branches/gcc-9-branch/gcc/cp/ChangeLog branches/gcc-9-branch/gcc/cp/constexpr.c