Re: [PATCH 1/2] S/390: Register pass_s390_early_mach statically

2018-09-06 Thread Andreas Krebbel
gcc/ChangeLog: 2018-08-27 Ilya Leoshkevich 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 (mak

[PATCH 1/2] S/390: Register pass_s390_early_mach statically

2018-09-05 Thread Ilya Leoshkevich
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: