diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2009-04-18 09:24:45 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2009-04-18 09:24:45 +0000 |
commit | 92ef7fb19a5111b98e86eb7c59d1a1d759ac1ec2 (patch) | |
tree | eac4cee15a78ad544b9a96b83862fb6e75037cb9 /gcc/tree-iterator.c | |
parent | 0e097268ba02d44bba29eb8e3955cde6e9bd5c7f (diff) | |
download | gcc-92ef7fb19a5111b98e86eb7c59d1a1d759ac1ec2.zip gcc-92ef7fb19a5111b98e86eb7c59d1a1d759ac1ec2.tar.gz gcc-92ef7fb19a5111b98e86eb7c59d1a1d759ac1ec2.tar.bz2 |
re PR middle-end/36902 (Array bound warning with dead code after optimization)
2009-04-18 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR middle-end/36902
* tree-vrp.c (check_array_ref): Pass a location_t instead of a
pointer. Use warning_at instead of warning.
(search_for_addr_array): Likewise.
(check_array_bounds): Likewise.
(check_all_array_refs): Check that the incoming edge is not in the
list of edges to be removed.
(check_all_array_refs): Avoid the temporal pointer.
(vrp_visit_cond_stmt): Fix typo.
(simplify_switch_using_ranges): Handle the case where the switch
index is an integer constant.
testsuite/
* gcc.dg/pr36902.c: New.
From-SVN: r146305
Diffstat (limited to 'gcc/tree-iterator.c')
0 files changed, 0 insertions, 0 deletions