https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91102
--- Comment #6 from Stefan Kneifel <stefan.kneifel at bluewin dot ch> --- It seems to fix the bug - at least the original problem (ICE during compiling Linux kernel for aarch64 with -Os) is solved by this patch.