Re: [C++ Patch] PR 64667

2015-04-29 Thread Jason Merrill
On 04/29/2015 08:52 AM, Paolo Carlini wrote: + /* Handle references. */ + if (TREE_CODE (val) == INDIRECT_REF) Let's use REFERENCE_REF_P here. OK with that change. Jason

[C++ Patch] PR 64667

2015-04-29 Thread Paolo Carlini
Hi, Jonathan noticed in the audit trail the probably his work for c++/18016 could be easily extended to handle references: simply looking through INDIRECT_REFs appears to do the trick. Tested x86_64-linux. Thanks, Paolo. /cp 2015-04-29 Paolo Carlini PR c++/64