On Tue, Dec 13, 2016 at 04:40:20PM -0600, Segher Boessenkool wrote:
> > +      /* If we got invalid arguments bail out before generating bad rtl.  
> > */
> 
> If what is invalid?  Just remove the first comment?

I had copied the code from DST before, and it returns (const_int 0).  However,
normal built-ins can't return (const_int 0) because the rest of the compiler
generates all sorts of errors.  Instead after raising the error, you have to
generate a normal function call.  I'll remove the comment.

-- 
Michael Meissner, IBM
IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA
email: meiss...@linux.vnet.ibm.com, phone: +1 (978) 899-4797

Reply via email to