http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48099
Summary: Evaluation order of arguments in a call expression Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassig...@gcc.gnu.org ReportedBy: ibuc...@ubuntu.com Using flag_evaluation_order instead of PUSH_ARGS_REVERSE in gimplify_call_expr shouldn't have any effect on the actual order arguments are actually written, and gives correct behaviour for frontends that require left-to-right evaluation of arguments in a call expression. ie: i = 1; foo(i++, i++, i++); // foo(1,2,3) Regards