quoted
Because -fomit-frame-pointer and -fno-omit-frame-pointer have no
effect on ppc or ppc64, I assume. :)
I'm assuming that's a guess. The reason I ask that is my memory
serves correctly r31 is used as the frame pointer if compiled that
way. Maybe some GCC expert can chime in. I'll copy David Edelsohn
and see if I get a response :)
Yes, GPR31 is used as frame pointer. All optimization
levels other than -O0 enable -fomit-frame-pointer. But
-fno-omit-frame-pointer certainly works.
Segher