https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87530
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-10-08 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Smells like a variant of PR 87150 to me, but not a regression as it's been doing the wrong thing since we started treating named lvalues as rvalues in return statements. Marek, could you take a look please?