arm: Fix the "c" constraint
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 14 Nov 2019 13:44:05 +0000 (13:44 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 14 Nov 2019 13:44:05 +0000 (05:44 -0800)
commit0be72bfaeb94de26a8fcdac98aabe42139f98bbb
tree5022f7c4630b24a970435db45daec4c51fe661b4
parentcc4defc12c7e36137786d122e2f60bef48e575f9
arm: Fix the "c" constraint

The existing definition using register class CC_REG does not
work because CC_REGNUM does not support normal modes, and so
fails to match register_operand.  Use a non-register constraint
and the cc_register predicate instead.

        * config/arm/constraints.md (c): Use cc_register predicate.

From-SVN: r278224
gcc/ChangeLog
gcc/config/arm/constraints.md