Volatile MEMs in statement expressions and functions inlined astrees
Paul Schlie
schlie@mediaone.net
Tue Dec 18 18:43:00 GMT 2001
To be more clear, it would appear that:
statement <- assignment-expression <- ? <- variable <- "p"
Don't see how to get there from "p".
-paul-
>>>>>> "Paul" == Paul Schlie <schlie@mediaone.net> writes:
>
>> At risk of exposing my ignorance, after looking through the C syntax
>> definition, it's not even clear to me that "p;" is syntactically valid.
>
> Yeah sure. P; is just a statment. Evaluate p, nothing else:
>
> load R1, @p ;; load p into a register
>
> Gcc will realize the value of p is not used and opt not to generate
> code for it at all, at least for -On (n > 0).
>
> Aldy
More information about the Gcc-patches
mailing list