Christian Grössler <ch...@groessler.org> writes: > Sorry, the line numbers in the ICE are wrong, since I added some debug > messages. > The abort happens here in prepare_cmp_insn(): > > /* Handle a libcall just for the mode we are using. */ > libfunc = optab_libfunc (cmp_optab, mode); > gcc_assert (libfunc); <------ HERE
Seems like you don't have a cbranchMODE4 insn in the required mode. Double check that. You should only get to that assert if there is no cbranch pattern. To assert is indicating that if there is no cbranch pattern there has to be a cmp pattern. gcc doesn't have any other options for a compare-and-branch. Ian