This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch ping
Uttam Pawar <uttamp@us.ibm.com> writes:
> *************** identify_predicable_attribute (void)
> *** 501,506 ****
> --- 507,515 ----
> value);
> errors = 1;
> }
> +
> + if (p_false)
> + free (p_false);
> }
This is broken. Checked in this patch as obvious fix to the bootstrap
failure.
Andreas.
2006-03-15 Andreas Schwab <schwab@suse.de>
* gensupport.c (identify_predicable_attribute): Don't free p_false
when it is still in use.
Index: gcc/gensupport.c
===================================================================
--- gcc/gensupport.c (revision 112080)
+++ gcc/gensupport.c (working copy)
@@ -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. */
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."