Avoid unfreed memory when SMS fails
authorRevital Eres <revital.eres@linaro.org>
Sun, 17 Apr 2011 07:36:55 +0000 (07:36 +0000)
committerRevital Eres <revitale@gcc.gnu.org>
Sun, 17 Apr 2011 07:36:55 +0000 (07:36 +0000)
From-SVN: r172606

gcc/ChangeLog
gcc/modulo-sched.c

index 4f85a6531a2213e2ac64e5d287c40f951bdda645..76448283a3e30de385896332950d16dae1b19428 100644 (file)
@@ -1,3 +1,7 @@
+2011-04-17  Revital Eres  <revital.eres@linaro.org>
+
+       * modulo-sched.c (sms_schedule): Avoid unfreed memory when SMS fails.
+
 2011-04-17  Michael Matz  <matz@suse.de>
 
        PR tree-optimization/48622
index 7a113d60c496beccf5789df0729d190d688bcb36..73317444ff764577198a2237c0fea62a4396e962 100644 (file)
@@ -1177,7 +1177,6 @@ sms_schedule (void)
              fprintf (dump_file, HOST_WIDEST_INT_PRINT_DEC, trip_count);
              fprintf (dump_file, ")\n");
            }
-         continue;
        }
       else
        {