https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61636
Jeaye <contact at jeaye dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |contact at jeaye dot com --- Comment #10 from Jeaye <contact at jeaye dot com> --- I've found this and reduced it to: http://coliru.stacked-crooked.com/a/74930f2d4e963c6a Manually specifying this->work(); allows compilation. Changing auto to int also allows compilation.