r216412 - in /trunk/gcc: c-family/ChangeLog c-f...
mpolacek@gcc.gnu.org
mpolacek@gcc.gnu.org
Fri Oct 17 18:37:00 GMT 2014
Author: mpolacek
Date: Fri Oct 17 18:37:25 2014
New Revision: 216412
URL: https://gcc.gnu.org/viewcvs?rev=216412&root=gcc&view=rev
Log:
c-family/
* c-opts.c (c_common_post_options): Set warn_implicit_int.
* c.opt (Wimplicit-int): Initialize to -1.
c/
* c-decl.c (grokdeclarator): Use OPT_Wimplicit_int unconditionally.
(start_function): Use OPT_Wimplicit_int instead of 0.
(store_parm_decls_oldstyle): Likewise.
testsuite/
* gcc.dg/Wimplicit-int-1.c: New test.
* gcc.dg/Wimplicit-int-2.c: New test.
* gcc.dg/Wimplicit-int-3.c: New test.
* gcc.dg/Wimplicit-int-4.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/Wimplicit-int-1.c
trunk/gcc/testsuite/gcc.dg/Wimplicit-int-2.c
trunk/gcc/testsuite/gcc.dg/Wimplicit-int-3.c
trunk/gcc/testsuite/gcc.dg/Wimplicit-int-4.c
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-opts.c
trunk/gcc/c-family/c.opt
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list