Landing: 654c2f3d61ac
Project / Subsystem
gcc / gcc/fold-const.cc
Date
2026-01-17
Author
Daniel Barboza
Commit
654c2f3d61ac7394eb85cacf6203b5a8a556bad9
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/fold-const.cc
- patch_id
- —
- commit_hash
- 654c2f3d61ac7394eb85cacf6203b5a8a556bad9
- source_type
- github
- headline
- Remove strict_overflow_p flag from extract_muldiv
- tldr
- The strict_overflow_p flag was removed from extract_muldiv, part of deprecating -Wstrict-overflow.
- author
- Daniel Barboza
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • constant folding
- • overflow
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-01-17T00:00:00.000Z
The strict_overflow_p flag was removed from the extract_muldiv function. This function is involved in extracting multiplication and division operations during constant folding. Removing the flag is part of the larger effort to deprecate the -Wstrict-overflow warning. Consequently, a test case that specifically checked for -Wstrict-overflow warnings in extract_muldiv patterns was also removed.