RE: Handling pre-increment and post-increment in GCC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Haley wrote:

> No, it's nothing at all to do with the ABI, and it has nothing to do
> with the order in which the arguments are evaluated.  Postincrements
> may be performaed at any time at all, as long as they are complete
> before the next sequence point.  For example, gcc used to queue all
> postincrements and emit them at the next sequence point.

OK, thanks for putting me straight. My version came from old observations
(from other compilers too) but I didn't consider how SSA would change it
all. I did see the 3,3 I was expecting from gcc 3.4.6 -O0.

Rup.



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux