This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: movmem pattern and missed alignment
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: Alexander Monakov <amonakov at ispras dot ru>, GCC Development <gcc at gcc dot gnu dot org>, Michael Matz <matz at suse dot de>, Paul Koning <paulkoning at comcast dot net>
- Date: Tue, 09 Oct 2018 10:46:26 +0200
- Subject: Re: movmem pattern and missed alignment
- References: <5FA92D6B-8718-4586-AB3C-61C40639888E@comcast.net> <5000308.OHEm8AGCRd@polaris> <CAFiYyc1XK5aLt7_Q=BNFiP4=9PSnE0gjbQ=DddPRAs91a_whxA@mail.gmail.com>
> It was repeatedly suggested that we _could_ derive alignment info from
> function parameter types since we rely on precise typing there for example
> for points-to analysis (albeit only for restrict qualification processing
> and for DECL_BY_REFERENCE "pointers"). That would fix the simple testcase
> that was presented here.
OK, I keep forgetting it and that would be a good compromise indeed.
--
Eric Botcazou