This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix an issue in unused value warning for C++ frontend (PR/39551)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]