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:
parent
63e434cafa
commit
2fdaed8980
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
5
gcc/testsuite/gcc.dg/pr81621.c
Normal file
5
gcc/testsuite/gcc.dg/pr81621.c
Normal 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"
|
Loading…
Reference in New Issue
Block a user