summaryrefslogtreecommitdiffstats
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
parent4c3202f06206dc18b44c1fb331201a3fe33b5d70 (diff)
downloadppe42-gcc-79bd704983370b77df59fa72b69e54f83f5218f3.tar.gz
ppe42-gcc-79bd704983370b77df59fa72b69e54f83f5218f3.zip
* 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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/gensupport.c5
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 419c5db7db9..8a51c0d470a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-15 Andreas Schwab <schwab@suse.de>
+
+ * gensupport.c (identify_predicable_attribute): Don't free p_false
+ when it is still in use.
+
2006-03-15 Eric Botcazou <ebotcazou@libertysurf.fr>
* config.gcc (default with_cpu setting) <sparc*-*-*>: Do not modify
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. */
OpenPOWER on IntegriCloud