gensupport.h (compute_test_codes): Declare.
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 26 May 2015 11:01:42 +0000 (11:01 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 26 May 2015 11:01:42 +0000 (11:01 +0000)
commit851ee5f43c954f1831ae23ec45347ce5441ebab5
treefbc57b19f37c4860b50243a95bee808045aad0b0
parent3a37ecec8934dc378bfce06d9ea2325a98159f43
gensupport.h (compute_test_codes): Declare.

gcc/
* gensupport.h (compute_test_codes): Declare.
* gensupport.c (compute_predicate_codes): Rename to...
(compute_test_codes): ...this.  Generalize error message.
(process_define_predicate): Update accordingly.
* genpreds.c (compute_maybe_allows): Delete.
(add_constraint): Use compute_test_codes to determine whether
something can accept a SUBREG, REG or MEM.

From-SVN: r223687
gcc/ChangeLog
gcc/genpreds.c
gcc/gensupport.c
gcc/gensupport.h