https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102291
--- Comment #7 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- I don't think TREE_OVERFLOW should be introduced in folding expressions that didn't have undefined behavior in the original source code.