Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ELF.TN.CORNELL.EDU!eirik From: eirik@ELF.TN.CORNELL.EDU Newsgroups: gnu.gcc.bug Subject: abort in sparc gcc 1.36.91 Message-ID: <9001070350.AA03916@elf.TN.Cornell.EDU> Date: 7 Jan 90 03:50:36 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 17 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?