[Bug c++/70452] [5/6 Regression] Regression in C++ parsing performance between 4.9.3 and 5.3.1
ppalka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 8 20:17:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70452
--- Comment #15 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Author: ppalka
Date: Fri Apr 8 20:17:10 2016
New Revision: 234837
URL: https://gcc.gnu.org/viewcvs?rev=234837&root=gcc&view=rev
Log:
Fix PR c++/70590 (error: location references block not in block tree)
gcc/cp/ChangeLog:
PR c++/70590
PR c++/70452
* constexpr.c (cxx_eval_outermost_expression): Call unshare_expr
on the result if it's not a CONSTRUCTOR.
gcc/testsuite/ChangeLog:
PR c++/70590
PR c++/70452
* g++.dg/pr70590.C: New test.
* g++.dg/pr70590-2.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/pr70590-2.C
trunk/gcc/testsuite/g++.dg/pr70590.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list