https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57883
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |11.2.0, 12.0 Known to fail| |11.1.0 CC| |redi at gcc dot gnu.org --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Looks fixed for GCC 11.2.0 and on the trunk. I can't figure out which patch fix it though. we get now: <source>:7:28: error: 'size_t' has not been declared 7 | double& operator[](size_t i) { | ^~~~~~