[gnu.gcc.bug] abort in sparc gcc 1.36.91

eirik@ELF.TN.CORNELL.EDU (01/07/90)

The following source file causes gcc-cc1 to abort in emit_cmp_insn on a
sun4.

f(char *p, char c)
{
  return ((*p = '%' ) != c);
}

Would there be any harm in swapping the following two lines in
emit_cmp_insn?

  class = GET_MODE_CLASS (mode);

  if (mode == VOIDmode) mode = GET_MODE (y);

Before the abort, class has the value MODE_RANDOM; should it instead
have the value MODE_INT?