https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67559
--- Comment #2 from Joel Yliluoma <bisqwit at iki dot fi> --- But when compiling for earlier standard versions that explicitly label this as undefined behavior, it should at least give a warning.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67559
--- Comment #2 from Joel Yliluoma <bisqwit at iki dot fi> --- But when compiling for earlier standard versions that explicitly label this as undefined behavior, it should at least give a warning.