We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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