Re: About the effect of "O0" on inlining into a function

2024-06-28 Thread Iain Sandoe
Hi Basile, > On 28 Jun 2024, at 11:11, Basile Starynkevitch > wrote: > Iain Sandoe wrote: > >> If I declare a function __attribute__((noipa, optimize (“-O0”))), I was >> kinda expecting that it would not be optimized at all .. >> >> however it does not seem to prevent functions called by it

Re: About the effect of "O0" on inlining into a function.

2024-06-27 Thread Iain Sandoe
> On 27 Jun 2024, at 20:06, Richard Biener via Gcc wrote: >> Am 27.06.2024 um 19:43 schrieb Iain Sandoe : >>> On 27 Jun 2024, at 14:51, Iain Sandoe wrote: >>> >>> If I declare a function __attribute__((noipa, optimize (“-O0”))), I was >>> kinda expecting that it would not be optimized at all

Re: About the effect of "O0" on inlining into a function.

2024-06-27 Thread Richard Biener via Gcc
> Am 27.06.2024 um 19:43 schrieb Iain Sandoe : > >  >> On 27 Jun 2024, at 14:51, Iain Sandoe wrote: >> >> If I declare a function __attribute__((noipa, optimize (“-O0”))), I was >> kinda expecting that it would not be optimized at all .. >> >> however it does not seem to prevent functions

Re: About the effect of "O0" on inlining into a function.

2024-06-27 Thread Iain Sandoe
> On 27 Jun 2024, at 14:51, Iain Sandoe wrote: > > If I declare a function __attribute__((noipa, optimize (“-O0”))), I was kinda > expecting that it would not be optimized at all .. > > however it does not seem to prevent functions called by it from being inlined > into its body .. > > am