https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96044
--- Comment #3 from Alex Coplan <acoplan at gcc dot gnu.org> --- Ah, it appears I just wasn't being patient enough. It seems you can make the constant folding take longer (arbitrarily long?) by adding another digit to the arguments. This code: void f(void) { __builtin_jn(733333,733333); } has been compiling for >= 1 minute for me.