[Bug c++/84684] inserting random code / flags produces wrong code
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 7 07:51:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84684
--- Comment #18 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Mar 7 07:50:57 2018
New Revision: 258313
URL: https://gcc.gnu.org/viewcvs?rev=258313&root=gcc&view=rev
Log:
PR c++/84684
* constexpr.c (cxx_bind_parameters_in_call): Unshare evaluated
arguments.
* g++.dg/cpp1z/constexpr-84684.C: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1z/constexpr-84684.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/constexpr.c
More information about the Gcc-bugs
mailing list