llvm-dev Digest, Vol 210, Issue 58


There seems to be a misunderstanding:
- Adrian reports a bug manifested with “-O2” optimizer;
- you reply that there’s no problem with “-g”.

This reminds me of the problem I reported, which also manifested only under optimizer, but not with “-g” with no or low level of optimization.

Am I missing something?


Dmitry's reply comes immediately after Adrian's statement that
-fsanitize=undefined made the problem go away; Dmitry then shows
an example with -fsanitize=undefined, which reports an error for him.
Dmitry's example includes -g but I don't think that's important here.