https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67439
--- Comment #5 from ktkachov at gcc dot gnu.org --- -mrestrict-it was introduced in 4.9 but it's enabled by default for -march=armv8-a -mthumb. So, while -mrestrict-it did not exist for 4.8, this is a regression from 4.8 as far as compiling with -march=armv8-a -mthumb is concerned