This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add -fno-instrument-function


> Hmm, why not make -no-pg (does that exist?) and/or -mno-fentry

I'm not sure.

> do this?  That is, I don't see the need for a new option.

That would be really odd behavior. An yes/no option whose default
is controlled by other object files' command line.
And -pg would be for all files in LTO, and no-pg only for that file,
so not be symmetric.

I think an explicit different option has far cleaner semantics for
now (at least until the LTO option mess can be properly cleaned up)

-Andi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]