S/390: Register pass_s390_early_mach statically
authorIlya Leoshkevich <iii@linux.ibm.com>
Thu, 6 Sep 2018 07:35:35 +0000 (07:35 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Thu, 6 Sep 2018 07:35:35 +0000 (07:35 +0000)
commitd7252499463a4fe2c073d8a28c6c0c966e20755f
treec273449b084c0b8a65a8b15b899d95bf6861bd89
parentf0d2063151bddc1ab3cbd178afe3280a68ab76aa
S/390: Register pass_s390_early_mach statically

The dump file used to come at the end of the sorted dump file list,
because the pass was registered dynamically. This did not reflect the
order in which passes are executed. Static registration fixes this:

* foo4.c.277r.split2
* foo4.c.281r.early_mach
* foo4.c.282r.pro_and_epilogue

gcc/ChangeLog:

2018-09-06  Ilya Leoshkevich  <iii@linux.ibm.com>

PR target/80080
* config/s390/s390-passes.def: New file.
* config/s390/s390-protos.h (class rtl_opt_pass): Add forward
declaration.
(make_pass_s390_early_mach): Add declaration.
* config/s390/s390.c (make_pass_s390_early_mach):
(s390_option_override): Remove dynamic registration.
* config/s390/t-s390: Add s390-passes.def.

From-SVN: r264142
gcc/ChangeLog
gcc/config/s390/s390-passes.def [new file with mode: 0644]
gcc/config/s390/s390-protos.h
gcc/config/s390/s390.c
gcc/config/s390/t-s390