| Deutsch English Français Italiano |
|
<v52308$2nli8$3@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Vir Campestris <vir.campestris@invalid.invalid> Newsgroups: comp.lang.c Subject: Re: Baby X is bor nagain Date: Thu, 20 Jun 2024 21:21:28 +0100 Organization: A noiseless patient Spider Lines: 17 Message-ID: <v52308$2nli8$3@dont-email.me> References: <v494f9$von8$1@dont-email.me> <v49seg$14cva$1@raubtier-asyl.eternal-september.org> <v49t6f$14i1o$1@dont-email.me> <v4bcbj$1gqlo$1@raubtier-asyl.eternal-september.org> <v4bh56$1hibd$1@dont-email.me> <v4c0mg$1kjmk$1@dont-email.me> <v4c8s4$1lki1$4@dont-email.me> <20240613002933.000075c5@yahoo.com> <v4emki$28d1b$1@dont-email.me> <20240613174354.00005498@yahoo.com> <v4okn9$flpo$2@dont-email.me> <v4p37r$k32n$1@dont-email.me> <v4pei3$m5th$2@dont-email.me> <v4plsk$nn9o$2@dont-email.me> <v4pnq6$o4fs$1@dont-email.me> <v4q245$si2n$1@dont-email.me> <v4q2rl$sqk3$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 20 Jun 2024 22:21:28 +0200 (CEST) Injection-Info: dont-email.me; posting-host="9122310e68364567a00773b3a65b23ce"; logging-data="2872904"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Vb8ekTjQHUXiUbhrs++yLAGwLh7LhIlc=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:YqA9V1mvlEwsenD2hz2jVyOg36w= In-Reply-To: <v4q2rl$sqk3$1@dont-email.me> Content-Language: en-GB Bytes: 2412 On 17/06/2024 20:29, David Brown wrote: > I do my C development with optimisations enabled, which means that the C > compiler will obey all the rules and requirements of C. Optimisations > don't change the meaning of correct code - they only have an effect on > the results of your code if you have written incorrect code. I don't > know about you, but my aim in development is to write /correct/ code. If > disabling optimisations helped in some way, it would be due to bugs and > luck. To me disabling optimisations does one slightly useful thing (compiles a little quicker) and one really useful one. It makes the interactive debugger work. Optimised code confuses the debugger, especially when it does things like reorder code, unroll loops, or merge equivalent functions. Of course I then test with the optimised version. Andy