diff options
author | Richard Guenther <rguenther@suse.de> | 2012-04-05 09:45:18 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-04-05 09:45:18 +0000 |
commit | 3d3f224949f46f992c30ef39036b6f0d20c2406d (patch) | |
tree | 82a4f09ff51f17c39f508dc9425bc833499b68fd /gcc/tree-ssa-math-opts.c | |
parent | b5b3ec3e6ebe5b7a07654d94f53f97b0a8cca050 (diff) | |
download | gcc-3d3f224949f46f992c30ef39036b6f0d20c2406d.zip gcc-3d3f224949f46f992c30ef39036b6f0d20c2406d.tar.gz gcc-3d3f224949f46f992c30ef39036b6f0d20c2406d.tar.bz2 |
tree-nrv.c (tree_nrv): Release VDEFs.
2012-04-05 Richard Guenther <rguenther@suse.de>
* tree-nrv.c (tree_nrv): Release VDEFs.
* tree-sra.c (sra_modify_constructor_assign): Likewise.
(sra_modify_assign): Likewise.
* tree-vect-stmts.c (vect_remove_stores): Likewise.
* tree-vect-loop.c (vect_transform_loop): Likewise.
* tree-ssa-dom.c (optimize_stmt): Likewise.
* tree-vect-slp.c (vect_schedule_slp): Likewise.
* tree-ssa-math-opts.c (execute_cse_sincos): Likewise.
From-SVN: r186160
Diffstat (limited to 'gcc/tree-ssa-math-opts.c')
-rw-r--r-- | gcc/tree-ssa-math-opts.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/tree-ssa-math-opts.c b/gcc/tree-ssa-math-opts.c index 5c3543e..f54d08d 100644 --- a/gcc/tree-ssa-math-opts.c +++ b/gcc/tree-ssa-math-opts.c @@ -1430,6 +1430,8 @@ execute_cse_sincos (void) gimple_set_location (new_stmt, loc); unlink_stmt_vdef (stmt); gsi_replace (&gsi, new_stmt, true); + if (gimple_vdef (stmt)) + release_ssa_name (gimple_vdef (stmt)); } break; @@ -1450,6 +1452,8 @@ execute_cse_sincos (void) gimple_set_location (new_stmt, loc); unlink_stmt_vdef (stmt); gsi_replace (&gsi, new_stmt, true); + if (gimple_vdef (stmt)) + release_ssa_name (gimple_vdef (stmt)); } break; @@ -1465,6 +1469,8 @@ execute_cse_sincos (void) gimple_set_location (new_stmt, loc); unlink_stmt_vdef (stmt); gsi_replace (&gsi, new_stmt, true); + if (gimple_vdef (stmt)) + release_ssa_name (gimple_vdef (stmt)); } break; |