From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Earnshaw To: mark@codesourcery.com, gcc-patches@gcc.gnu.org Cc: Richard.Earnshaw@arm.com Subject: Re: Date: Thu, 19 Apr 2001 03:49:00 -0000 Message-id: <200104191049.LAA26172@cam-mail2.cambridge.arm.com> X-SW-Source: 2001-04/msg00940.html Mark, This patch 2001-04-18 Mark Mitchell * loop.c (load_mems): Examine all the instructions in the loop before concluding that all jumps branch to the first instruction after the loop. is (perhaps indirectly) breaking the ARM bootstrap. The code here 8861 /* If this is a jump outside of the loop but not right 8862 after the end of the loop, we would have to emit new fixup 8863 sequences for each such label. */ 8864 if (JUMP_LABEL (p) != end_label 8865 && (INSN_UID (JUMP_LABEL (p)) >= max_uid_for_loop 8866 || INSN_LUID (JUMP_LABEL (p)) < INSN_LUID (loop-> start) 8867 || INSN_LUID (JUMP_LABEL (p)) > INSN_LUID (loop-> end))) tries to dereference the JUMP_LABEL of an addr_vec; but JUMP_LABEL is null in this case, so we segfault. R.