diff options
author | Marek Polacek <polacek@redhat.com> | 2014-07-01 08:31:58 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2014-07-01 08:31:58 +0000 |
commit | d5c3d343bdc26d8d16d2a3b20c25dce3c619ff69 (patch) | |
tree | 877b640f90c7fa56352477c59e8e3116c904da16 /gcc/basic-block.h | |
parent | e55637b71514b1f2106980ff1e8951d5d072f9c4 (diff) | |
download | gcc-d5c3d343bdc26d8d16d2a3b20c25dce3c619ff69.zip gcc-d5c3d343bdc26d8d16d2a3b20c25dce3c619ff69.tar.gz gcc-d5c3d343bdc26d8d16d2a3b20c25dce3c619ff69.tar.bz2 |
re PR c/58286 (Need option to make incompatible pointer type warnings into compiler errors)
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.
From-SVN: r212192
Diffstat (limited to 'gcc/basic-block.h')
0 files changed, 0 insertions, 0 deletions