https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91501
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2020-01-14
Ever confirmed|0 |1
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, This is a front-end issue.
In fact you can workaround the issue by using a const reference inside doStuff.
