Re: C++ PATCH for c++/63657 (missed unused reference warning)

2014-11-22 Thread Paolo Carlini
On 11/22/2014 03:18 AM, Jason Merrill wrote: The earlier fix for 38958 was too broad; we don't want to suppress the unused warning for all references to type with non-trivial destructor, just references bound to a temporary. Thanks! Paolo.

C++ PATCH for c++/63657 (missed unused reference warning)

2014-11-21 Thread Jason Merrill
The earlier fix for 38958 was too broad; we don't want to suppress the unused warning for all references to type with non-trivial destructor, just references bound to a temporary. Tested x86_64-pc-linux-gnu, applying to trunk. commit 725c1c94f7e14cfc5314a86c3504cb33ec1cb74b Author: Jason