Bug 76728 - gcc4 miscompiles khtml
Summary: gcc4 miscompiles khtml
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Development (show other bugs)
Version: unspecified
Hardware: Other All
: P5 - None : Normal
Target Milestone: ---
Assignee: Michael Matz
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-11 12:50 UTC by Stephan Kulow
Modified: 2007-06-05 12:33 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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