Problems with ./genrecog while bootstrapping gcc-2000-12-10

Richard Henderson rth@redhat.com
Sun Dec 10 11:08:00 GMT 2000


On Sun, Dec 10, 2000 at 05:45:50PM +0100, Toon Moene wrote:
> [ genrecog bombs due to a SEGV ]

I am, of course, an idiot -- STRICT_LOW_PART only takes one argument.
And naturally I only tried Alpha.  :-/


r~


	* genrecog.c (validate_pattern) [STRICT_LOW_PART]: Fix thinko.

Index: genrecog.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/genrecog.c,v
retrieving revision 1.88
diff -c -p -d -r1.88 genrecog.c
*** genrecog.c	2000/12/09 22:06:52	1.88
--- genrecog.c	2000/12/10 19:05:43
*************** validate_pattern (pattern, insn, set, se
*** 623,629 ****
  
      case STRICT_LOW_PART:
        validate_pattern (XEXP (pattern, 0), insn, set, set ? '+' : 0);
-       validate_pattern (XEXP (pattern, 1), insn, NULL, 0);
        return;
  
      case LABEL_REF:
--- 623,628 ----


More information about the Gcc mailing list