diff options
| author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-15 14:27:55 +0000 |
|---|---|---|
| committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-15 14:27:55 +0000 |
| commit | b74882296eb0d172225dc797dad731849bc538be (patch) | |
| tree | 280eea0f927f26121b5402f767c4c4a84f40d518 /libjava/gnu/java/lang/MainThread.java | |
| parent | 90ef72692e5e0bb9bab009ce24437d499bec43f8 (diff) | |
| download | ppe42-gcc-b74882296eb0d172225dc797dad731849bc538be.tar.gz ppe42-gcc-b74882296eb0d172225dc797dad731849bc538be.zip | |
2008-03-15 Richard Guenther <rguenther@suse.de>
PR middle-end/35593
* tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Make sure
to not produce negative array indices if not allowed. Add
parameter to indicate that.
(maybe_fold_offset_to_component_ref): Allow negative array
indices only for the first member of a structure.
(maybe_fold_offset_to_reference): Allow negative array indices.
(maybe_fold_stmt_addition): Likewise.
* g++.dg/warn/Warray-bounds-3.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133249 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java/lang/MainThread.java')
0 files changed, 0 insertions, 0 deletions

