diff options
author | Andrey Belevantsev <abel@ispras.ru> | 2011-03-26 14:40:51 +0300 |
---|---|---|
committer | Andrey Belevantsev <abel@gcc.gnu.org> | 2011-03-26 14:40:51 +0300 |
commit | 5d369d583699112c7339f1f5555bd592f6fed70c (patch) | |
tree | e2cf568813894a52b11c45de3a130c1125d79816 /gcc/sel-sched.c | |
parent | 51c7954daf0d223599ad0aeea64b63816ee1e354 (diff) | |
download | gcc-5d369d583699112c7339f1f5555bd592f6fed70c.zip gcc-5d369d583699112c7339f1f5555bd592f6fed70c.tar.gz gcc-5d369d583699112c7339f1f5555bd592f6fed70c.tar.bz2 |
re PR rtl-optimization/48144 (ICE: in code_motion_path_driver, at sel-sched.c:6575 with -fselective-scheduling2 and custom flags)
PR rtl-optimization/48144
* sel-sched-ir.c (merge_history_vect): Factor out from ...
(merge_expr_data): ... here.
(av_set_intersect): Rename to av_set_code_motion_filter.
Update all callers. Call merge_history_vect when an expression
is found in both sets.
* sel-sched-ir.h (av_set_code_motion_filter): Add prototype.
gcc/testsuite
PR rtl-optimization/48144
* gcc.dg/pr48144.c: New test.
From-SVN: r171555
Diffstat (limited to 'gcc/sel-sched.c')
-rw-r--r-- | gcc/sel-sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sel-sched.c b/gcc/sel-sched.c index e26ddac..9179249 100644 --- a/gcc/sel-sched.c +++ b/gcc/sel-sched.c @@ -6481,7 +6481,7 @@ code_motion_path_driver (insn_t insn, av_set_t orig_ops, ilist_t path, /* Filter the orig_ops set. */ if (AV_SET_VALID_P (insn)) - av_set_intersect (&orig_ops, AV_SET (insn)); + av_set_code_motion_filter (&orig_ops, AV_SET (insn)); /* If no more original ops, return immediately. */ if (!orig_ops) |