https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86301
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to zhonghao from comment #0) > A previous version of clang++ produces similar error message for this code, > but was fixed. No it didn't, the error shown in the Clang bug comes from GCC! Please make more effort to understand what you are doing, OR I WILL BAN YOUR ACCOUNT.