Fix compile error with armcc5 --gnu
diff --git a/include/mbedtls/bn_mul.h b/include/mbedtls/bn_mul.h
index d7a7ad1..e77103f 100644
--- a/include/mbedtls/bn_mul.h
+++ b/include/mbedtls/bn_mul.h
@@ -46,7 +46,8 @@
 #define asm __asm
 #endif
 
-#if defined(__GNUC__)
+/* armcc5 --gnu defined __GNUC__ but doesn't support GNU's extended asm */
+#if defined(__GNUC__) && !defined(__ARMCC_VERSION)
 #if defined(__i386__)
 
 #define MULADDC_INIT                        \