[m-rev.] trivial diff: workaround cygwin C compiler bug
Fergus Henderson
fjh at cs.mu.OZ.AU
Tue Jan 28 14:06:34 AEDT 2003
On 27-Jan-2003, Mark Brown <dougl at cs.mu.OZ.AU> wrote:
> When compiled with '--opt-space', the following module exposes what appears
> to be a bug in the cygwin C compiler installed on hermes. The symptom is
> that walking up the stack to retrieve the caller's label layout sometimes
> returns the wrong layout. Under mdb, the call event for the first call
> to a/2 reports the calling context as line 11, which is correct. However,
> the call event for the second call to a/2 reports the same calling context,
> when in fact the context should be line 13.
What makes you think this is a bug in the C compiler?
Have you reported the bug to the GCC developers?
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list