[rx] further optimize alignment with -Os
DJ Delorie
dj@redhat.com
Wed Jun 11 19:31:00 GMT 2014
Minor tweak to space optimization. Committed.
* config/rx/rx.c (rx_max_skip_for_label): Don't skip anything if -Os.
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
{
More information about the Gcc-patches
mailing list