From: Richard Biener <rguenther@suse.de>
To: Tom de Vries <Tom_deVries@mentor.com>
Cc: "gcc-patches@gnu.org" <gcc-patches@gnu.org>
Subject: Re: [PATCH, PR69426] Fix clobber removal in parloops
Date: Sat, 23 Jan 2016 09:41:00 -0000 [thread overview]
Message-ID: <649F0761-3C5E-47E9-A8DB-9C902D3B41CC@suse.de> (raw)
In-Reply-To: <56A34936.1040004@mentor.com>
On January 23, 2016 10:34:46 AM GMT+01:00, Tom de Vries <Tom_deVries@mentor.com> wrote:
>Hi,
>
>this patches fixes a 5/6 regression PR69426.
>
>When compiling the test-case in the patch, the verify_ssa todo check
>fails after removing a clobber in eliminate_local_variables_stmt.
>
>The problem is that the clobber is removed, but the uses of the
>corresponding vdef are not changed, and the virtual symbol is not
>marked
>for renaming.
>
>[ The same happens in 4.9, but because omp_expand_local is called
>before
>verify_ssa, the ICE does not happen. In 5.0 and later, we use a
>separate
>expand_omp_ssa pass. ]
>
>This patch fixes the problem by replacing the uses of the vdef of the
>clobber by the vuse of the clobber.
>
>The patch uses replace_uses_by, but unlink_vdef_stmt also works, I'm
>not
>sure which one to use.
Unlink_stmt_vdef please.
OK with that change.
Richard.
>Bootstrapped and reg-tested on x86_64.
>
>OK for trunk, gcc-5-branch?
>
>Thanks,
>- Tom
prev parent reply other threads:[~2016-01-23 9:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-23 9:35 Tom de Vries
2016-01-23 9:41 ` Richard Biener [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=649F0761-3C5E-47E9-A8DB-9C902D3B41CC@suse.de \
--to=rguenther@suse.de \
--cc=Tom_deVries@mentor.com \
--cc=gcc-patches@gnu.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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).