Re: read_only access attribute as optimizer hint

2022-09-07 Thread Henrik Holst
Den ons 7 sep. 2022 kl 09:48 skrev Richard Biener < richard.guent...@gmail.com>: > On Tue, Sep 6, 2022 at 5:19 PM Henrik Holst > wrote: > > > > > > > > Den tis 6 sep. 2022 kl 16:47 skrev Richard Biener < > richard.guent...@gmail.com>: > >>

Re: read_only access attribute as optimizer hint

2022-09-06 Thread Henrik Holst
Den tis 6 sep. 2022 kl 16:47 skrev Richard Biener < richard.guent...@gmail.com>: > > > > Am 06.09.2022 um 16:23 schrieb Henrik Holst < > henrik.ho...@millistream.com>: > > > > Hi all, > > > > is there any reason why the access attribute is no

read_only access attribute as optimizer hint

2022-09-06 Thread Henrik Holst
changing this to hint the optimizer should enable some nice optimizations of external functions where const in the declaration is not cast away. Regards, Henrik Holst