Landing: ab8cd1385e70

Project / Subsystem

gcc / fold-const.cc

Date

2026-01-17

Author

Daniel Barboza

Commit

ab8cd1385e70f8e445d239b88a8ca514d70f2de8

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
fold-const.cc
patch_id
commit_hash
ab8cd1385e70f8e445d239b88a8ca514d70f2de8
source_type
github
headline
fold-const.cc: Remove strict_overflow_p from tree_binary_nonnegative
tldr
The compiler removes the `strict_overflow_p` flag from `tree_binary_nonnegative` and updates `gimple-fold.cc` accordingly.
author
Daniel Barboza
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • optimization
  • constant folding
  • refactoring
  • warnings
  • Gimple
discussion_id_link
bugzilla_pr
date
2026-01-17T00:00:00.000Z

The compiler removes the strict_overflow_p flag from tree_binary_nonnegative_warnv_p, renaming it to tree_binary_nonnegative_p. A local variable with the same name is temporarily added for the RECURSE() macro. The change also necessitates updates to gimple-fold.cc.