At Thu, 28 May 2026 19:04:07 -0400, Jason Thorpe <thorpej%me.com@localhost> wrote: Subject: Re: netbsd-11 gcc bug > > > > On May 28, 2026, at 5:40 PM, Greg A. Woods <woods%planix.ca@localhost> > > wrote: > > The reason for the "belief" that UB is (often) related to > > optimizers is squarely resting on the fact that when the > > optimizer is turned off then the UB goes away. So it's not > > really a belief -- it's a demonstrable fact! > > Eh.. The undefined behavior doesn t go away, per se, it just is > undefined differently :-) > > Maybe a better say to state it is: when the optimizer is turned > off, the unexpected behavior goes away . Yes, indeed that's much more like what I meant! A different expansion of the abbreviation "UB"! -- Greg A. Woods <gwoods%acm.org@localhost> Kelowna, BC +1 250 762-7675 RoboHack <woods%robohack.ca@localhost> Planix, Inc. <woods%planix.com@localhost> Avoncote Farms <woods%avoncote.ca@localhost>
Attachment:
pgpvxfQd7q7r5.pgp
Description: OpenPGP Digital Signature