https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87506

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 30 11:17:41 2019
New Revision: 275075

URL: https://gcc.gnu.org/viewcvs?rev=275075&root=gcc&view=rev
Log:
        Backported from mainline
        2018-12-07  Jakub Jelinek  <ja...@redhat.com>

        PR c++/87506
        * constexpr.c (adjust_temp_type): Handle EMPTY_CLASS_EXPR.

        * g++.dg/cpp0x/constexpr-87506.C: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-87506.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/constexpr.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to