diff options
| author | Richard Guenther <rguenther@suse.de> | 2010-04-07 12:31:32 +0000 | 
|---|---|---|
| committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-04-07 12:31:32 +0000 | 
| commit | 12bd5a1e9f42026f7ead1bad788f9cade67f88b7 (patch) | |
| tree | 92208bc8d4ba4a670add9a969acc3e87e362914a /libcpp/include/cpplib.h | |
| parent | a775239672d98c299f0bdde4e7465529388af8eb (diff) | |
| download | gcc-12bd5a1e9f42026f7ead1bad788f9cade67f88b7.zip gcc-12bd5a1e9f42026f7ead1bad788f9cade67f88b7.tar.gz gcc-12bd5a1e9f42026f7ead1bad788f9cade67f88b7.tar.bz2 | |
re PR tree-optimization/43270 (array-bounds false negative)
2010-04-07  Richard Guenther  <rguenther@suse.de>
	PR tree-optimization/43270
	* tree-vrp.c (check_array_ref): Fix flexible array member
	detection.
	* tree-ssa-sccvn.h (fully_constant_vn_reference_p): Declare.
	* tree-ssa-pre.c (phi_translate_1): Adjust.
	(fully_constant_expression): Split out vn_reference handling to ...
	* tree-ssa-sccvn.c (fully_constant_vn_reference_p): ... here.
	Fold reads from constant strings.
	(vn_reference_lookup): Handle fully constant references.
	(vn_reference_lookup_pieces): Likewise.
	* Makefile.in (expmed.o-warn): Add -Wno-error.
	* g++.dg/warn/Warray-bounds-4.C: New testcase.
	* gcc.dg/Warray-bounds-7.c: Likewise.
From-SVN: r158058
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions
