https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120247

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #2)
> PAREN_EXPR should behave like NON_LVALUE_EXPR, aka it produces an rvalue.

Right that is what I expected. The C front-end rejects it correctly but the C++
front-end does not.

Reply via email to