Re: [PATCH] aarch64: Fix pure/const function attributes for intrinsics

2022-07-03 Thread Richard Biener via Gcc-patches
On Fri, Jul 1, 2022 at 5:59 PM Andrew Carlotti wrote: > > On Fri, Jul 01, 2022 at 08:42:15AM +0200, Richard Biener wrote: > > On Thu, Jun 30, 2022 at 6:04 PM Andrew Carlotti via Gcc-patches > > wrote: > > > diff --git a/gcc/config/aarch64/aarch64-builtins.cc > > > b/gcc/config/aarch64/aarch64-bu

Re: [PATCH] aarch64: Fix pure/const function attributes for intrinsics

2022-07-01 Thread Andrew Carlotti via Gcc-patches
On Fri, Jul 01, 2022 at 08:42:15AM +0200, Richard Biener wrote: > On Thu, Jun 30, 2022 at 6:04 PM Andrew Carlotti via Gcc-patches > wrote: > > diff --git a/gcc/config/aarch64/aarch64-builtins.cc > > b/gcc/config/aarch64/aarch64-builtins.cc > > index > > e0a741ac663188713e21f457affa57217d074783..

Re: [PATCH] aarch64: Fix pure/const function attributes for intrinsics

2022-06-30 Thread Richard Biener via Gcc-patches
On Thu, Jun 30, 2022 at 6:04 PM Andrew Carlotti via Gcc-patches wrote: > > No testcase for this, since I haven't found a way to turn the incorrect > attribute into incorrect codegen. > > Bootstrapped and tested on aarch64-none-linux gnu. > > gcc/ > > * config/aarch64/aarch64-builtins.c >

[PATCH] aarch64: Fix pure/const function attributes for intrinsics

2022-06-30 Thread Andrew Carlotti via Gcc-patches
No testcase for this, since I haven't found a way to turn the incorrect attribute into incorrect codegen. Bootstrapped and tested on aarch64-none-linux gnu. gcc/ * config/aarch64/aarch64-builtins.c (aarch64_get_attributes): Fix choice of pure/const attributes. --- diff --git a/