Bugzilla – Bug 76728
gcc4 miscompiles khtml
Last modified: 2007-06-05 12:33:17 UTC
kdelibs/khtml/css/cssstyleselector.cpp is miscompiled void CSSStyleSelector::applyRule( int id, DOM::CSSValueImpl *value ) { // kdDebug( 6080 ) << "applying property " << id << endl; .... kdDebug() << "apply " << apply << " id " << id << endl; if(!apply) return; switch(id) ... } it will output a lot of "apply 0", but if you uncomment the first kdDebug, id will keep it's value and the test case works fine.
See http://gcc.gnu.org/PR20973 where the real action is.
the fix in STABLE makes khtml work again. Not a single regression against 9.3