aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2018-03-02 10:16:50 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2018-03-02 10:16:50 +0100
commitec2d71214f90e21675a5abbe5b532273f7b11ded (patch)
tree3d15c0641b451c63150370c5e946ac77cb1d82d3 /gcc/rtl.h
parentbe86d201598e3b653acc6db1542b0c799c401e09 (diff)
downloadgcc-ec2d71214f90e21675a5abbe5b532273f7b11ded.zip
gcc-ec2d71214f90e21675a5abbe5b532273f7b11ded.tar.gz
gcc-ec2d71214f90e21675a5abbe5b532273f7b11ded.tar.bz2
re PR rtl-optimization/84614 (wrong code with u16->u128 extension at aarch64 -fno-split-wide-types -g3 --param=max-combine-insns=3)
PR target/84614 * rtl.h (prev_real_nondebug_insn, next_real_nondebug_insn): New prototypes. * emit-rtl.c (next_real_insn, prev_real_insn): Fix up function comments. (next_real_nondebug_insn, prev_real_nondebug_insn): New functions. * cfgcleanup.c (try_head_merge_bb): Use prev_real_nondebug_insn instead of a loop around prev_real_insn. * combine.c (move_deaths): Use prev_real_nondebug_insn instead of prev_real_insn. * gcc.dg/pr84614.c: New test. From-SVN: r258129
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index c9dd7dd..f31b4ad 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -3277,6 +3277,8 @@ extern rtx_insn *next_nonnote_nondebug_insn (rtx_insn *);
extern rtx_insn *next_nonnote_nondebug_insn_bb (rtx_insn *);
extern rtx_insn *prev_real_insn (rtx_insn *);
extern rtx_insn *next_real_insn (rtx);
+extern rtx_insn *prev_real_nondebug_insn (rtx_insn *);
+extern rtx_insn *next_real_nondebug_insn (rtx);
extern rtx_insn *prev_active_insn (rtx_insn *);
extern rtx_insn *next_active_insn (rtx_insn *);
extern int active_insn_p (const rtx_insn *);