The attached patch fixes the handling of LABEL_REF in genrecog and genpreds. The current code assumes that X can have only a mode than PRED (X, MODE) if X is CONST_INT, CONST_DOUBLE or CONST_WIDE_INT, but actually that can be also the case for a LABEL_REF with VOIDmode. Due to this it is necessary to add "const_int" (or similar) to match_code of some predicates handling label_ref but not const_int. Ciao Dominik ^_^ ^_^ -- Dominik Vogt IBM Germany