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] Latest version of the -Wunused-but-set-{variable,parameter} patches (C++ part)


On 04/16/2010 02:05 PM, Jason Merrill wrote:
Some of each. I would think that all rvalue uses should already go
through decay_conversion or rvalue -- and I don't think we really need
both of those, or at least one should call the other.

Type and lvalue uses need new functions that would currently just call
mark_exp_read, but could in future do other things as well, including
wrap the expression somehow.

Specifically, I think we want to start wrapping all uses of a decl so that we have expression location information for those uses: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43486


Jason


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