On Fri, Jul 18, 2025 at 07:22:39PM +0200, Florian Weimer wrote: > > On Fri, Jul 18, 2025 at 07:03:16PM +0200, Florian Weimer wrote: > >> > There isn't much in the GCC code that deals with -fwrapv at all. > >> > "grep flag_wrapv" finds 29 occurrences only, and 3 more in config/ (all > >> > for Andes). > >> > >> I think most uses are hidden behind TYPE_OVERFLOW_WRAPS and > >> TYPE_OVERFLOW_UNDEFINED. > > > > True. Some other languages require this after all. > > > > 112 for TYPE_OVERFLOW_WRAPS, 116 for TYPE_OVERFLOW_UNDEF, and 38 for > > TYPE_OVERFLOW_TRAPS. > > > > A bit more, but still not much. > > Some of those are in ranger engine, and that potentially impacts are lot > of optimization decisions. Sure, but can you show an example of that? And, when you finally find one, please tell us how hard to find it was :-) Segher