https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69924
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- As Daniel says, casting the result of the expression doesn't help if the expression itself doesn't compile. Still invalid code, not a gcc bug, so closing again.