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

--- Comment #1 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Wed Sep 14 14:29:01 2016
New Revision: 240136

URL: https://gcc.gnu.org/viewcvs?rev=240136&root=gcc&view=rev
Log:
        cp/
        PR c++/77539
        * constexpr.c (get_fundef_copy): Use the original function for
        non-recursive evaluations.
        (save_fundef_copy): Always expect a slot to be available.

        testsuite/
        PR c++/77539
        * g++.dg/cpp0x/constexpr-recursion3.C: New.
        * g++.dg/ubsan/pr63956.C: Adjust error location.
        * g++.dg/cpp1y/pr77539.C: New.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-recursion3.C
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/pr77539.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/constexpr.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
    branches/gcc-6-branch/gcc/testsuite/g++.dg/ubsan/pr63956.C

Reply via email to