This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Random failings when reordering blocks
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: Random failings when reordering blocks
- From: Jason Eckhardt <jle at cygnus dot com>
- Date: Tue, 17 Oct 2000 08:01:21 -0700 (PDT)
- cc: rearnsha at arm dot com
>
>You know you are in for a fun evening with gdb when adding -dp to the list
>of compilation options flags the bug to go away!
>
>This one turns out to be that we are using the aux block of the exit
>block, even though we haven't allocated anything -- it just happens to
>contain a non-null number from an earlier pass -- we get random failures
>if the data pointed to happens to match a block number. Allocating a
>block for the exit block solves the problem.
>
>Bootstrapped on arm-linux
>
>2000-10-12 Richard Earnshaw <rearnsha@arm.com>
>
> * bb-reorder.c (reorder_basic_blocks): Allocate an aux block for
> the exit block.
>
>
Thanks for tracking this down, looks fine.