Since arm_acle.h includes stdint.h, its use requires the presence of
the right gnu/stub-*.h, so make sure to include arm_acle.h when
checking the effective targets that generally imply that the testcase
will include it: arm_dsp, arm_crc, arm_coproc[1-4]
This makes several tests unsupported rather than fail.
2020-04-22 Christophe Lyon <christophe.lyon@linaro.org>
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_arm_dsp)
(check_effective_target_arm_crc_ok_nocache)
(check_effective_target_arm_coproc1_ok_nocache)
(check_effective_target_arm_coproc2_ok_nocache)
(check_effective_target_arm_coproc3_ok_nocache)
(check_effective_target_arm_coproc4_ok_nocache): Include
arm_acle.h.
+2020-04-22 Christophe Lyon <christophe.lyon@linaro.org>
+
+ * lib/target-supports.exp (check_effective_target_arm_dsp)
+ (check_effective_target_arm_crc_ok_nocache)
+ (check_effective_target_arm_coproc1_ok_nocache)
+ (check_effective_target_arm_coproc2_ok_nocache)
+ (check_effective_target_arm_coproc3_ok_nocache)
+ (check_effective_target_arm_coproc4_ok_nocache): Include
+ arm_acle.h.
+
2020-04-22 Christophe Lyon <christophe.lyon@linaro.org>
gcc/testsuite/
#ifndef __ARM_FEATURE_DSP
#error not DSP
#endif
+ #include <arm_acle.h>
int i;
}]
}
#if !defined (__ARM_FEATURE_CRC32)
#error FOO
#endif
+ #include <arm_acle.h>
} "$et_arm_crc_flags"]
}
#if (__thumb__ && !__thumb2__) || __ARM_ARCH < 4
#error FOO
#endif
+ #include <arm_acle.h>
}]
}
#if (__thumb__ && !__thumb2__) || __ARM_ARCH < 5
#error FOO
#endif
+ #include <arm_acle.h>
}]
}
|| (__ARM_ARCH < 6 && !defined (__ARM_ARCH_5TE__))
#error FOO
#endif
+ #include <arm_acle.h>
}]
}
#if (__thumb__ && !__thumb2__) || __ARM_ARCH < 6
#error FOO
#endif
+ #include <arm_acle.h>
}]
}