Re: Preventing scheduling of normal operations across calls to built-ins

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

Ayonam Ray <ayonam@xxxxxxxxx> writes:

> What I can't understand is that why is the RTL reordered right at the
> expand stage itself.  If I turn off the optimization, then the reorder
> at the expand stage doesn't happen.  This can be seen in the expand
> output at -O0.  I am wondering if there is some issue with the manner
> in which the built-ins are initialized which makes the compiler think
> that they do not affect program state.

It looks like the function calls are being rearranged before you ever
get to the RTL.  What does your original source code look like?  How
precisely are you defining the builtin functions?


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

Add to Google