https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77353
Georg-Johann Lay <gjl at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Component|other |c++ Resolution|--- |FIXED Target Milestone|--- |7.0 --- Comment #13 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- This works with v7 as expected, closing thusly (optimization PRs are usually not backported to older versions).