El lun, 11-07-2016 a las 16:27 -0400, waltd...@waltdnes.org escribió: > I put it into CFLAGS/CCFLAGS years ago, and left it there. During > a > discussion on the Pale Moon forum about build options, the opinion > seems > to be that "-fomit-frame-pointer" is now the default. Is that > correct? > I'd like to simplify my CFLAGS/CCFLAGS both in Gentoo and the Pale > Moon > build process. > I think it is, at least here it is a default, you can find out by running: gcc -c -Q --help=optimizers
It gets activated with -O, and -O2 is the default in Gentoo, so it should be. >From the gcc manual: "-O also turns on -fomit-frame-pointer on machines where doing so does not interfere with debugging."