This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
New assert in haifa-sched.c
- From: Adam Nemet <anemet at caviumnetworks dot com>
- To: gcc at gcc dot gnu dot org, abel at ispras dot ru
- Date: Thu, 4 Sep 2008 22:42:19 -0700
- Subject: New assert in haifa-sched.c
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