-O0 doesn't do optimizations that would remove the frame pointer.
Attach a file by drag & drop or click to upload