https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80080

--- Comment #13 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
Author: krebbel
Date: Thu Sep  6 07:35:35 2018
New Revision: 264142

URL: https://gcc.gnu.org/viewcvs?rev=264142&root=gcc&view=rev
Log:
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  <i...@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.



Added:
    trunk/gcc/config/s390/s390-passes.def
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/s390/s390-protos.h
    trunk/gcc/config/s390/s390.c
    trunk/gcc/config/s390/t-s390

Reply via email to