https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81194
--- Comment #5 from Peter Bergner <bergner at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #3) > I don't see g++ options mentioned anywhere, the testcase compiles even with > latest trunk just fine with -O0 -std=c++17 or -O2 -std=c++17. ...and compiles fine with -O1 -std=c++17 and -O3 -std=c++17 too, so I'll need more info to be able to recreate this.