From: Revital Eres Date: Sun, 17 Apr 2011 07:36:55 +0000 (+0000) Subject: Avoid unfreed memory when SMS fails X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=42c2bf92b44cfa89884e381b4d649e463b48744a;p=gcc.git Avoid unfreed memory when SMS fails From-SVN: r172606 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4f85a6531a2..76448283a3e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-04-17 Revital Eres + + * modulo-sched.c (sms_schedule): Avoid unfreed memory when SMS fails. + 2011-04-17 Michael Matz PR tree-optimization/48622 diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c index 7a113d60c49..73317444ff7 100644 --- a/gcc/modulo-sched.c +++ b/gcc/modulo-sched.c @@ -1177,7 +1177,6 @@ sms_schedule (void) fprintf (dump_file, HOST_WIDEST_INT_PRINT_DEC, trip_count); fprintf (dump_file, ")\n"); } - continue; } else {