Re: [PATCH] rs6000: Fix use of wrong enum for built-in function code.

2021-12-03 Thread Bill Schmidt via Gcc-patches
On 12/3/21 10:26 AM, Segher Boessenkool wrote: > Hi! > > On Thu, Dec 02, 2021 at 04:53:18PM -0600, Bill Schmidt wrote: >> I discovered this bug while working on patches to remove the old built-ins >> infrastructure. I missed a spot in converting from the rs6000_builtins enum >> to >> the

Re: [PATCH] rs6000: Fix use of wrong enum for built-in function code.

2021-12-03 Thread Segher Boessenkool
Hi! On Thu, Dec 02, 2021 at 04:53:18PM -0600, Bill Schmidt wrote: > I discovered this bug while working on patches to remove the old built-ins > infrastructure. I missed a spot in converting from the rs6000_builtins enum > to > the rs6000_gen_builtins enum. This fixes it. The fix is

[PATCH] rs6000: Fix use of wrong enum for built-in function code.

2021-12-02 Thread Bill Schmidt via Gcc-patches
Hi! I discovered this bug while working on patches to remove the old built-ins infrastructure. I missed a spot in converting from the rs6000_builtins enum to the rs6000_gen_builtins enum. This fixes it. The fix is technically not right if new_builtins_are_enabled were to be set to zero, but