This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] PR 54191
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 27 Aug 2012 19:36:58 +0200
- Subject: Re: [C++ Patch] PR 54191
- References: <5022CEBF.1060602@oracle.com> <503BA02C.4000901@redhat.com>
On 08/27/2012 06:28 PM, Jason Merrill wrote:
Let's do away with ba_quiet entirely and instead pass tf_none in cases
where we would have set ba_quiet.
Thanks for the feedback. Indeed, as I tried to explain in an older
message, that was also my understanding. The practical difficulty with
the mapping (which you can also guess from the current structure of
get_delta_difference_1, the if (kind == bk_inaccessible || kind ==
bk_ambig) check) is that ba_quiet, as used by lookup_base, doesn't just
control the error calls - like normally tf_error does - it *also*
changes the return value, error_mark_node or NULL_TREE. I'm still not
sure about the correct (and concise! see get_delta_difference_1, again)
way to handle this...
Paolo.