https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123330
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Tobias Schlüter from comment #2) > Sure, I meant "undefined on the hardware level." I hope you're not saying > that the optimizers go crazy when using __builtin_clz(0) even when using > -mlzcnt? No it is undefined at the source level too.
