]> gcc.gnu.org Git - gcc.git/commit
rs6000, add argument to function find_instance
authorCarl Love <cel@us.ibm.com>
Wed, 26 Jul 2023 17:49:47 +0000 (13:49 -0400)
committerCarl Love <cel@us.ibm.com>
Wed, 26 Jul 2023 17:55:45 +0000 (13:55 -0400)
commit3fce8097e8c2ccb0acb937b904b6709bc7ecb2a4
tree8ed6351eb577a1d979a89260418eec34990b69b7
parent5bd02d910e990c723a5914a64621a1ac89bc5257
rs6000, add argument to function find_instance

The function find_instance assumes it is called to check a built-in with
only two arguments.  This patch extends the function by adding a parameter
specifying the number of built-in arguments to check.

Note, this patch was supposed to have been applied before commit:

  commit b51795c832cf6e724d61919eb18a383223b76694
  Author: Carl Love <cel@us.ibm.com>
  Date:   Wed Jul 26 11:31:53 2023 -0400

      rs6000, fix vec_replace_unaligned built-in arguments
       ...

gcc/ChangeLog:
* config/rs6000/rs6000-c.cc (find_instance): Add new parameter that
specifies the number of built-in arguments to check.
(altivec_resolve_overloaded_builtin): Update calls to find_instance
to pass the number of built-in arguments to be checked.
gcc/config/rs6000/rs6000-c.cc
This page took 0.057499 seconds and 5 git commands to generate.