gensupport.c (identify_predicable_attribute): Don't free p_false when it is still...
authorAndreas Schwab <schwab@suse.de>
Wed, 15 Mar 2006 10:14:51 +0000 (10:14 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Wed, 15 Mar 2006 10:14:51 +0000 (10:14 +0000)
* gensupport.c (identify_predicable_attribute): Don't free p_false
when it is still in use.

From-SVN: r112081

gcc/ChangeLog
gcc/gensupport.c

index 419c5db7db91b2acf2e2492d25111e861887d9ba..8a51c0d470adcebf508aa5f1359c1d791b66c4f5 100644 (file)
@@ -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
index 16878b8cf09d768c0cd2e9505c8856cc5f4e46e2..c15540b90067d12c2b07391d1cc3b9369a5ed118 100644 (file)
@@ -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.  */