Commit 362e280d by Richard Biener Committed by Richard Biener

re PR tree-optimization/90395 (ICE: verify_flow_info failed (error: BB 2 cannot…

re PR tree-optimization/90395 (ICE: verify_flow_info failed (error: BB 2 cannot throw but has an EH edge))

2019-05-09  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/90395
	* tree-ssa-forwprop.c (pass_forwprop::execute): Do not
	rewrite vector stores that throw internally.

	* gcc.dg/torture/pr90395.c: New testcase.

From-SVN: r271031
parent 8de916aa
2019-05-09 Richard Biener <rguenther@suse.de>
PR tree-optimization/90395
* tree-ssa-forwprop.c (pass_forwprop::execute): Do not
rewrite vector stores that throw internally.
2019-05-09 Thomas Schwinge <thomas@codesourcery.com>
* cif-code.def (CHKP): Remove.
......
2019-05-09 Richard Biener <rguenther@suse.de>
PR tree-optimization/90395
* gcc.dg/torture/pr90395.c: New testcase.
2019-05-08 Cherry Zhang <cherryyz@google.com>
* go.dg/cmpstring.go: New test.
......
/* { dg-do compile } */
/* { dg-additional-options "-fexceptions -fnon-call-exceptions" } */
typedef int v16si __attribute__ ((__vector_size__ (64)));
void
rl (int uq)
{
v16si qw[1];
qw[uq] = (v16si) { uq };
}
......@@ -2570,6 +2570,7 @@ pass_forwprop::execute (function *fun)
if (single_imm_use (lhs, &use_p, &use_stmt)
&& gimple_store_p (use_stmt)
&& !gimple_has_volatile_ops (use_stmt)
&& !stmt_can_throw_internal (cfun, use_stmt)
&& is_gimple_assign (use_stmt)
&& (TREE_CODE (gimple_assign_lhs (use_stmt))
!= TARGET_MEM_REF))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment