]> gcc.gnu.org Git - gcc.git/commit - gcc/ChangeLog
c-opts.c (c_common_decode_option): Add warn_strict_aliasing to -Wall.
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 8 Oct 2002 19:20:18 +0000 (19:20 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 8 Oct 2002 19:20:18 +0000 (19:20 +0000)
commitbf52f89914772b771d30abea73d2754268874d44
tree931ded0405225a7ea610ab31e640db7544deb6c2
parentb7932de6a1df9f98fff676ec00e67f9cfd806794
c-opts.c (c_common_decode_option): Add warn_strict_aliasing to -Wall.

gcc:
* c-opts.c (c_common_decode_option): Add warn_strict_aliasing to
-Wall.
* c-typeck.c (build_c_cast): Use warn_strict_aliasing, tweak
message.
* flags.h (warn_strict_aliasing): Declare.
* toplev.c (warn_strict_aliasing): Define.
(lang_independent_options): Add it.
* doc/invoke.texi (-Wstrict-aliasing): Document it.
testsuite:
* gcc.dg/alias-1.c: Tweak expected warning.

From-SVN: r57938
gcc/ChangeLog
gcc/c-opts.c
gcc/c-typeck.c
gcc/doc/invoke.texi
gcc/flags.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/alias-1.c
gcc/toplev.c
This page took 0.058237 seconds and 5 git commands to generate.