https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96044
Bug ID: 96044 Summary: GCC hangs in tight loop resolving __builtin_jn using MPFR Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: acoplan at gcc dot gnu.org Target Milestone: --- On the following code: void f(void) { __builtin_jn(73333,73333); } GCC since 4.3 hangs in a tight loop inside MPFR code trying to constant fold the call away.