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/ChangeLog | |
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/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f5a2426..76dc43c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-07-01 Marek Polacek <polacek@redhat.com> + + PR c/58286 + * doc/invoke.texi: Document -Wincompatible-pointer-types. + 2014-07-01 Martin Liska <mliska@suse.cz> IPA REF alias refactoring |