diff options
author | Uttam Pawar <uttamp@us.ibm.com> | 2006-02-15 14:33:33 -0500 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2006-02-15 14:33:33 -0500 |
commit | f4daf7e44e61ed8987d419a692015de25405be70 (patch) | |
tree | 85a04c4c6472b196d5500b4a0eef2a9432fb0107 /gcc/opts.c | |
parent | f7ca46d66f50f2520120a859b8a7c01eca6bcb23 (diff) | |
download | gcc-f4daf7e44e61ed8987d419a692015de25405be70.zip gcc-f4daf7e44e61ed8987d419a692015de25405be70.tar.gz gcc-f4daf7e44e61ed8987d419a692015de25405be70.tar.bz2 |
re PR rtl-optimization/26184 (memory leaks in swing modulo scheduling function)
2006-02-15 Uttam Pawar <uttamp@us.ibm.com>
PR rtl-optimization/26184
* modulo-sched.c (generate_reg_moves): Free bitmap vector
uses_of_defs.
* modulo-sched.c (sms_schedule): Free g_arr pointer.
* modulo-sched.c (sms_schedule_by_order): Free bitmap pointers
must_precede, must_follow and tobe_scheduled.
PR other/26147
* opts.c (common_handle_option): Free new_option pointer.
* df-core.c (df_analyze): Free postorder pointer.
From-SVN: r111114
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -777,7 +777,7 @@ common_handle_option (size_t scode, const char *arg, int value, option_index = find_opt (new_option, lang_mask); if (option_index == N_OPTS) { - error("-Werror-%s: No option -%s", arg, new_option); + error ("-Werror-%s: No option -%s", arg, new_option); } else { @@ -789,6 +789,7 @@ common_handle_option (size_t scode, const char *arg, int value, && cl_options[option_index].flag_var && kind == DK_ERROR) *(int *) cl_options[option_index].flag_var = 1; + free (new_option); } } break; |