Article View: gnu.gcc.bug
Article #5910Re: Error in Compiling the following code
From: Alexandre Oliva
Date: Mon, 27 Jan 1997 00:00
Date: Mon, 27 Jan 1997 00:00
17 lines
1298 bytes
1298 bytes
N Damodharan writes: > Looking at the semantics of the program I feel that CC > results are correct while that of GCC are wrong. I feel this > has some thing to do with the way parameter passed to a > function are parsed... The semantics of your program are not clear, as there is no correct order of evaluation of arguments. Besides, you are changing the value of a variable more than one between two sequence points, and this is undefined. gcc is correct, although the output may seem unexpected. -- Alexandre Oliva mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org Universidade Estadual de Campinas, SP, Brasil
Technical Details
Message-ID:
<or4tg2iozd.fsf@dcc.unicamp.br>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<199701271124.GAA09540@sashp108.sasi.ernet.in>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113d02,e2bba56dc5659051 X-Google-Attributes: gid113d02,public From: oliva@dcc.unicamp.br (Alexandre Oliva) Subject: Re: Error in Compiling the following code Date: 1997/01/27 Message-ID: <or4tg2iozd.fsf@dcc.unicamp.br> X-Deja-AN: 212709080 sender: bug-gcc-request@prep.ai.mit.edu references: <199701271124.GAA09540@sashp108.sasi.ernet.in> content-type: text/plain; charset=US-ASCII organization: IC - UNICAMP - Campinas, SP, Brazil x-gateway: relay3.UU.NET from bug-gcc to gnu.gcc.bug; Mon, 27 Jan 1997 20:13:05 EST mime-version: 1.0 (generated by tm-edit 7.101) newsgroups: gnu.gcc.bug