[Bug c++/70139] [5/6 Regression] -fno-elide-constructor makes static std::regex to throw

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 18 20:17:00 GMT 2016


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

--- Comment #18 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Mar 18 20:17:04 2016
New Revision: 234346

URL: https://gcc.gnu.org/viewcvs?rev=234346&root=gcc&view=rev
Log:
        PR c++/70139
        * constexpr.c (cxx_eval_call_expression): Don't shortcut trivial copy.

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


More information about the Gcc-bugs mailing list