Re: [PATCH] tree-optimization/108449 - keep maybe_special_function_p behavior

2023-01-22 Thread Richard Biener via Gcc-patches
On Sat, 21 Jan 2023, Jan Hubicka wrote: > > When we have a static declaration without definition we diagnose > > that and turn it into an extern declaration. That can alter > > the outcome of maybe_special_function_p here and there's really > > no point in doing that, so don't. > > > > Bootstrap

Re: [PATCH] tree-optimization/108449 - keep maybe_special_function_p behavior

2023-01-21 Thread Jan Hubicka via Gcc-patches
> When we have a static declaration without definition we diagnose > that and turn it into an extern declaration. That can alter > the outcome of maybe_special_function_p here and there's really > no point in doing that, so don't. > > Bootstrapped and tested on x86_64-unknown-linux-gnu, OK? > >

[PATCH] tree-optimization/108449 - keep maybe_special_function_p behavior

2023-01-19 Thread Richard Biener via Gcc-patches
When we have a static declaration without definition we diagnose that and turn it into an extern declaration. That can alter the outcome of maybe_special_function_p here and there's really no point in doing that, so don't. Bootstrapped and tested on x86_64-unknown-linux-gnu, OK? Thanks, Richard.