https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116755
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2024-09-18 Status|UNCONFIRMED |NEW --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- issue 1 is only an issue with std::numeric_limits<long>::min() and gets an undefined sanitizer hit too. /opt/compiler-explorer/gcc-trunk-20240917/include/c++/15.0.0/bits/chrono.h:602:11: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'; cast to an unsigned type to negate this value to itself