r212192 - in /trunk/gcc: ChangeLog c-family/Cha...
mpolacek@gcc.gnu.org
mpolacek@gcc.gnu.org
Tue Jul 1 08:32:00 GMT 2014
Author: mpolacek
Date: Tue Jul 1 08:31:58 2014
New Revision: 212192
URL: https://gcc.gnu.org/viewcvs?rev=212192&root=gcc&view=rev
Log:
PR c/58286
* doc/invoke.texi: Document -Wincompatible-pointer-types.
c-family/
* c.opt (Wincompatible-pointer-types): New option.
c/
* c-typeck.c (convert_for_assignment): Pass
OPT_Wincompatible_pointer_types instead of 0 to WARN_FOR_ASSIGNMENT.
testsuite/
* gcc.dg/Wincompatible-pointer-types.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/Wincompatible-pointer-types.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c.opt
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-typeck.c
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list