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
This commit is contained in:
Jakub Jelinek 2017-08-03 16:41:08 +02:00
parent 63e434cafa
commit 2fdaed8980
4 changed files with 23 additions and 5 deletions

View File

@ -1,15 +1,21 @@
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>
* tree-ssa-reassoc.c (should_break_up_subtract): Also break
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.
(internal_error_reentered): New static function. Use it...
(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
* fold-const.c (split_tree): Add minus_var and minus_con

View File

@ -2904,7 +2904,8 @@ pass_partition_blocks::execute (function *fun)
crossing_edges = find_rarely_executed_basic_blocks_and_crossing_edges ();
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;
@ -2970,7 +2971,8 @@ pass_partition_blocks::execute (function *fun)
df_analyze ();
}
return 0;
/* Make sure to process deferred rescans and clear changeable df flags. */
return TODO_df_finish;
}
} // anon namespace

View File

@ -1,9 +1,14 @@
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>
* gcc.dg/tree-ssa/reassoc-23.c: Adjust to fool early folding
and CSE.
2017-08-03 Richard Biener <rguenther@suse.de>
2017-08-03 Richard Biener <rguenther@suse.de>
PR middle-end/81148
* c-c++-common/ubsan/pr81148.c: New testcase.

View File

@ -0,0 +1,5 @@
/* PR target/81621 */
/* { dg-do compile { target freorder } } */
/* { dg-options "-Og -fno-split-wide-types -freorder-blocks-and-partition" } */
#include "graphite/scop-10.c"