aboutsummaryrefslogtreecommitdiff
path: root/gcc/gensupport.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2006-03-15 10:14:51 +0000
committerAndreas Schwab <schwab@gcc.gnu.org>2006-03-15 10:14:51 +0000
commitc0fa4721981cd9c1675141bde3741e6151221dec (patch)
tree9fbf776b5cca18df37d94358dc7b8b216c719912 /gcc/gensupport.c
parentcc0f88952b9390e41d25adc84be3eea99808a501 (diff)
downloadgcc-c0fa4721981cd9c1675141bde3741e6151221dec.zip
gcc-c0fa4721981cd9c1675141bde3741e6151221dec.tar.gz
gcc-c0fa4721981cd9c1675141bde3741e6151221dec.tar.bz2
gensupport.c (identify_predicable_attribute): Don't free p_false when it is still in use.
* gensupport.c (identify_predicable_attribute): Don't free p_false when it is still in use. From-SVN: r112081
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 16878b8..c15540b 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. */