diff options
author | revitale <revitale@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-17 07:36:55 +0000 |
---|---|---|
committer | revitale <revitale@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-17 07:36:55 +0000 |
commit | 81653d3ef19fab66c61737097cb0d817fab08b0c (patch) | |
tree | 6813e7350e3be40de7ee2aaa6c4a643f0ab843ab /gcc | |
parent | 02b63b67fc534cc4573fe135dc0433a698065331 (diff) | |
download | gcc-81653d3ef19fab66c61737097cb0d817fab08b0c.tar.gz |
Avoid unfreed memory when SMS fails
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172606 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/modulo-sched.c | 1 |
2 files changed, 4 insertions, 1 deletions
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 <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 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 { |