This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: maybe fix vax casesi
At 01:08 PM 6/19/2002, Richard Henderson wrote:
On Wed, Jun 19, 2002 at 11:43:48AM -0700, Matt Thomas wrote:
> It works except the case when the loop is the last thing
> in a void function. The attached file shows this or you
> if the gdb output below helps.
>
> note = last_loop_beg_note (e->src->end);
> ! note = NEXT_INSN (note);
> !
>
> At this point note can be NULL.
>
> ! /* ... and ADDR_VECs. */
> ! if (GET_CODE (note) == CODE_LABEL
Looks like we just need a check for note nonnull here.
Yep, that fixes it. NetBSD/vax compiler with gcc 3.2 (including both
this and the dwarf2/calls fixed) with -O2 seems to work fine. I'm
about to start a make bootstrap.
--
Matt Thomas Internet: matt@3am-software.com
3am Software Foundry WWW URL: http://www.3am-software.com/bio/matt/
Cupertino, CA Disclaimer: I avow all knowledge of this message