projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecc263d
)
Tidy gas current_frame before exit
author
Alan Modra
<amodra@gmail.com>
Fri, 18 Mar 2022 03:34:51 +0000
(14:04 +1030)
committer
Alan Modra
<amodra@gmail.com>
Fri, 18 Mar 2022 06:07:36 +0000
(16:37 +1030)
Releases some obstack memory on an error path.
* cond.c (cond_finish_check): Call cond_exit_macro.
gas/cond.c
patch
|
blob
|
history
diff --git
a/gas/cond.c
b/gas/cond.c
index d5c0911d77e8abad754f97334aeae21b33cbb931..b6e538a846f5eb6f6c53dc4c7dee0fd82083dee1 100644
(file)
--- a/
gas/cond.c
+++ b/
gas/cond.c
@@
-561,6
+561,7
@@
cond_finish_check (int nest)
as_bad_where (current_cframe->else_file_line.file,
current_cframe->else_file_line.line,
_("here is the \"else\" of the unterminated conditional"));
+ cond_exit_macro (nest);
}
}