This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][C++] Fix PR67333
- From: Jason Merrill <jason at redhat dot com>
- To: Mikhail Maltsev <maltsevm at gmail dot com>, gcc-patches <gcc-patches at gnu dot org>
- Date: Tue, 6 Oct 2015 09:46:50 -0400
- Subject: Re: [PATCH][C++] Fix PR67333
- Authentication-results: sourceware.org; auth=none
- References: <55DF5684 dot 8050607 at gmail dot com>
Hi, sorry for the slow response. Please feel free to ping once a week.
On 08/27/2015 02:27 PM, Mikhail Maltsev wrote:
+ if (TREE_THIS_VOLATILE (t) && (!DECL_P (t) || want_rval))
Why the !DECL_P check? Pulling the value out of a volatile INDIRECT_REF
is just as problematic as from a variable.
Jason