在 2024-04-10 17:44, Xi Ruoyao 写道: > You only get a "different result" when an undefined behavior happens, > thus it **is** a valid point to say there is no wrong-code issue. > >> It's a real bug. There are many PRs on bugzilla. > > You may argue it's a missed-optimization, but we were discussing about > wrong-code or not. Nobody in this thread has been thinking it's wrong code. When there is no overflow, it's missed optimization. When there is an overflow, I don't care. Do you agree? -- Best regards, LIU Hao