This is the mail archive of the gcc-cvs@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]

r131887 - in /branches/gcc-4_2-branch/gcc: Chan...


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  <manu@gcc.gnu.org>

	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


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