Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <v97p5g$lfau$1@dont-email.me>
Deutsch   English   Français   Italiano  
<v97p5g$lfau$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Thiago Adams <thiago.adams@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: how cast works?
Date: Sat, 10 Aug 2024 10:15:28 -0300
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <v97p5g$lfau$1@dont-email.me>
References: <v8vlo9$2oc1v$1@dont-email.me> <slrnvb7kis.28a.dan@djph.net>
 <v929ah$3u7l7$1@dont-email.me> <87ttfu94yv.fsf@nosuchdomain.example.com>
 <v93a3t$6q7v$1@dont-email.me> <v93e2q$8put$1@dont-email.me>
 <v94smd$mgp8$1@dont-email.me> <v95j4r$qh1q$3@dont-email.me>
 <v95okr$2oa92$1@dont-email.me> <v95sij$1arjo$3@dont-email.me>
 <v97eo3$i03p$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 10 Aug 2024 15:15:29 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="34fda0570a31f50d695ac40d13b997a0";
	logging-data="703838"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX187cMLArYSTSBaBO3X+vKHbflRCOVJxuBw="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:6zaTbY3PUJVA78JXEu0Pv644vGs=
In-Reply-To: <v97eo3$i03p$2@dont-email.me>
Content-Language: en-GB
Bytes: 2597

Em 8/10/2024 7:17 AM, Bart escreveu:
> On 09/08/2024 21:01, David Brown wrote:
>> On 09/08/2024 20:54, Thiago Adams wrote:
> 
>> I don't know what you are referring to here.  But if you are using 
>> compiler explorer, I encourage you to look at the generated output for 
>> a wide range of targets, including 8-bit AVR, 16-bit MSP430, 32-bit 
>> ARM, and 64-bit x86.  Use gcc -O1 or -O2 in every case.
> 
> When would you choose -O2 over -O1 or vice versa? Could a similar 
> circumstance cause you to choose -O0? Why not -O3?
> 
> In fact, why is there a -O0 option at all?
> 
>    (Ignore Bart's
>> ignorant blatherings about optimisation.)
> 
> [To TA:]
> 
> Yes do. But don't complaint to me when your test code results in 
> meaningless or misleading output, or no output at all.
> 
> Actually, I would recommend looking at both (eg. -O0 and -O1) so that 
> you can see if the compiler's optimiser has been over-zealous in 
> eliminating code, or has chopped out key bits, so that you might modify 
> your test code.
> 
> I would recommend also looking at the Tiny C option on godbolt when 
> comparing x86 code.
> 



Bart, Does your compiler support the `bool` type, where the value is 
always either 1 or 0?