25 #include "pips_config.h"
43 bool consistent =
true;
46 while (consistent && !
ENDP(all_rules)) {
49 if ( (c_rule != mp_rule)
52 all_rules =
CDR(all_rules);
73 bool consistent =
true;
74 bool first_common =
true;
79 while (consistent && !
ENDP(l_prod1)) {
85 while (!found && !
ENDP(l2)) {
94 if (first && !found ) first_common =
false;
95 if (first) first =
false;
97 consistent = (first_common && found && same_length) || (!first_common && !found);
99 l_prod1 =
CDR(l_prod1);
static bool rule_multi_produced_consistent_p(rule mp_rule, makefile make_file)
static bool rule_multi_produced_consistent_p(rule mp_rule, makefile make_file) input : a rule that pr...
static bool rule_produced_consistent_p(rule rule_1, rule rule_2)
static bool rule_produced_consistent_p(rule rule_1, rule_2) input : two rules output : true if they p...
#define ENDP(l)
Test if a list is empty.
size_t gen_length(const list l)
#define CAR(pcons)
Get the value of the first element of a list.
#define CDR(pcons)
Get the list less its first element.
#define virtual_resource_name(x)
#define VIRTUAL_RESOURCE(x)
VIRTUAL_RESOURCE.
#define makefile_rules(x)
#define same_string_p(s1, s2)
The structure used to build lists in NewGen.