https://bugs.kde.org/show_bug.cgi?id=454860

Paul Floyd <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |NOT A BUG

--- Comment #1 from Paul Floyd <[email protected]> ---
We can't do anything in Valgrind for stuff that gets optimized away by the
compiler. The example is trivial and would need modifying to work with
optimization.

On Linux amd64 I see, in the objdump -d disassembly output

0000000000401146 <g>:
  401146:       c3                      ret    

0000000000401147 <f>:
  401147:       c3                      ret    

The calls to malloc that do not use the return value have been optimized away,
which affects the massif output.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to