pr70590.C
213 Bytes
-
Fix PR c++/70590 (error: location references block not in block tree) · 56cfb596
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. From-SVN: r234837
Patrick Palka committed