| Deutsch English Français Italiano |
|
<20240627201830.854@kylheku.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feed.opticnetworks.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Kaz Kylheku <643-408-1753@kylheku.com> Newsgroups: comp.lang.c Subject: Re: Baby X is bor nagain Date: Fri, 28 Jun 2024 03:23:47 -0000 (UTC) Organization: A noiseless patient Spider Lines: 26 Message-ID: <20240627201830.854@kylheku.com> References: <v494f9$von8$1@dont-email.me> <v53i4s$33k73$2@dont-email.me> <v53lf7$34huc$1@dont-email.me> <v53vh6$368vf$1@dont-email.me> <v54se1$3bqsk$1@dont-email.me> <20240624160941.0000646a@yahoo.com> <v5bu5r$va3a$1@dont-email.me> <20240624181006.00003b94@yahoo.com> <v5c86d$11ac7$1@dont-email.me> <JEheO.108086$ED9b.74955@fx11.iad> <v5cblg$11q0j$1@dont-email.me> <gEieO.108089$ED9b.25598@fx11.iad> <20240625113616.000075e0@yahoo.com> <mUzeO.141609$Cqra.55051@fx10.iad> <v5elql$1jmii$1@dont-email.me> <m3BeO.24907$Gurd.16179@fx34.iad> <v5empd$1jndv$2@dont-email.me> <v5eph4$1k6a9$1@dont-email.me> <87ed8jnbmf.fsf@bsb.me.uk> <v5jhls$2m7np$1@dont-email.me> <v5jm32$2nqvp$1@dont-email.me> <v5k3v2$2qllm$1@dont-email.me> <v5kfst$2svt3$1@dont-email.me> <v5kmlm$2u918$1@dont-email.me> Injection-Date: Fri, 28 Jun 2024 05:23:48 +0200 (CEST) Injection-Info: dont-email.me; posting-host="244f511bc25166cb90e0a6761b13f13d"; logging-data="3318832"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/GJa2vFqP336sdfvVcuY7W2SVLMXAiBxA=" User-Agent: slrn/pre1.0.4-9 (Linux) Cancel-Lock: sha1:SVICymQhxPhkcuWy7zBnsnm0ebM= Bytes: 2720 On 2024-06-27, bart <bc@freeuk.com> wrote: > And for most of /my/ compiles, the code produced by gcc-O0 is fast > enough. It also about the same speed as code produced by one of my > compilers. > > So I tend to use it when I want the extra speed, or other compilers > don't work, or when a particular app only builds with that compiler. > > Otherwise the extra overheads are not worth the bother. How good are your diagnostics compared to GCC -O2, plus -Wall and -W? Some diagnostics are not produced or don't work well without optimization, because the the same analysis that goes into optimization also goes into proofs connected to diagnostics. For instance, some code look like might use a variable without initializing it, under some conditions. The optimizer can rule out of those conditions (e.g. by transforming the code in a way that makes it obvious that the use of the variable is not reached without crossing an assignment to it.) -- TXR Programming Language: http://nongnu.org/txr Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal Mastodon: @Kazinator@mstdn.ca