Re: [PATCH 6/9] Split class rtx_reader into md_reader vs rtx_reader

2016-11-22 Thread Richard Sandiford
Sorry, only just realised that this one hadn't been approved as part of the earlier series. David Malcolm writes: > gcc/ChangeLog: > * genpreds.c (write_tm_constrs_h): Update for renaming of > rtx_reader_ptr to md_reader_ptr. > (write_tm_preds_h): Likewise. > (write_insn_p

[PATCH 6/9] Split class rtx_reader into md_reader vs rtx_reader

2016-11-11 Thread David Malcolm
Link to earlier discussion: https://gcc.gnu.org/ml/gcc-patches/2016-10/msg01690.html This moves read_rtx and friends into rtx_reader, and splits rtx_reader into two classes: class md_reader: has responsibility for reading chars, managing include files, top-level directives etc. It is the read-