https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78364
Bug ID: 78364 Summary: [ARM] Error: bit-field extends past end of register -- ubfx Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Target: arm Since commit r242414, I've noticed that libgcc fails to build for ARM with messages like: /tmp/5778677_3.tmpdir/ccer8XTS.s: Assembler messages: /tmp/5778677_3.tmpdir/ccer8XTS.s:33: Error: bit-field extends past end of register -- `ubfx r0,r0,#25,#8' make[2]: *** [_fractUSQQQ.o] Error 1 make[2]: Leaving directory `/tmp/5778677_3.tmpdir/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-linux-gnueabihf/gcc1/arm-none-linux-gnueabihf/lib gcc' make[1]: *** [all-target-libgcc] Error 2 This is --target arm-none-linux-gnueabihf --with-mode=arm --with-cpu=cortex-a9 --with-fpu=vfp but all other combinations I tried have similar issues. As Kyrill said on IRC, it might be a problem similar to PR77822.