summaryrefslogtreecommitdiff
path: root/gcc/gensupport.c
diff options
context:
space:
mode:
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-15 10:14:51 +0000
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-15 10:14:51 +0000
commit79bd704983370b77df59fa72b69e54f83f5218f3 (patch)
tree9fbf776b5cca18df37d94358dc7b8b216c719912 /gcc/gensupport.c
parent4c3202f06206dc18b44c1fb331201a3fe33b5d70 (diff)
downloadgcc-79bd704983370b77df59fa72b69e54f83f5218f3.tar.gz
* gensupport.c (identify_predicable_attribute): Don't free p_false
when it is still in use. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112081 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gensupport.c')
-rw-r--r--gcc/gensupport.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/gensupport.c b/gcc/gensupport.c
index 16878b8cf09..c15540b9006 100644
--- a/gcc/gensupport.c
+++ b/gcc/gensupport.c
@@ -510,10 +510,9 @@ identify_predicable_attribute (void)
"unknown value `%s' for `predicable' attribute",
value);
errors = 1;
+ if (p_false)
+ free (p_false);
}
-
- if (p_false)
- free (p_false);
}
/* Return the number of alternatives in constraint S. */