https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65932
--- Comment #7 from Aaro Koskinen <aaro.koskinen at iki dot fi> --- The issue is also present when compiling kernels for OMAP1/2 platforms. Also looks like -Os is needed to trigger this. Kernels compiled with -O2 seem to work.