diff options
Diffstat (limited to 'meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99514.patch')
| -rw-r--r-- | meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99514.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99514.patch b/meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99514.patch new file mode 100644 index 0000000000..3fe9bbca52 --- /dev/null +++ b/meta-oe/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99514.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | 2011-05-19 Revital Eres <revital.eres@linaro.org> | ||
| 2 | |||
| 3 | gcc/ | ||
| 4 | * ddg.c (free_ddg_all_sccs): Free sccs field in struct | ||
| 5 | ddg_all_sccs. | ||
| 6 | * modulo-sched.c (sms_schedule): Avoid unfreed | ||
| 7 | memory when SMS fails. | ||
| 8 | |||
| 9 | === modified file 'gcc/ddg.c' | ||
| 10 | --- old/gcc/ddg.c 2011-05-11 08:00:14 +0000 | ||
| 11 | +++ new/gcc/ddg.c 2011-05-13 16:16:22 +0000 | ||
| 12 | @@ -978,6 +978,7 @@ | ||
| 13 | for (i = 0; i < all_sccs->num_sccs; i++) | ||
| 14 | free_scc (all_sccs->sccs[i]); | ||
| 15 | |||
| 16 | + free (all_sccs->sccs); | ||
| 17 | free (all_sccs); | ||
| 18 | } | ||
| 19 | |||
| 20 | |||
| 21 | === modified file 'gcc/modulo-sched.c' | ||
| 22 | --- old/gcc/modulo-sched.c 2011-05-11 08:00:14 +0000 | ||
| 23 | +++ new/gcc/modulo-sched.c 2011-05-13 16:16:22 +0000 | ||
| 24 | @@ -1216,7 +1216,6 @@ | ||
| 25 | fprintf (dump_file, HOST_WIDEST_INT_PRINT_DEC, trip_count); | ||
| 26 | fprintf (dump_file, ")\n"); | ||
| 27 | } | ||
| 28 | - continue; | ||
| 29 | } | ||
| 30 | else | ||
| 31 | { | ||
| 32 | |||
