This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] PR 51064
- From: Jason Merrill <jason at redhat dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 04 Jan 2012 10:03:26 -0500
- Subject: Re: [C++ Patch] PR 51064
- References: <4F045719.3070007@oracle.com>
I'm a bit nervous about the instantiated tree being a different kind of
tree from the template one, such that TREE_NO_WARNING doesn't make sense
on the new one. Maybe just check EXPR_P (r) as well.
Jason