[Bug tree-optimization/45734] [4.6 Regression] Devirtualization results in wrong-code

2010-09-21 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-09-21 10:12 --- The following is miscompiled since ever (and also ICC miscompiles it), so I'm not sure if it is valid to use 'f' to refer to the Bar object. namespace std { typedef __SIZE_TYPE__ size_t; } inline void* operator

[Bug tree-optimization/45734] [4.6 Regression] Devirtualization results in wrong-code

2010-09-20 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||hubicka at gcc dot gnu dot |

[Bug tree-optimization/45734] [4.6 Regression] Devirtualization results in wrong-code

2010-09-20 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2010-09-20 15:27 --- It is caused by revision 161655: http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg6.html -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug tree-optimization/45734] [4.6 Regression] Devirtualization results in wrong-code

2010-09-20 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-09-20 15:46 --- Of course it is ;) Before pointer-conversions became useless we didn't propagate the invariant address into the OBJ_TYPE_REF expression. We still have useful function-pointer conversions as well, because dropping