[Bug middle-end/119325] [15 Regression] libgomp.c/simd-math-1.c (gcn offloading): timeout (for fmodf, remainderf) since r15-7257-g54bdeca3c62144

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 18 09:00:14 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119325

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
Can you attach preprocessed source of the libm function?  The rev in question
had some followup fixes for other corner-cases, but given it only changes

+           /* When the access is fully outside of the underlying object
+              expand the offset as zero.  This avoids out-of-bound
+              BIT_FIELD_REFs and generates smaller code for these cases
+              with UB.  */
+           type_size = tree_to_poly_uint64 (TYPE_SIZE_UNIT (type));
+           if (!ranges_maybe_overlap_p (offset, type_size, 0,
+                                        GET_MODE_SIZE (DECL_MODE (base))))
+             offset = 0;

I wonder what out-of-object access we have here?


More information about the Gcc-bugs mailing list