https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119325
Bug ID: 119325 Summary: [15 Regression] libgomp.c/simd-math-1.c (gcn offloading): timeout (for fmodf, remainderf) since r15-7284-g6b56e645a7b481 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: openmp, wrong-code Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: ams at gcc dot gnu.org, rguenth at gcc dot gnu.org, tschwinge at gcc dot gnu.org Target Milestone: --- Target: gcn The testcase does GCN target offloading. The following two testcases fail by causing time outs: TEST_FUN2 (float, -10.0, 10.0, 100.0, -25.0, fmodf); and TEST_FUN2 (float, -50.0, 100.0, -2.0, 40.0, remainderf); [The other checks are fine.] That happens at least for gfx90a and gfx908. Working: 2025-01-25T06:59 UTC Failing: 2025-02-01T13:54 UTC Bisecting points at r15-7284-g6b56e645a7b481 commit 6b56e645a7b481693fe6982f8f09ba2e07768bf8 Author: Richard Biener Date: Wed Jan 29 15:09:35 2025 +0100 middle-end/118692 - ICE with out-of-bound ref expansion The following guards the BIT_FIELD_REF expansion fallback for MEM_REFs of entities expanded to register (or constant) further, avoiding large out-of-bound offsets by, when the access does not overlap the base object, expanding the offset as if it were zero. PR middle-end/118692 * expr.cc (expand_expr_real_1): When expanding a MEM_REF as BIT_FIELD_REF avoid large offsets for accesses not overlapping the base object. * gcc.dg/pr118692.c: New testcase.