On Mon, 06 May 2019 21:40:07 +0200, Oleksandr Natalenko wrote: > Hi. > > Obligatory disclaimer: building the kernel with -O3 is a non-standard > thing done via this patch [1], but I've asked people in #kernelnewbies, > and it was suggested that the issue should be still investigated. > > So, with v5.1 kernel release I cannot build the kernel with -O3 anymore. > It fails as shown below: Any chance you could try different compiler versions? The code in question does not look too unusual. Could you try if removing FIELD_FIT() on line 326 makes a difference?