https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108747
--- Comment #3 from alireza at hexosys dot com ---
I Agree with you that the user has made mistake.
but why does the compiler does this optimization that can change the behavior
of the code, when we explicitly asked her to don't do any optimizat
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108747
Bug ID: 108747
Summary: Optimization makes user mistake more dangerous when
optimization is disabled by flag -O0
Product: gcc
Version: og11 (devel/omp/gcc-11)
Status: UN