Re: [PATCH 1/3] compiler-gcc.h: Introduce __optimize function attribute

2018-02-01 Thread Ard Biesheuvel
On 1 February 2018 at 10:21, Geert Uytterhoeven wrote: > Create a new function attribute __optimize, which allows to specify an > optimization level on a per-function basis. > > Signed-off-by: Geert Uytterhoeven Acked-by: Ard Biesheuvel

[PATCH 1/3] compiler-gcc.h: Introduce __optimize function attribute

2018-02-01 Thread Geert Uytterhoeven
Create a new function attribute __optimize, which allows to specify an optimization level on a per-function basis. Signed-off-by: Geert Uytterhoeven --- I assume this is supported as of gcc-4.4: - gcc version 4.3.3 (GCC): warning: ‘__optimize__’ attribute directive