Landing: b31a43560e88

Project / Subsystem

gcc / gcc

Date

2026-05-26

Author

Daniel Barboza

Commit

b31a43560e88600d412318f75a43ac8e562ba8c5

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
commit_hash
b31a43560e88600d412318f75a43ac8e562ba8c5
source_type
github
headline
Finalize deprecation of -Wstrict-overflow.
tldr
The deprecated `-Wstrict-overflow` flag is now officially a no-op.
author
Daniel Barboza
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • deprecated
  • warning
  • overflow
discussion_id_link
bugzilla_pr
date
2026-05-26T00:00:00.000Z

The -Wstrict-overflow flag, deprecated since GCC 8, is now officially a no-op. The compiler no longer performs any strict overflow checking, regardless of whether the flag is used. This commit removes the remaining enum, updates documentation, and adjusts tests to reflect the change. Users relying on -Wstrict-overflow should migrate to -fwrapv and -fwrapv-pointer.