https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457

--- Comment #5 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Created attachment 38156
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38156&action=edit
Patch that permits this to compile

The attached patch allows the compilation to succeed in spite of the incorrect
number of arguments provided to pow ().

I suppose this is a reasonable approach, but it makes me a bit queasy to let
obviously incorrect code go by undiagnosed.  Still, it's no different than
providing the wrong number of arguments to some other function; we only notice
here because we convert the function call to a built-in.

CCing Richard for his opinion.

Reply via email to