Displaying 1 result from an estimated 1 matches for "4kr1oo".
2019 Oct 25
2
Where and how to report an optimisation issue that doesn't cause a crash
...</div>
<div dir="ltr">It looks like clang sees an alias between "int ptr[256]" and "int size"... maybe because they are both "int"? Because changing the type of size to char/short/long eliminates the re-read: <a href="https://godbolt.org/z/4kr1oo">https://godbolt.org/z/4kr1oo</a></div>
<div dir="ltr"> </div>
<div dir="ltr">Interesting and confusing at the same time. Can it be related to the standard definition of (non)aliasing as this answer suggests: <a href="https://stackov...