Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2001:
[Freeciv-Dev] Re: (Offtopic?) Compiler Optimization (was Server Error (P
Home

[Freeciv-Dev] Re: (Offtopic?) Compiler Optimization (was Server Error (P

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (Offtopic?) Compiler Optimization (was Server Error (PR#666))
From: Falk Hueffner <falk.hueffner@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: 02 Feb 2001 10:52:49 +0100

½²«íµØ <iquin@xxxxxxxxxx> writes:

> > Could you email me the soure that you compiled to produce this?  I'd
> > like to try to chase this down.
> Sure, try these:
> foo(w,e){int xo,x;for(x=w;x<e;x++)bar(x+xo-w);}
> foo(w,e){int xo,x=e-w;do bar(x+xo-1);while(--x);}

Uhm, just what did you want to test with that? xo is uninitialized, so
the compiler might generate anything he likes...

        Falk



[Prev in Thread] Current Thread [Next in Thread]