Random failings when reordering blocks
Tue Oct 17 08:01:00 GMT 2000
>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 <email@example.com>
> * bb-reorder.c (reorder_basic_blocks): Allocate an aux block for
> the exit block.
Thanks for tracking this down, looks fine.
More information about the Gcc-patches