diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-05-19 12:34:54 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-05-19 12:34:54 +0000 |
commit | 195b31a033ae6769fbbbd92a7cef43f9983e1e3b (patch) | |
tree | b8bc6b10af07105735e75380f433a969f291869f /gcc/c-family/ChangeLog | |
parent | 28d73004918cc573a75155cb7eccfa79ca66ed6c (diff) | |
download | gcc-195b31a033ae6769fbbbd92a7cef43f9983e1e3b.tar.gz |
2017-05-19 Richard Biener <rguenther@suse.de>
PR c++/80593
* c-warn.c (strict_aliasing_warning): Do not warn for accesses
to alias-set zero memory.
* g++.dg/warn/Wstrict-aliasing-bogus-char-2.C: New testcase.
* g++.dg/warn/Wstrict-aliasing-6.C: Adjust expected outcome.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248269 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-family/ChangeLog')
-rw-r--r-- | gcc/c-family/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 8287876d38e..4ce70e4d67a 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2017-05-19 Richard Biener <rguenther@suse.de> + + PR c++/80593 + * c-warn.c (strict_aliasing_warning): Do not warn for accesses + to alias-set zero memory. + 2017-05-18 Bernd Edlinger <bernd.edlinger@hotmail.de> * c-format.c (local_tree_type_node): Add GTY attribute. |