aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2001-01-07 19:39:19 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2001-01-07 18:39:19 +0000
commitab94bc48842d18b6e44546303904656fa37777f2 (patch)
tree6257660a69c432d217093b6d999d5392a89e6f7b /gcc/rtl.h
parentf6a13bffbbae0b5cf9e74b8ee169c892d25faf0e (diff)
downloadgcc-ab94bc48842d18b6e44546303904656fa37777f2.zip
gcc-ab94bc48842d18b6e44546303904656fa37777f2.tar.gz
gcc-ab94bc48842d18b6e44546303904656fa37777f2.tar.bz2
jump.c (reversed_comparison_code_parts, [...]): New.
* jump.c (reversed_comparison_code_parts, reversed_comparison_code): New. (can_reverse_comparison_p): Rewrite to use reversed_comparison_code. (reverse_condition_maybe_unordered): Abort on unsigned comparisons. * rtl.h (reversed_comparison_code_parts, reversed_comparison_code): Declare. From-SVN: r38779
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 6e2aee6..9db7a37 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1701,6 +1701,9 @@ extern void rebuild_jump_labels PARAMS ((rtx));
extern void thread_jumps PARAMS ((rtx, int, int));
extern int rtx_equal_for_thread_p PARAMS ((rtx, rtx, rtx));
extern int can_reverse_comparison_p PARAMS ((rtx, rtx));
+extern enum rtx_code reversed_comparison_code PARAMS ((rtx, rtx));
+extern enum rtx_code reversed_comparison_code_parts PARAMS ((enum rtx_code,
+ rtx, rtx, rtx));
extern void delete_for_peephole PARAMS ((rtx, rtx));
extern int condjump_in_parallel_p PARAMS ((rtx));
extern void never_reached_warning PARAMS ((rtx));