This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix optimized out volatile MEM_REF (PR, tree-optimization/78810)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]