[Webkit-unassigned] [Bug 211044] New: [WTF] Workaround gcc bug for unsigned bitfield related usual arithmetic conversions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 26 02:12:11 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=211044

            Bug ID: 211044
           Summary: [WTF] Workaround gcc bug for unsigned bitfield related
                    usual arithmetic conversions
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jh718.park at samsung.com

(unsigned + signed) should return unsigned int type as a common type defined by usual arithmetic conversions.

But gcc 9.3.0 returns signed int type for this case.

I filed a bug for this issue on gcc bugzilla,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94767.

To workaround this, I originally submitted the patch, http://svn.webkit.org/repository/webkit/trunk@260715,
but according to Darin's comment, use unsigned integer suffix instead of static_cast<unsigned>.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200426/7022ccd2/attachment.htm>


More information about the webkit-unassigned mailing list