3 ms·No, compilers will often choose to not optimize on UB.by saagarjha 5mo agoNo, compilers will often choose to not optimize on UB.