2012-12-19 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Dec 2012 14:38:10 +0000 (14:38 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Dec 2012 14:38:10 +0000 (14:38 +0000)
* 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

gcc/ChangeLog
gcc/targhooks.c
gcc/targhooks.h

index c7f3643..59eb8bb 100644 (file)
@@ -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.
index be008fd..241c1cc 100644 (file)
@@ -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"
index fc13a26..bd7d4bc 100644 (file)
@@ -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);