https://bugs.kde.org/show_bug.cgi?id=432801
--- Comment #4 from Peter Klotz <peter.klot...@gmail.com> --- Created attachment 135597 --> https://bugs.kde.org/attachment.cgi?id=135597&action=edit Disassembly of main() when Valgrind shows no warning The second sigaction() call was removed. In this case the assembly code of main() looks very similar to the original one. In all other cases (e.g. removing the pattern[0] assignment or replacing the myLen() call with a constant) the disassembly looks much simpler. It seems the compiler optimization removes most of the code. This is interesting because my assumption was that "volatile" should prevent the compiler from doing so. -- You are receiving this mail because: You are watching all bug changes.