On 8/17/22 13:50, Stefan Schulze Frielinghaus wrote: > For a parameter with BLKmode we cannot use REG_NREGS in order to > determine the number of consecutive registers. Streamlined this with > the implementation of s390_function_arg. > > Fix some indentation whitespace, too. > > Assuming bootstrap and regtest are ok for mainline and gcc-{10,11,12}, > ok to install for all of those? > > PR target/106355 > > gcc/ChangeLog: > > * config/s390/s390.cc (s390_call_saved_register_used): For a > parameter with BLKmode fix determining number of consecutive > registers. > > gcc/testsuite/ChangeLog: > > * gcc.target/s390/pr106355.h: Common code for new tests. > * gcc.target/s390/pr106355-1.c: New test. > * gcc.target/s390/pr106355-2.c: New test. > * gcc.target/s390/pr106355-3.c: New test.
Ok for all those branches. Please check if the branches are currently open before committing. GCC 11 and 12 appear to be but I'm not sure if GCC 10 has been re-opened again. There should be a final 10.5 release some day though. Thanks! Andreas