This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix optimized out volatile MEM_REF (PR, tree-optimization/78810)
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Martin Liška <mliska at suse dot cz>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 16 Dec 2016 10:37:06 +0100
- Subject: Re: [PATCH] Fix optimized out volatile MEM_REF (PR, tree-optimization/78810)
- Authentication-results: sourceware.org; auth=none
- References: <69d5f3d0-9708-9b34-53a0-4e5853c6baa2@suse.cz>
On Thu, Dec 15, 2016 at 11:56 AM, Martin Liška <mliska@suse.cz> wrote:
> The patch adds TREE_THIS_VOLATILE check that was removed in r239778.
> Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.
>
> Ready to be installed?
I see nothing wrong with a volatile access to a non-volatile
auto-var/param being
removed.
So what's the actual issue here? The bug says "can't compile" but I see no
error, warning or ICE.
Richard.
> Martin