GCC Newspaper
JUNE 15, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
gcc

Remove strict_overflow logic from tree-ssa-loop-ch.cc.

The loop closing pass no longer considers `strict_overflow`.

The loop closing pass in the tree-ssa phase no longer considers -Wstrict-overflow. The compiler removes the warn_strict_overflow block and two suppressed Wstrict_overflow warnings from tree-ssa-loop-ch.cc. This change simplifies the code and removes dead code related to the deprecated -Wstrict-overflow flag.

In Details

This commit removes the warn_strict_overflow logic from the ch_base::copy_headers function in tree-ssa-loop-ch.cc. Search terms: GCC loop closing tree-ssa -Wstrict-overflow

For Context

The tree-ssa phase is a middle stage of the compilation process where the compiler performs various optimizations on the program's intermediate representation. Loop closing is a specific optimization that identifies and simplifies loops in the code. This commit removes code related to the deprecated -Wstrict-overflow flag from the loop closing pass, cleaning up the compiler's internal workings.

Filed Under: optimizationloop closingdeprecatedwarning