https://linux.die.net/man/1/gcc -- Search for `-fstrict-overflow`. And note how it says
The -fstrict-overflow option is enabled at levels -O2, -O3, -Os.
In other words, basically every program that you're using is compiled with that option enabled. (Release builds typically use -O2, sometimes even -O3.)