This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] struct resources: remove unch_memory member
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Eric Botcazou <ebotcazou at adacore dot com>
- Date: Mon, 13 May 2013 09:48:55 +0200
- Subject: Re: [patch] struct resources: remove unch_memory member
- References: <CABu31nPx80SewpFMbi6uSTFkYyLkOm3on2yFEV_RRj052t9f1Q at mail dot gmail dot com>
On Sat, May 11, 2013 at 1:22 AM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
> Hello,
>
> This unch_memory in struct resources is a left-over from
> RTX_UNCHANGING_P, but it looks like the change-over to MEM_READONLY_P
> was done incorrectly: The resource_conflicts_p code now reports
> conflicts for insns reading readonly memory and insns reading "normal"
> memory or no memory at all.
>
> Spotted by checking why reorg.c failed to fill some slots that my
> sched-deps based delay slot scheduler managed to fill.
>
> Bootstrapped&tested on sparc64-unknown-linux-gnu. OK for trunk?
Ok.
Thanks,
Richard.
> Ciao!
> Steven