Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a2a6f364bf50b6dae494c5d6c8aebdec284c965a
      
https://github.com/WebKit/WebKit/commit/a2a6f364bf50b6dae494c5d6c8aebdec284c965a
  Author: Keith Miller <[email protected]>
  Date:   2026-09-16 (Wed, 16 Sep 2026)

  Changed paths:
    M Configurations/CommonBase.xcconfig
    M Source/ThirdParty/ANGLE/Configurations/ANGLEDeqp.xcconfig
    M Source/cmake/WebKitCompilerFlags.cmake

  Log Message:
  -----------
  Pass -fwrapv by default
https://bugs.webkit.org/show_bug.cgi?id=324351
rdar://187581116

Reviewed by Yusuke Suzuki.

By default, signed integer overflow is UB in C family languages. In
theory this allows the compiler to do extra optimizations. In practice,
we don't rely on any of those optimizations. Worrying about the UB is
annoying so we should just force GCC/Clang to treat signed overflow as
two's compliment. This is perf neutral on all our benchmarks.

* Configurations/CommonBase.xcconfig:
* Source/ThirdParty/ANGLE/Configurations/ANGLEDeqp.xcconfig:
    Remove independent -fwrapv setting.
* Source/cmake/WebKitCompilerFlags.cmake:

Canonical link: https://commits.webkit.org/321265@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to