This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r135090 - in /trunk/gcc: ChangeLog genrecog.c g...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 08 May 2008 21:28:28 -0000
- Subject: r135090 - in /trunk/gcc: ChangeLog genrecog.c g...
Author: rsandifo
Date: Thu May 8 21:28:27 2008
New Revision: 135090
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135090
Log:
gcc/
* gensupport.h (pred_data): Add a "num_codes" field.
(add_predicate_code): Declare.
* gensupport.c (add_predicate_code): New function.
(std_pred_table): Add an "allows_const_p" field.
(std_preds): Set this field for predicates that allow RTX_CONST_OBJs.
Remove the (incomplete) list of such codes from the codes field.
(init_predicate_table): Use add_predicate_code. Add all
RTX_CONST_OBJs if allows_const_p is true.
* genrecog.c (process_define_predicate): Use add_predicate_code.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/genrecog.c
trunk/gcc/gensupport.c
trunk/gcc/gensupport.h