[PATCH] Disable frame pointer elimination when -pg is used

hfinkel at anl.gov hfinkel at anl.gov
Sat Nov 22 08:50:07 PST 2014

> This also emits unused argument warnings when -fno-omit-frame-pointer or -mno-omit-leaf-frame-pointer are combined with -pg. It can be changed very simply, but I am not sure if this is desirable or not?

This is not desirable. The options are applicable to code generation, and should be processed from the user's perspective (even if they are now redundant). Users often specify options that are technically redundant on certain compiler versions.


More information about the cfe-commits mailing list