g++ provides an option -pg which allows to write epilg and prolog for functions
Does gcc does not have such an option?
GCC is a tool suite which includes both "gcc" and "g++" - I would expect -pg to work for both.
Pete