This is the mail archive of the gcc@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]

Re: inconsistencies in the documentation regarding side effects with auto inc-dec


i will fix it.

kenny

On 03/17/2010 07:28 PM, Ramana Radhakrishnan wrote:
> Hi Kenneth,
>
> The documentation of auto-inc-dec still refers to flow and when I
> raised this on IRC folks suggested that you might have some
> documentation fixes if any, in this area.
>
> http://gcc.gnu.org/onlinedocs/gccint/Incdec.html#Incdec
>
> The lines in the doco are as below :
>
> These embedded side effect expressions must be used with care.
> Instruction patterns may not use them. Until the `flow' pass of the
> compiler, they may occur only to represent pushes onto the stack. The
> `flow' pass finds cases where registers are incremented or decremented
> in one instruction and used as an address shortly before or after;
> these cases are then transformed to use pre- or post-increment or
> -decrement.
>
>
> Cheers
> Ramana
>   


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