Re: [PATCH] c++: P1937R2 - Fixing inconsistencies between const{expr,eval} functions

2020-02-24 Thread Jason Merrill
On 2/24/20 9:06 AM, Jakub Jelinek wrote: Hi! The following patch implements my understanding of P1937R2, though I wonder if https://eel.is/c++draft/expr.const#14.example-1 shouldn't have been also either removed or adjusted by the P1937R2 paper. Ah, good catch. Bootstrapped/regtested on x86_

[PATCH] c++: P1937R2 - Fixing inconsistencies between const{expr,eval} functions

2020-02-24 Thread Jakub Jelinek
Hi! The following patch implements my understanding of P1937R2, though I wonder if https://eel.is/c++draft/expr.const#14.example-1 shouldn't have been also either removed or adjusted by the P1937R2 paper. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2020-02-24 Jakub Jeli