Re: [C++ Patch] PR 53186

2012-05-03 Thread Paolo Carlini
On 05/03/2012 04:00 PM, Jason Merrill wrote: OK. Seems safe enough for 4.7.1. Applied, thanks! Paolo.

Re: [C++ Patch] PR 53186

2012-05-03 Thread Jason Merrill
OK. Seems safe enough for 4.7.1. Jason

Re: [C++ Patch] PR 53186

2012-05-03 Thread Paolo Carlini
On 05/03/2012 03:08 PM, Jason Merrill wrote: What if we moved all the devirtualization logic from build_new_method_call_1 to build_over_call? Doh, you are absolutely right, the below, very simple, appears to work well. Probably I was afraid that we could have issues with the other build_over_ca

Re: [C++ Patch] PR 53186

2012-05-03 Thread Jason Merrill
What if we moved all the devirtualization logic from build_new_method_call_1 to build_over_call? Jason

Re: [C++ Patch] PR 53186

2012-05-03 Thread Paolo Carlini
On 05/03/2012 03:27 AM, Paolo Carlini wrote: Hi, Vincenzo reported today that the work done by Roberto on devirtualizing final methods, doesn't cover operators (of all sorts). Thus I prepared the below, which passes the testsuite on x86_64-linux. ... I have an alternate proposal, which probabl

[C++ Patch] PR 53186

2012-05-02 Thread Paolo Carlini
Hi, Vincenzo reported today that the work done by Roberto on devirtualizing final methods, doesn't cover operators (of all sorts). Thus I prepared the below, which passes the testsuite on x86_64-linux. Is it Ok? Thanks, Paolo. / /cp 2012-05-03 Paolo Carlini