SPARK does not allow code insertions. This applies also to calls to Asm intrinsics defined in System.Machine_Code. Tested on x86_64-pc-linux-gnu, committed on trunk gcc/ada/ * libgnat/s-maccod.ads: Mark package as SPARK_Mode Off.