------- Comment #6 from kargl at gcc dot gnu dot org 2010-06-16 21:51 ------- (In reply to comment #5) > This makes no sense at all. Rainer, I'm really sorry if it seems that I'm > shooting questions a bit at random, but I have a hard time imagining how to > narrow it down. > > Can you try the following equivalent C code (at -O0): > >
(Code) > > > Right now, the only thing I can see make sense is numerically instability in > the libm. Also, how are atan2f and atan2 defined in the system's math.h > header? > Do they have simple prototypes? Are they actually macros? > Does -ffloat-store change the outcome? This looks to possibly be an excess precision problem and the difference between something in a register and main memory. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44448