Re: [PATCH] pragma: Update target option node when optimization changes [PR103515]

2021-12-12 Thread Kewen.Lin via Gcc-patches
on 2021/12/9 下午11:21, Martin Liška wrote: > On 12/7/21 03:15, Kewen.Lin wrote: >> Hi, >> >> For a function with optimize pragma, it's possible that the target >> options change as optimization options change.  Now we create one >> optimization option node when parsing pragma optimize, but don't >>

Re: [PATCH] pragma: Update target option node when optimization changes [PR103515]

2021-12-12 Thread Kewen.Lin via Gcc-patches
on 2021/12/9 上午9:43, Jeff Law wrote: > > > On 12/6/2021 7:15 PM, Kewen.Lin via Gcc-patches wrote: >> Hi, >> >> For a function with optimize pragma, it's possible that the target >> options change as optimization options change.  Now we create one >> optimization option node when parsing pragma op

Re: [PATCH] pragma: Update target option node when optimization changes [PR103515]

2021-12-09 Thread Martin Liška
On 12/7/21 03:15, Kewen.Lin wrote: Hi, For a function with optimize pragma, it's possible that the target options change as optimization options change. Now we create one optimization option node when parsing pragma optimize, but don't create target option node for possible target option change

Re: [PATCH] pragma: Update target option node when optimization changes [PR103515]

2021-12-08 Thread Jeff Law via Gcc-patches
On 12/6/2021 7:15 PM, Kewen.Lin via Gcc-patches wrote: Hi, For a function with optimize pragma, it's possible that the target options change as optimization options change. Now we create one optimization option node when parsing pragma optimize, but don't create target option node for possib