On 21-04-15 09:50, Richard Biener wrote: > On Tue, 21 Apr 2015, Jan Hubicka wrote: > >>> Mark ifn_va_arg with ECF_NOTHROW >> >> You can definitely make it ECF_LEAF too. I wonder if we can make it ECF_CONST or at leat PURE >> this would help to keep variadic functions const/pure that may be moderately interesting >> in practice. > > Yes to ECF_LEAF but it isn't const or pure as it modifies the valist > argument so you can't for example DCE va_arg (...) if the result isn't > needed. > I've committed this patch that marks ifn_va_arg as ECF_LEAF. Bootstrapped and reg-tested on x86_64. Thanks, - Tom