From 42c2bf92b44cfa89884e381b4d649e463b48744a Mon Sep 17 00:00:00 2001 From: Revital Eres Date: Sun, 17 Apr 2011 07:36:55 +0000 Subject: [PATCH] Avoid unfreed memory when SMS fails From-SVN: r172606 --- gcc/ChangeLog | 4 ++++ gcc/modulo-sched.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) 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 { -- 2.30.2