Re: [PATCH] c++, v2: Fix constexpr evaluation of parameters passed by invisible reference [PR111284]

2024-04-25 Thread Jason Merrill
On 4/23/24 08:52, Jakub Jelinek wrote: On Mon, Apr 15, 2024 at 02:19:36PM +0200, Jakub Jelinek wrote: They weren't the same, one was trying to evaluate the convert_from_reference with vc_glvalue, the other evaluates it without that and with vc_prvalue. Now, I guess the + /* Undo

[PATCH] c++, v2: Fix constexpr evaluation of parameters passed by invisible reference [PR111284]

2024-04-23 Thread Jakub Jelinek
On Mon, Apr 15, 2024 at 02:19:36PM +0200, Jakub Jelinek wrote: > They weren't the same, one was trying to evaluate the convert_from_reference > with vc_glvalue, the other evaluates it without that and with vc_prvalue. > Now, I guess the > + /* Undo convert_for_arg_passing work here. */ > +