This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problem with ARM port and pow() function


On 22 October 2007 09:07, Fau Marz wrote:

> When the execution reaches the line 101, I expect that the next step should
> continue at 102 or return back in the calling procedure, depending on the
> result of "if(ix <= 0x3fe921fb)".
> 
> But this is NOT what happens: the execution after line 101 go back to line
> 100!

  Common behaviour when you compile with optimisation on, the compiler has
rearranged the code slightly and the debugger is doing its best to show you
which bit of code you're executing when.  It's much easier to debug if you
recompile everything using "-O0" in your CFLAGS.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]