On Thu, Apr 25, 2019 at 6:47 PM Jonathan Wakely <jwak...@redhat.com> wrote: > On 25/04/19 17:02 -0400, Jason Merrill wrote: > >Perhaps initialize show_notes to (complain & tf_error), so you only > >need to update it from permerror. > > But doesn't fix the bug, because the error is only printed for > !is_instantiation_of_constexpr (current_function_decl) > so we need to suppress the notes otherwise.
Ah, true. Your patch is OK. Jason