OSDN Git Service

PR middle-end/44337
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 May 2010 15:42:10 +0000 (15:42 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 May 2010 15:42:10 +0000 (15:42 +0000)
commitd8d9af508dedb6d6f62eb4d5467103addd0a4626
treeb716fddb474b0e91db60b56b8c1b3b22c5fde518
parent39a98435d5b965a89ee773e57a73fe2b22cc4584
PR middle-end/44337
* expr.c (expand_assignment): Don't store anything for out-of-bounds
array accesses with non-MEM.

* gcc.dg/pr44337.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160076 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr44337.c [new file with mode: 0644]