From f580a969d7fbab634949805c8b7e49f4e6273a7f Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Thu, 29 Jun 2017 18:20:14 +0000 Subject: ccmp.c (ccmp_tree_comparison_p): New function. 2017-06-29 Steve Ellcey * ccmp.c (ccmp_tree_comparison_p): New function. (ccmp_candidate_p): Update to use above function. (get_compare_parts): New function. (expand_ccmp_next): Update to use new functions. (expand_ccmp_expr_1): Take tree arg instead of gimple, update to use new functions. (expand_ccmp_expr): Pass tree instead of gimple to expand_ccmp_expr_1, take mode as argument. * ccmp.h (expand_ccmp_expr): Add mode as argument. * expr.c (expand_expr_real_1): Pass mode as argument. From-SVN: r249805 --- gcc/ccmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/ccmp.h') diff --git a/gcc/ccmp.h b/gcc/ccmp.h index bc1aafb..93d1049 100644 --- a/gcc/ccmp.h +++ b/gcc/ccmp.h @@ -20,6 +20,6 @@ along with GCC; see the file COPYING3. If not see #ifndef GCC_CCMP_H #define GCC_CCMP_H -extern rtx expand_ccmp_expr (gimple *); +extern rtx expand_ccmp_expr (gimple *, machine_mode); #endif /* GCC_CCMP_H */ -- cgit v1.1