>>> >>> while GCC3.4.4 treats the long long multiplication just like simple >>> ones, which generates only one >>> mult insn for each statement, like >>> >>> In my understanding, It‘s not necessary using three mult insn to implement >>> long long mult, since the operands are converted from int type. >> >> This is more helpful. It is a known case in which GCC 4.x generates worse >> code. > > Should be fixed with 4.6.
Hi, I tested this problem on GCC4.6 snapshot, and it works. But I could not find the specific patch or record in buglist, could you help? thanks very much. -- Best Regards.