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]
Other format: [Raw text]

Re: Tweaks to RTL locus preservation code (2)


On Sun, Oct 24, 2010 at 12:37 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
> Another couple of small tweaks to the code introduced by Jakub to preserve
> location info at -O0, this time to fixup_reorder_chain. ?The first change
> makes it so that the code doesn't try to split non-fallthru edges to the exit
> block (this can happen with unusual combinations of options) and the second
> one avoids creating several artificial basic blocks because of the same locus
> on different edges.
>
> Tested (GCC + GDB) on x86_64-suse-linux, applied on the mainline.
>
>
> 2010-10-24 ?Eric Botcazou ?<ebotcazou@adacore.com>
>
> ? ? ? ?* cfglayout.c (fixup_reorder_chain): When ensuring that there is at
> ? ? ? ?least one insn with a locus corresponding to an edge's goto_locus,
> ? ? ? ?disregard non-fallthru edges to the exit block and merge the blocks
> ? ? ? ?created for the same goto_locus.
>
>

This caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46649


-- 
H.J.


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