diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/gensupport.c | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 419c5db..8a51c0d 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 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. */ |
