Re: C++ PATCH for c++/86240, ICE with ABSU_EXPR

2018-06-20 Thread Jason Merrill
OK. On Wed, Jun 20, 2018 at 11:34 AM, Marek Polacek wrote: > The recent change introducing ABSU_EXPR neglected to also handle this code > in cxx_eval_constant_expression so this patch puts it there. Also two > other spots for good measure. It's possible we'll find out that we need > to fix othe

C++ PATCH for c++/86240, ICE with ABSU_EXPR

2018-06-20 Thread Marek Polacek
The recent change introducing ABSU_EXPR neglected to also handle this code in cxx_eval_constant_expression so this patch puts it there. Also two other spots for good measure. It's possible we'll find out that we need to fix other spots too. Bootstrapped/regtested on x86_64-linux, ok for trunk?