------- Comment #23 from manu at gcc dot gnu dot org  2007-02-12 09:32 -------
Subject: Bug 7651

Author: manu
Date: Mon Feb 12 09:32:08 2007
New Revision: 121843

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121843
Log:
2007-02-12  Manuel Lopez-Ibanez  <[EMAIL PROTECTED]>

        PR middle-end/7651
        * doc/invoke.texi (Wunused-value): Update description.
        (Wextra): Delete item.
        * opts.c (set_Wextra): Don't use the value of Wextra to set the
        value of Wunused-value.
        * c-typeck.c (c_process_expr_stmt): Don't check extra_warnings.
        (c_finish_stmt_expr): Don't check extra_warnings.
        (emit_side_effect_warnings): The caller is responsible to check
        warn_unused_value.
cp/
        * cp-gimplify.c (gimplify_expr_stmt): Don't check extra_warnings.
        Check warn_unused_value just once.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-typeck.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-gimplify.c
    trunk/gcc/doc/invoke.texi
    trunk/gcc/opts.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651

Reply via email to