Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: C Compilers QoI Date: Tue, 14 Mar 2017 12:05:27 -0700 Organization: None to speak of Lines: 46 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="68145e82dff5cec9d4077a7833a68c0b"; logging-data="29072"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18N63AqRSRWJPZrHbTyyePp" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:MQOuUsnVdW2LRw+v+uhhj/8dsIE= sha1:90c08vIqymJz3FFLZ7FYzlm58IU= Xref: csiph.com comp.lang.c:106073 BartC writes: > On 14/03/2017 16:26, Keith Thompson wrote: >> BartC writes: >>> I was doing some very routine tests but came across surprising issues >>> with a few of my C compilers that I didn't expect. >>> >>> This was the test code: >>> >>> int main(void) { >>> int a,b,c,d; >>> >>> a = b+c*d; >>> } >>> >>> except that the 'a=b+c*d;' line was repeated a million times. (Also >>> those lines are in an include file, but I don't think that matters.) >> >> BartC, I'm going to reply to this by e-mail. > > > Um, OK (it sounds like I'm going to get a ticking-off for something). Not particularly, just some thoughts that I didn't want to post to the newsgroup. I might post something later if we have a useful e-mail discussion -- or you can feel free to do so. > Remember to change the 'bc' to 'bcas'. I see you mentioned that about a year ago; I completely forgot. I'll re-send. (I understand not wanting to have a valid address in your article headers, but you might consider using a signature that reminds people to tweak the address -- or just use a valid e-mail address. Your choice, of course, but if you're going to use an invalid address I suggest making it obviously invalid. I don't get a bounce when I send an e-mail to the address in your Usenet headers.) > (In case it affects your reply, I've now been testing with 10Mloc > files rather than the mere million mentioned above) It doesn't. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"