New assert in haifa-sched.c

Adam Nemet anemet@caviumnetworks.com
Fri Sep 5 05:43:00 GMT 2008


haifa-sched.c:
  2302	      /* Let the target filter the search space.  */
  2303	      for (i = 1; i < ready->n_ready; i++)
  2304		if (!ready_try[i])
  2305		  {
  2306		    insn = ready_element (ready, i);
  2307	
  2308		    gcc_assert (INSN_CODE (insn) >= 0
  2309				|| recog_memoized (insn) < 0);

I am hitting this assert with the Octeon pipeline patch.  Isn't the check on
recog_memoized reversed?  Or are we really asserting here that the insn has
either been recognized earlier or won't be recognized now either?!

Adam



More information about the Gcc mailing list