This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug optimization/11198] [3.3 regression] -O2 -frename-registers generates wrong code


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11198



------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-07-04 08:02 -------
Not quite. Don't forget that the AT&T style uses 'mov src,dest'.

According to GDB, the problem is rather here:
0x08048458      29            if (j < size2_ && i-j < 2)

 804844f:       dd 00                   fldl   (%eax)
 8048451:       8b 4d d8                mov    0xffffffd8(%ebp),%ecx
 8048454:       8b 11                   mov    (%ecx),%edx
 8048456:       31 c9                   xor    %ecx,%ecx
 8048458:       3b 0a                   cmp    (%edx),%ecx


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