Re: C++ PATCH for c++/88120, ICE with save_expr in template

2018-11-26 Thread Jason Merrill
OK. On Mon, Nov 26, 2018 at 12:12 PM Marek Polacek wrote: > > The problem here was that we were calling save_expr in a template, which > we shouldn't, as the comment in cp_save_expr explains. This problem > only appears on ptrmemfunc_vbit_in_delta targets. > > Bootstrapped/regtested on aarch64-li

C++ PATCH for c++/88120, ICE with save_expr in template

2018-11-26 Thread Marek Polacek
The problem here was that we were calling save_expr in a template, which we shouldn't, as the comment in cp_save_expr explains. This problem only appears on ptrmemfunc_vbit_in_delta targets. Bootstrapped/regtested on aarch64-linux, ok for trunk? 2018-11-26 Marek Polacek PR c++/88120