https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63267
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- ICC and GCC produce the same result while clang produces: Output constructed do it a: 100 Note I noticed if I used std::cout, I get a crash with clang even.