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

H.J. Lu hjl.tools@gmail.com
Wed Mar 25 22:24:00 GMT 2009


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.



More information about the Gcc-patches mailing list