https://bugs.kde.org/show_bug.cgi?id=3D392855 Tom Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |INVALID --- Comment #4 from Tom Hughes --- All that's happened in the second case is that gcc has optimised out the wh= ole thing as the nonsense that it is - it just puts 5 straight in the argument register and passes it to printf. That's what happens when you compile with optimisation. So in the first case what you are seeing is your malloc, and in the second = your malloc never happens but something else (likely the dynamic linker or C lib= rary run time) does do a 1024 byte malloc. --=20 You are receiving this mail because: You are watching all bug changes.=