https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80962
--- Comment #1 from Olivier Kannengieser <okannen at gmail dot com> --- Inside the comment section BUGGY CODE, the second commented line should be uncommented to see that gcc does not complaning for private access violation. The attached file is the version which causes gcc to bug.