Combine error?

Jason Eckhardt jle@cygnus.com
Mon Mar 20 07:53:00 GMT 2000


I'm seeing many of these on hppa1.1 with --enable-checking:
Internal compiler error in `combine_instructions', at combine.c:632
    RTL check: access of elt 5 of `note' with last elt 4

That code is:
          /* Try each sequence of three linked insns ending with this one.  */

          for (links = LOG_LINKS (insn); links; links = XEXP (links, 1))
-->         for (nextlinks = LOG_LINKS (XEXP (links, 0)); nextlinks;
                 nextlinks = XEXP (nextlinks, 1))


The subexpression "XEXP (links, 0)" in some cases is a note, so the rtl
checker flags a problem when we access LOG_LINKS of it.
What is the intent here? Should we simply check for a note and not
execute the for-loop if it is?

jason.


More information about the Gcc mailing list