https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67809
Matt Godbolt <matt at godbolt dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matt at godbolt dot org --- Comment #1 from Matt Godbolt <matt at godbolt dot org> --- A colleague has pointed out this of course is not a "do nothing" if the list is circular. IANALL but I wonder if clang/icc take advantage of some kind of "infinite loop is undefined behaviour" here that GCC doesn't.