mirror of git://gcc.gnu.org/git/gcc.git
gimplify.c (gimplify_cleanup_point_expr): For empty body and EH-only cleanup drop the cleanup instead of inserting it...
2010-06-07 Richard Guenther <rguenther@suse.de> * gimplify.c (gimplify_cleanup_point_expr): For empty body and EH-only cleanup drop the cleanup instead of inserting it unconditionally. From-SVN: r160371
This commit is contained in:
parent
d94a3592d4
commit
ae0595b089
|
@ -1,3 +1,9 @@
|
||||||
|
2010-06-07 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
|
* gimplify.c (gimplify_cleanup_point_expr): For empty body
|
||||||
|
and EH-only cleanup drop the cleanup instead of inserting it
|
||||||
|
unconditionally.
|
||||||
|
|
||||||
2010-06-07 Ira Rosen <irar@il.ibm.com>
|
2010-06-07 Ira Rosen <irar@il.ibm.com>
|
||||||
|
|
||||||
* doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): Update
|
* doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): Update
|
||||||
|
|
|
@ -5140,9 +5140,10 @@ gimplify_cleanup_point_expr (tree *expr_p, gimple_seq *pre_p)
|
||||||
{
|
{
|
||||||
/* Note that gsi_insert_seq_before and gsi_remove do not
|
/* Note that gsi_insert_seq_before and gsi_remove do not
|
||||||
scan operands, unlike some other sequence mutators. */
|
scan operands, unlike some other sequence mutators. */
|
||||||
gsi_insert_seq_before_without_update (&iter,
|
if (!gimple_wce_cleanup_eh_only (wce))
|
||||||
gimple_wce_cleanup (wce),
|
gsi_insert_seq_before_without_update (&iter,
|
||||||
GSI_SAME_STMT);
|
gimple_wce_cleanup (wce),
|
||||||
|
GSI_SAME_STMT);
|
||||||
gsi_remove (&iter, true);
|
gsi_remove (&iter, true);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue