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

parameter evaluation order


I would like to be able to tell the gcc compiler is should evaluate the
parameter in the left to right order.

Putting them in separate values is not an solution for me, because that does
not work when you use the && or || operator. Then i would also to put
separate if sentences for them, which is not handy since I'm writing a code
generator.

How can I turn off this optimization which causes the evaluation order to be
changed?
-- 
View this message in context: http://old.nabble.com/parameter-evaluation-order-tp31139614p31139614.html
Sent from the gcc - Help mailing list archive at Nabble.com.


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