diff options
| author | bwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-01 20:07:21 +0000 |
|---|---|---|
| committer | bwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-01 20:07:21 +0000 |
| commit | 4588bbd8785340a884b4b2fc43fb595e69a95e7e (patch) | |
| tree | 746be344bac599f9f4f3860e4958fc723f03e51b /gcc | |
| parent | 51f6f80c492fb2c38dce93568751a830ace50b85 (diff) | |
| download | ppe42-gcc-4588bbd8785340a884b4b2fc43fb595e69a95e7e.tar.gz ppe42-gcc-4588bbd8785340a884b4b2fc43fb595e69a95e7e.zip | |
* config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
in previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51704 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/xtensa/xtensa.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa98fbbf0cd..b9b882cea24 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2002-04-01 Bob Wilson <bob.wilson@acm.org> + * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning + in previous change. + +2002-04-01 Bob Wilson <bob.wilson@acm.org> + * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments for which MUST_PASS_IN_STACK is true (e.g., variable-sized types). diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c index c6bc9590ea2..6b80602c367 100644 --- a/gcc/config/xtensa/xtensa.c +++ b/gcc/config/xtensa/xtensa.c @@ -2503,6 +2503,7 @@ xtensa_va_arg (valist, type) array = gen_reg_rtx (Pmode); + lab_over = NULL_RTX; if (!MUST_PASS_IN_STACK (VOIDmode, type)) { lab_false = gen_label_rtx (); @@ -2551,7 +2552,7 @@ xtensa_va_arg (valist, type) if (r != array) emit_move_insn (array, r); - if (!MUST_PASS_IN_STACK (VOIDmode, type)) + if (lab_over != NULL_RTX) emit_label (lab_over); |

