2019-09-16 Christophe Lyon <christophe.lyon@linaro.org>
PR target/91749
* config/arm/arm.c (arm_valid_target_attribute_rec): Make sure the
mode attributed is supported by FDPIC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@275799
138bc75d-0d04-0410-961f-
82ee72b054a4
+2019-09-17 Christophe Lyon <christophe.lyon@linaro.org>
+
+ PR target/91749
+ * config/arm/arm.c (arm_valid_target_attribute_rec): Make sure the
+ mode attributed is supported by FDPIC.
+
2019-09-17 Richard Biener <rguenther@suse.de>
PR tree-optimization/91790
{
argstr = NULL;
if (!strcmp (q, "thumb"))
- opts->x_target_flags |= MASK_THUMB;
+ {
+ opts->x_target_flags |= MASK_THUMB;
+ if (TARGET_FDPIC && !arm_arch_thumb2)
+ sorry ("FDPIC mode is not supported in Thumb-1 mode");
+ }
else if (!strcmp (q, "arm"))
opts->x_target_flags &= ~MASK_THUMB;