This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix an issue in unused value warning for C++ frontend (PR/39551)
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Le-Chun Wu <lcwu at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 25 Mar 2009 15:19:39 -0700
- Subject: Re: Fix an issue in unused value warning for C++ frontend (PR/39551)
- References: <82091ad70903251436n718ee59aub47342dbb61ce3dc@mail.gmail.com>
On Wed, Mar 25, 2009 at 2:36 PM, Le-Chun Wu <lcwu@google.com> wrote:
> Hi,
>
> + ? ? ? ? ? ?if (!is_reference
> + ? ? ? ? ? ? ? ?&& !is_builtin_func_call (expr)
> + ? ? ? ? ? ? ? ?&& warn_unused_value
> + ? ? ? ? ? ? ? ?&& (complain & tf_warning))
Why not put !is_builtin_func_call (expr) the last?
--
H.J.