gcc/ChangeLog:
2016-02-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* config/s390/s390.c (s390_register_info_set_ranges): Remove
superfluous loops.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233173
138bc75d-0d04-0410-961f-
82ee72b054a4
+2016-02-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
+
+ * config/s390/s390.c (s390_register_info_set_ranges): Remove
+ superfluous loops.
+
2016-02-05 Dominik Vogt <vogt@linux.vnet.ibm.com>
* doc/extend.texi: S/390: Correct some typos.
for (j = 15; j > i && cfun_gpr_save_slot (j) != SAVE_SLOT_STACK; j--);
cfun_frame_layout.first_restore_gpr = (i == 16) ? -1 : i;
cfun_frame_layout.last_restore_gpr = (i == 16) ? -1 : j;
-
- /* Now the range of GPRs which need saving. */
- for (i = 0; i < 16 && cfun_gpr_save_slot (i) != SAVE_SLOT_STACK; i++);
- for (j = 15; j > i && cfun_gpr_save_slot (j) != SAVE_SLOT_STACK; j--);
cfun_frame_layout.first_save_gpr = (i == 16) ? -1 : i;
cfun_frame_layout.last_save_gpr = (i == 16) ? -1 : j;
}