This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Random failings when reordering blocks



>
>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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]