http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59308
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So the test can then be improved for ARM by testing GCC predefined macros or something similar, to make check_effective_target_logical_op_short_circuit more precise. Are you sure check_effective_target_arm_cortex_m isn't good enough for ARM?