Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: David Brown Newsgroups: comp.lang.c Subject: Re: "undefined behavior"? Date: Fri, 14 Jun 2024 19:13:42 +0200 Organization: A noiseless patient Spider Lines: 13 Message-ID: References: <666a095a$0$952$882e4bbb@reader.netnews.com> <666a2146$0$950$882e4bbb@reader.netnews.com> <87cyok5rsd.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 14 Jun 2024 19:13:42 +0200 (CEST) Injection-Info: dont-email.me; posting-host="5114d15351a76dd9e40c177759448f25"; logging-data="3127587"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18dX14m+EDLxFZ3mYT1ez8ga5Q+NkwG7aw=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Cancel-Lock: sha1:0Q7k7yESRXlSC50CmRGCk4dieFg= In-Reply-To: <87cyok5rsd.fsf@nosuchdomain.example.com> Content-Language: en-GB Bytes: 1631 On 14/06/2024 01:47, Keith Thompson wrote: > David Brown writes: > [...] >> Certainly "-O3" is rarely worth it unless you are also using a >> "-march=" flag (such as "-fmarch=native") to tune for a particular >> processor and enable stuff like vectorisation. Getting the fastest >> code is more of an art than a science! > > Typo: it's "-march=native". > Thanks.