Re: [PATCH, ARM] Error out when -mfpu set and targeting Thumb-1

2018-11-29 Thread Richard Earnshaw (lists)
compiler use HW float instructions when they are suitable. R. > Best regards, > > Thomas > > > thumb1_mfpu_error.patch > > From 051e38552d7c596873e0303f6ec4272b26d50900 Mon Sep 17 00:00:00 2001 > From: Thomas Preud'homme > Date: Tue, 27 Nov 2018 15:52:38 + >

[PATCH, ARM] Error out when -mfpu set and targeting Thumb-1

2018-11-29 Thread Thomas Preudhomme
[PATCH] [PATCH, ARM] Error out when -mfpu set and targeting Thumb-1 Hi, FP instructions are only enabled for TARGET_32BIT and TARGET_HARD_FLOAT but GCC only gives an error when TARGET_HARD_FLOAT is true and -mfpu is not set. Among other things, it makes some of the cmse tests (eg. gcc.target/ar