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

Andrew Macleod <amacleod at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Andrew Macleod <amacleod at redhat dot com> ---
Yeah, we aren't expecting the parameter and the LHS to be different.  Why do we
mark this as a builtin function if it doesn't match the parameter list?

Regardless, when folding the call we assumed the parameter type matches the
LHS.  This patch changes it so if the types do not match, we will assume
nothing about the function instead.

Reply via email to