[Bug c++/126678] Defaulted operator== on an iota_view value type makes the enclosing loop be estimated ~7x colder than an identical hand-written operator==

"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126678

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 65263
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65263&action=edit
testscase

Next time please attach or put inline the testcase and not just link to
godbolt.
Note bugzilla has a nice feature where you can attach a text file by pasting
into a text box too so you don't need to "upload" a file.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.