Patchwork Unbreak bootstrap

login
register
mail settings
Submitter Richard Guenther
Date Dec. 19, 2012, 2:32 p.m.
Message ID <alpine.LNX.2.00.1212191532050.14089@zhemvz.fhfr.qr>
Download mbox | patch
Permalink /patch/207365/
State New
Headers show

Comments

Richard Guenther - Dec. 19, 2012, 2:32 p.m.
I'll check in the following once it survived stage1.

Richard.

2012-12-19  Richard Biener  <rguenther@suse.de>

	* targhooks.h (default_canonicalize_comparison): Fix prototype.
	* targhooks.c (default_canonicalize_comparison): Define.

Patch

Index: gcc/targhooks.h
===================================================================
--- gcc/targhooks.h	(revision 194609)
+++ gcc/targhooks.h	(working copy)
@@ -179,7 +179,7 @@  extern unsigned char default_class_max_n
 
 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);
Index: gcc/targhooks.c
===================================================================
--- gcc/targhooks.c	(revision 194609)
+++ gcc/targhooks.c	(working copy)
@@ -1540,4 +1540,11 @@  default_member_type_forces_blk (const_tr
   return false;
 }
 
+/* Default version of canonicalize_comparison.  */
+
+void
+default_canonicalize_comparison (int *, rtx *, rtx *, bool)
+{
+}
+
 #include "gt-targhooks.h"