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: [C++ Patch] PR 58647


On 10/20/2013 12:07 PM, Paolo Carlini wrote:
     case COMPONENT_REF:
+      if (is_overloaded_fn (TREE_OPERAND (t, 1)))
+	return t;

Hmm, I'd be inclined to strip the COMPONENT_REF in this case to produce something that's actually usable as a constant. Does that work?

Jason


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