diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-26 11:40:53 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-26 11:40:53 +0000 |
commit | e85c47146292fad7d65a1af5d5a1ede666ac26d1 (patch) | |
tree | 69ec948ba29623647bab924a85fa4110caa56260 /gcc/genattrtab.c | |
parent | e8dbf5509e6c144da609caff91e0de51c7c82cc7 (diff) | |
download | gcc-e85c47146292fad7d65a1af5d5a1ede666ac26d1.tar.gz |
* combine.c (gen_rtx_combine): Add missing call to va_end().
* final.c (asm_fprintf): Likewise.
* genattrtab.c (attr_rtx): Likewise.
cp:
* lex.c (compiler_error): Add missing call to va_end().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29667 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r-- | gcc/genattrtab.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index 19adfeae06b..3d61c93f5d2 100644 --- a/gcc/genattrtab.c +++ b/gcc/genattrtab.c @@ -668,9 +668,15 @@ attr_rtx VPROTO((enum rtx_code code, ...)) { HOST_WIDE_INT arg0 = va_arg (p, HOST_WIDE_INT); if (arg0 == 0) - return false_rtx; + { + va_end (p); + return false_rtx; + } if (arg0 == 1) - return true_rtx; + { + va_end (p); + return true_rtx; + } goto nohash; } else |