[Webkit-unassigned] [Bug 36901] New: RVCT generates incorrect code for method Range::operator== when compiler optimizations are enabled
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 31 13:43:04 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=36901
Summary: RVCT generates incorrect code for method
Range::operator== when compiler optimizations are
enabled
Product: WebKit
Version: 528+ (Nightly build)
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dbates at webkit.org
As of RVCT 4.0 (build 697), the method Range::operator== is compiled
incorrectly with optimizations. In particular, the if-conditional "if (!&a ||
!&b)" seems to be optimized away.
This is problematic because VisibleSelection::toNormalizedRange() can return a
PassRefPtr<Range> to a null pointer by line 132
<http://trac.webkit.org/browser/trunk/WebCore/editing/VisibleSelection.cpp?rev=56825#L132>.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list