[Bug c++/91165] [10 Regression] error: location references block not in block tree
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 19 00:11:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91165
--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Dec 19 00:10:47 2019
New Revision: 279557
URL: https://gcc.gnu.org/viewcvs?rev=279557&root=gcc&view=rev
Log:
PR c++/91165 follow-on tweak
I talked in the PR about possibly stripping the location from the args in
the hash table, since if we use the cache the locations would be wrong, but
didn't actually do anything about that. Then I noticed that there's already
unshare_expr_without_location...
* constexpr.c (cxx_eval_call_expression): Use
unshare_expr_without_location.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c
More information about the Gcc-bugs
mailing list