This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] Avoid reporting routines re-entered errors from finish_compound_literal
- From: Jason Merrill <jason at redhat dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 18 Dec 2011 17:24:12 -0500
- Subject: Re: [C++ Patch] Avoid reporting routines re-entered errors from finish_compound_literal
- References: <4EEE5A2F.2020406@oracle.com>
Let's use tf_warning_or_error instead of tf_warning; I don't think we
ever pass tf_error without tf_warning, but we would want to check
narrowing in that case if we ever did. OK with that change.
Jason