[rx] further optimize alignment with -Os
diff mbox

Message ID 201406111931.s5BJVHe0015736@greed.delorie.com
State New
Headers show

Commit Message

DJ Delorie June 11, 2014, 7:31 p.m. UTC
Minor tweak to space optimization.  Committed.

	* config/rx/rx.c (rx_max_skip_for_label): Don't skip anything if -Os.

Patch
diff mbox

Index: config/rx/rx.c
===================================================================
--- config/rx/rx.c	(revision 211479)
+++ config/rx/rx.c	(working copy)
@@ -3207,12 +3207,15 @@  rx_align_for_label (rtx lab, int uses_th
 static int
 rx_max_skip_for_label (rtx lab)
 {
   int opsize;
   rtx op;
 
+  if (optimize_size)
+    return 0;
+
   if (lab == NULL_RTX)
     return 0;
 
   op = lab;
   do
     {