Patchwork [RFC,v3] New -fcompare-elim pass

login
register
mail settings
Submitter Andreas Schwab
Date Jan. 23, 2011, 2:27 p.m.
Message ID <m24o8zy9sl.fsf@igel.home>
Download mbox | patch
Permalink /patch/80058/
State New
Headers show

Comments

Andreas Schwab - Jan. 23, 2011, 2:27 p.m.
Committed.

Andreas.

2011-01-23  Andreas Schwab  <schwab@linux-m68k.org>

	* compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED
	markers.

Patch

Index: compare-elim.c
===================================================================
--- compare-elim.c	(revision 169142)
+++ compare-elim.c	(working copy)
@@ -404,7 +404,8 @@  find_comparisons (void)
    Note that this function may start a change group.  */
 
 static rtx
-maybe_select_cc_mode (struct comparison *cmp, rtx a, rtx b)
+maybe_select_cc_mode (struct comparison *cmp, rtx a ATTRIBUTE_UNUSED,
+		      rtx b ATTRIBUTE_UNUSED)
 {
   enum machine_mode sel_mode;
   const int n = cmp->n_uses;