http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53186
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2012-05-03 AssignedTo|unassigned at gcc dot |paolo.carlini at oracle dot |gnu.org |com Target Milestone|--- |4.8.0 Ever Confirmed|0 |1 --- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-03 00:50:41 UTC --- Confirmed. It looks like we do not devirtualize all sorts of operators (conversions, arithmetic, logic...) but the recipe is essentially the same. I'm going to attach a draft patch which you may want to start testing (passes the testsuite).