2010-07-19 Richard Guenther <rguenther@suse.de>
commitaeccaf28d8aadad4c270ffb7ca2727773606fec9
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Jul 2010 15:39:51 +0000 (19 15:39 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Jul 2010 15:39:51 +0000 (19 15:39 +0000)
tree0ae59fd9f0d195c2d6333012468dd2a2a43fcd65
parent639bf191a04e597c90aabca3e05fa6fd489b185e
2010-07-19  Richard Guenther  <rguenther@suse.de>

PR middle-end/44941
* expr.c (emit_block_move_hints): Move zero size check first.
Move asserts to more useful places.
* calls.c (load_register_parameters): Check for zero size.

* gcc.c-torture/compile/pr44941.c: New testcase.

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