Re: [PATCH] c++: Mark __builtin_convertvector operand as read [PR93557]

2020-02-05 Thread Jason Merrill
On 2/5/20 5:44 AM, Jakub Jelinek wrote: Hi! In C++ we weren't calling mark_exp_read on the __builtin_convertvector first argument. I guess it could misbehave even with lambda implicit captures. Fixed by calling decay_conversion on the argument, we use the argument as rvalue so we want the stan

[PATCH] c++: Mark __builtin_convertvector operand as read [PR93557]

2020-02-05 Thread Jakub Jelinek
Hi! In C++ we weren't calling mark_exp_read on the __builtin_convertvector first argument. I guess it could misbehave even with lambda implicit captures. Fixed by calling decay_conversion on the argument, we use the argument as rvalue so we want the standard lvalue to rvalue conversions, but as