------- Comment #16 from manu at gcc dot gnu dot org  2008-01-27 18:37 -------
Subject: Bug 32102

Author: manu
Date: Sun Jan 27 18:36:59 2008
New Revision: 131887

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131887
Log:
2008-01-27  Manuel Lopez-Ibanez  <[EMAIL PROTECTED]>

        PR 32102
        * flags.h (warn_strict_aliasing): Remove.
        (warn_strict_overflow): Remove.
        * opts.c (warn_strict_aliasing): Remove.
        (warn_strict_overflow): Remove.
        * c-opts.c (c_common_handle_option): -Wall only sets
        -Wstrict-aliasing or -Wstrict-overflow if they are uninitialized.
        (c_common_post_options): Give default values to -Wstrict-aliasing
        and -Wstrict-overflow if they are uninitialized.
        * common.opt (Wstrict-aliasing): Specify Var and Init.
        (Wstrict-overflow): Likewise.

testsuite/
        * gcc.dg/Wstrict-overflow-21.c: New.
        * g++.dg/warn/Wstrict-aliasing-8.C: New.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-8.C
    branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/Wstrict-overflow-21.c
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/c-opts.c
    branches/gcc-4_2-branch/gcc/common.opt
    branches/gcc-4_2-branch/gcc/flags.h
    branches/gcc-4_2-branch/gcc/opts.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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

Reply via email to