https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105155
--- Comment #2 from Li Shaohua <shaohua.li at inf dot ethz.ch> --- (In reply to Richard Biener from comment #1) > We fold this already before gimplification to > > ;; Function foo (null) > ;; enabled by -tree-original > > > { > return a > 0 ? -2147483648(OVF) : 2147483646; > } Does this mean that it is not a bug?