https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87506
--- Comment #5 from Jakub Jelinek ---
Author: jakub
Date: Tue Jan 8 10:12:22 2019
New Revision: 267699
URL: https://gcc.gnu.org/viewcvs?rev=267699=gcc=rev
Log:
Backported from mainline
2018-12-07 Jakub Jelinek
PR c++/87506
* constexpr.c (adjust_temp_type): Handle EMPTY_CLASS_EXPR.
* g++.dg/cpp0x/constexpr-87506.C: New test.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-87506.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/constexpr.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog