[Webkit-unassigned] [Bug 274587] WebKit release build fails in WTF_OVERRIDE_DELETE_FOR_CHECKED_PTR with gcc 14
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 23 08:48:26 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=274587
Loïc Yhuel <loic.yhuel at softathome.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ggaren at apple.com
--- Comment #1 from Loïc Yhuel <loic.yhuel at softathome.com> ---
It comes from https://github.com/WebKit/WebKit/pull/27212.
I made a simplied case on https://godbolt.org/z/bqsr4oWcM.
Note that without the ALWAYS_INLINE, gcc 11/12/13 also report the warning (despite the generated code being exactly the same).
I saw a similar thing when trying to disable the warning in WTF_OVERRIDE_DELETE_FOR_CHECKED_PTR, around the object->ptrCountWithoutThreadCheck() call.
It can work, sometimes with the help of an additional ALWAYS_INLINE on valueWithoutThreadCheck.
But there are cases where gcc seems to know the context of the call enough to produce the warning, but without the "inlined from" and without being able to disable the warning from above.
--
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/20240523/fcd4d7f3/attachment-0001.htm>
More information about the webkit-unassigned
mailing list