[Bug c++/88103] [7/8/9 Regression] Wrong value category when conditional expression result is used as object expression
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 28 23:58:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88103
--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> ---
Possibly unrelated, but PR 67795 is another example where ?: has the wrong
value category depending on where it is used (cast vs return).
>From my comment in https://gcc.gnu.org/ml/gcc-patches/2013-07/msg00234.html ,
we were still not implementing the full standard rules after my patch, I don't
know if that happened since. Still, I am surprised if my patch caused those
errors.
More information about the Gcc-bugs
mailing list