diff options
| author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-07 18:54:28 +0000 |
|---|---|---|
| committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-07 18:54:28 +0000 |
| commit | 1d881c0295f0f46eb3ce5d1c674b9bb52daccc34 (patch) | |
| tree | 6db930741a1591471ed698ee5312a1c604315210 /libjava/gnu/java | |
| parent | 9fef061fe48188a1c9215a8949fed57b230a5924 (diff) | |
| download | ppe42-gcc-1d881c0295f0f46eb3ce5d1c674b9bb52daccc34.tar.gz ppe42-gcc-1d881c0295f0f46eb3ce5d1c674b9bb52daccc34.zip | |
PR optimization/11059
* expr.c (can_store_by_pieces): Return true if length is zero.
(store_by_pieces): If length is zero and endp is two, abort,
othwerise, if length is zero and endp is not two, return "to".
(clear_by_pieces): Do nothing if length is zero.
(clear_storage): Do nothing if length is zero.
(store_constructor): Simplify code when size is zero, or the
target has already been cleared. This avoids emitting a
blockage instruction when initializing empty structures.
* g++.dg/opt/emptyunion.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69049 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java')
0 files changed, 0 insertions, 0 deletions

