From: Ramana Radhakrishnan Date: Fri, 27 Aug 2010 14:22:41 +0000 (+0000) Subject: arm.md (enabled): Test the value of arch_enabled rather than just using it. X-Git-Tag: releases/gcc-4.6.0~4821 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da787decc600b8cad4b892a39a59f48400393471;p=thirdparty%2Fgcc.git arm.md (enabled): Test the value of arch_enabled rather than just using it. 2010-08-27 Ramana Radhakrishnan * config/arm/arm.md (enabled): Test the value of arch_enabled rather than just using it. From-SVN: r163585 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index edd3c4c79a74..2767fde83aee 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-08-27 Ramana Radhakrishnan + + * config/arm/arm.md (enabled): Test the value of arch_enabled + rather than just using it. + 2010-08-27 Olivier Hainque Eric Botcazou diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index 70273d58c381..5a8d8ebbc184 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -234,10 +234,12 @@ (const_string "yes")) ; Enable all alternatives that are both arch_enabled and insn_enabled. -(define_attr "enabled" "no,yes" - (if_then_else (eq_attr "insn_enabled" "yes") - (attr "arch_enabled") - (const_string "no"))) + (define_attr "enabled" "no,yes" + (if_then_else (eq_attr "insn_enabled" "yes") + (if_then_else (eq_attr "arch_enabled" "yes") + (const_string "yes") + (const_string "no")) + (const_string "no"))) ; POOL_RANGE is how far away from a constant pool entry that this insn ; can be placed. If the distance is zero, then this insn will never