https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10396
Bernd Edlinger <bernd.edlinger at hotmail dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernd.edlinger at hotmail dot de --- Comment #23 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- (In reply to David from comment #22) > Despite the impression you may get from comments 17-21, gcc DOES support > multi-alternatives with inline asm (see > https://gcc.gnu.org/ml/gcc/2015-10/msg00249.html). > > I do not have an arm build with which to test, but using 5.2 on x64, the > samples in this bug do not produce errors. Perhaps in the 7-12 years since > they were added, something got fixed? Or maybe this problem is > platform-specific. you can build a cross-compiler out of nothing, if you want. cd binutils-build-arm ../binutils-2.25.1/configure --prefix=../arm-eabi --target=arm-unknown-eabi make && make install cd ../gcc-build-arm ../gcc-trunk/configure --prefix=/home/ed/gnu/arm-eabi --target=arm-unknown-eabi --enable-languages=c --disable-libssp make && make install