[C++ Path] PR 38958

Jason Merrill jason@redhat.com
Wed Jun 12 17:46:00 GMT 2013


On 06/12/2013 01:37 PM, Paolo Carlini wrote:
> Rewording: as the one line comment says, I only call non_reference at the outset when I know that either we'll end up producing the normal unused-variable warning or nothing at all.

Oh, I see.  But that's a rather subtle difference; better to have 'type' 
mean something consistent and leave the unused-but-set code checking 
TREE_TYPE (decl).

Jason



More information about the Gcc-patches mailing list