summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-19 14:38:10 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-19 14:38:10 +0000
commitb7740973f453970ceace5797a0a8ec1cdf55770b (patch)
tree2840eb1ad04973f93788fa92df8db0bee3f5a7f6
parent827e392be72812c2ace9e54e7e00ed188fc6828d (diff)
downloadppe42-gcc-b7740973f453970ceace5797a0a8ec1cdf55770b.tar.gz
ppe42-gcc-b7740973f453970ceace5797a0a8ec1cdf55770b.zip
2012-12-19 Richard Biener <rguenther@suse.de>
* targhooks.h (default_canonicalize_comparison): Fix prototype. * targhooks.c (default_canonicalize_comparison): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194610 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/targhooks.c7
-rw-r--r--gcc/targhooks.h2
3 files changed, 13 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c7f3643ef7b..59eb8bbb09a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2012-12-19 Richard Biener <rguenther@suse.de>
+ * targhooks.h (default_canonicalize_comparison): Fix prototype.
+ * targhooks.c (default_canonicalize_comparison): Define.
+
+2012-12-19 Richard Biener <rguenther@suse.de>
+
PR tree-optimization/55736
PR tree-optimization/55703
* gimplify.c (prune_expr_location): New function.
diff --git a/gcc/targhooks.c b/gcc/targhooks.c
index be008fdcd5d..241c1cce577 100644
--- a/gcc/targhooks.c
+++ b/gcc/targhooks.c
@@ -1540,4 +1540,11 @@ default_member_type_forces_blk (const_tree, enum machine_mode)
return false;
}
+/* Default version of canonicalize_comparison. */
+
+void
+default_canonicalize_comparison (int *, rtx *, rtx *, bool)
+{
+}
+
#include "gt-targhooks.h"
diff --git a/gcc/targhooks.h b/gcc/targhooks.h
index fc13a26546b..bd7d4bc35e0 100644
--- a/gcc/targhooks.h
+++ b/gcc/targhooks.h
@@ -179,7 +179,7 @@ extern unsigned char default_class_max_nregs (reg_class_t, enum machine_mode);
extern enum unwind_info_type default_debug_unwind_info (void);
-extern bool default_canonicalize_comparison (int *, rtx *, rtx *, bool);
+extern void default_canonicalize_comparison (int *, rtx *, rtx *, bool);
extern int default_label_align_after_barrier_max_skip (rtx);
extern int default_loop_align_max_skip (rtx);
OpenPOWER on IntegriCloud