From: Roman Perepelitsa <roman.perepelitsa@gmail.com>
To: Peter Stephenson <p.stephenson@samsung.com>
Cc: zsh-workers@zsh.org
Subject: Re: -Wrestrict warning on cc 8.3.0
Date: Wed, 10 Apr 2019 10:58:59 +0200 [thread overview]
Message-ID: <CAN=4vMr3NH+YPAp8sqDh57eC6yCyH0MC587cfMHbdkf6aVwJeg@mail.gmail.com> (raw)
In-Reply-To: <1554886082.6252.3.camel@samsung.com>
[-- Attachment #1: Type: text/plain, Size: 487 bytes --]
On Wed, Apr 10, 2019 at 10:48 AM Peter Stephenson <p.stephenson@samsung.com>
wrote:
> On Thu, 2019-04-04 at 11:21 +0100, Peter Stephenson wrote:
>
> > Can somebody verify the following is equivalent apart from dealing with
> > a possible overlapping copy? I've no way of ensuring this code gets
> > exercised.
>
> I've applied this anyway.
>
I'm pretty sure your code is equivalent to the original (apart from being
correct if ranges overlap). It's also easier to understand.
Roman.
prev parent reply other threads:[~2019-04-10 8:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20190403190049epcas3p4c02406857f7f26510ea8969c969a655e@epcas3p4.samsung.com>
2019-04-03 18:59 ` Wesley Schwengle
2019-04-04 10:21 ` Peter Stephenson
2019-04-10 8:48 ` Peter Stephenson
2019-04-10 8:58 ` Roman Perepelitsa [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAN=4vMr3NH+YPAp8sqDh57eC6yCyH0MC587cfMHbdkf6aVwJeg@mail.gmail.com' \
--to=roman.perepelitsa@gmail.com \
--cc=p.stephenson@samsung.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).