Bug 76728

Summary: gcc4 miscompiles khtml
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Stephan Kulow <coolo>
Component: DevelopmentAssignee: Michael Matz <matz>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: aj
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stephan Kulow 2005-04-11 12:50:43 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.
Comment 1 Michael Matz 2005-04-12 20:29:28 UTC
See http://gcc.gnu.org/PR20973 where the real action is. 
Comment 2 Stephan Kulow 2005-04-13 13:14:35 UTC
the fix in STABLE makes khtml work again. Not a single regression against 9.3