From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: "ozan s. yigit" Message-ID: <4da3d9af.0203131248.60d6899e@posting.google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit References: , <3C849349.89B794B6@strakt.com>, <87adtj7yyl.fsf@becket.becket.net> Subject: macro fun [Re: [9fans] plan or side effect] Date: Thu, 14 Mar 2002 09:56:31 +0000 Topicbox-Message-UUID: 66f5d604-eaca-11e9-9e20-41e7f4b1d025 Thomas Bushnel [in response to boyd] > > > > s/amazing // > > s/performance/correctness/ > > Um, so, is there a bug in the glibc implementation of strcpy? Um, so, would you consider the following a bug in gcc, glibc or both: bent!oz| cc -o t t.c bent!oz| ./t hello world! bent!oz| cc -O -o t t.c t.c:3: parse error before `__extension__' i'll let you figure out what t.c trivially contains to make a soup with the "optimized" macro, thanks to simple textual substitution. :) so would be be fair to say the generated output is not correct, and boyd is right to be concerned? oz --- gag reflex is an essential part of computing.