Commit 2fdaed89 by Jakub Jelinek

re PR target/81621 (ICE in delete_insn, at cfgrtl.c:167 with s390x cross compiler)

	PR target/81621
	* bb-reorder.c (pass_partition_blocks::execute): Return TODO_df_finish
	after setting changeable df flags.

	* gcc.dg/pr81621.c: New test.

From-SVN: r250857
parent 63e434ca
2017-08-03 Jakub Jelinek <jakub@redhat.com>
PR target/81621
* bb-reorder.c (pass_partition_blocks::execute): Return TODO_df_finish
after setting changeable df flags.
2017-08-03 Richard Biener <rguenther@suse.de> 2017-08-03 Richard Biener <rguenther@suse.de>
* tree-ssa-reassoc.c (should_break_up_subtract): Also break * tree-ssa-reassoc.c (should_break_up_subtract): Also break
up if the use is in USE - X. up if the use is in USE - X.
2017-08-03 Alexander Monakov <amonakov@ispras.ru> 2017-08-03 Alexander Monakov <amonakov@ispras.ru>
* toplev.c (dumpfile.h): New include. * toplev.c (dumpfile.h): New include.
(internal_error_reentered): New static function. Use it... (internal_error_reentered): New static function. Use it...
(internal_error_function): ...here to handle reentered internal_error. (internal_error_function): ...here to handle reentered internal_error.
2017-08-03 Richard Biener <rguenther@suse.de> 2017-08-03 Richard Biener <rguenther@suse.de>
PR middle-end/81148 PR middle-end/81148
* fold-const.c (split_tree): Add minus_var and minus_con * fold-const.c (split_tree): Add minus_var and minus_con
......
...@@ -2904,7 +2904,8 @@ pass_partition_blocks::execute (function *fun) ...@@ -2904,7 +2904,8 @@ pass_partition_blocks::execute (function *fun)
crossing_edges = find_rarely_executed_basic_blocks_and_crossing_edges (); crossing_edges = find_rarely_executed_basic_blocks_and_crossing_edges ();
if (!crossing_edges.exists ()) if (!crossing_edges.exists ())
return 0; /* Make sure to process deferred rescans and clear changeable df flags. */
return TODO_df_finish;
crtl->has_bb_partition = true; crtl->has_bb_partition = true;
...@@ -2970,7 +2971,8 @@ pass_partition_blocks::execute (function *fun) ...@@ -2970,7 +2971,8 @@ pass_partition_blocks::execute (function *fun)
df_analyze (); df_analyze ();
} }
return 0; /* Make sure to process deferred rescans and clear changeable df flags. */
return TODO_df_finish;
} }
} // anon namespace } // anon namespace
......
2017-08-03 Jakub Jelinek <jakub@redhat.com>
PR target/81621
* gcc.dg/pr81621.c: New test.
2017-08-03 Richard Biener <rguenther@suse.de> 2017-08-03 Richard Biener <rguenther@suse.de>
* gcc.dg/tree-ssa/reassoc-23.c: Adjust to fool early folding * gcc.dg/tree-ssa/reassoc-23.c: Adjust to fool early folding
and CSE. and CSE.
2017-08-03 Richard Biener <rguenther@suse.de> 2017-08-03 Richard Biener <rguenther@suse.de>
PR middle-end/81148 PR middle-end/81148
* c-c++-common/ubsan/pr81148.c: New testcase. * c-c++-common/ubsan/pr81148.c: New testcase.
......
/* PR target/81621 */
/* { dg-do compile { target freorder } } */
/* { dg-options "-Og -fno-split-wide-types -freorder-blocks-and-partition" } */
#include "graphite/scop-10.c"
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