This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR 32321 - missing rescanning causing verification failure under gcse-sm
- From: Kenneth Zadeck <zadeck at naturalbridge dot com>
- To: "Seongbae Park (???, ???)" <seongbae dot park at gmail dot com>
- Cc: "gcc-patches >> GCC Patches" <gcc-patches at gcc dot gnu dot org>, "Berlin, Daniel" <dberlin at dberlin dot org>, Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- Date: Sun, 17 Jun 2007 15:17:16 -0400
- Subject: Re: [PATCH] Fix PR 32321 - missing rescanning causing verification failure under gcse-sm
- References: <ab3a61990706142351g417abe56hf04e216d2d5fa08@mail.gmail.com>
Seongbae Park (???, ???) wrote:
> Hi,
>
> In PR 32321 (with -fgcse-sm),
> REG_NOTE changes were not scanned
> because it was done after the insn was emitted.
> Instead of rescanning, here I move the insn emission after REG_NOTE
> change,
> since emission routines do scanning for newly added insns anyway.
> Bootstrapped and regtested on x86-64.
> Ok ?
>
> ChangeLog:
>
> 2007-06-14 Seongbae Park <seongbae.park@gmail.com>
>
> PR rtl-optimization/32321
> * gcse.c (replace_store_insn): Update the note before
> calling emit_insn_after.
this is ok, please check in.
kenny