Fix broken handling of LABEL_REF in genrecog + genpreds.
authorDominik Vogt <vogt@linux.vnet.ibm.com>
Wed, 23 Dec 2015 11:06:20 +0000 (11:06 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Wed, 23 Dec 2015 11:06:20 +0000 (11:06 +0000)
commit986e29bc6a3df0269268d7045058049beb26e1cb
tree5cb6747252928775c04cd6f2f553e6439f9f4ee5
parentc7b48c8ae5a68e227e0e917ce32533b8d571bf9b
Fix broken handling of LABEL_REF in genrecog + genpreds.

gcc/ChangeLog

* config/s390/predicates.md ("larl_operand"): Remove now superfluous
const_int and const_double.
* genrecog.c (safe_predicate_mode): Return false for VOIDmode
LABEL_REFs even if the predicate does not handle const_int,
const_double or const_wide_int.
* genpreds.c (add_mode_tests): Treat LABEL_REF like CONST_INT.

From-SVN: r231927
gcc/ChangeLog
gcc/config/s390/predicates.md
gcc/genpreds.c
gcc/genrecog.c