gcc optimisation problem
Ian Lance Taylor
iant@google.com
Fri Apr 8 05:32:00 GMT 2011
sankar chebolu <chnabsankar@yahoo.com> writes:
> I wonder how come the options like -fstack-protector, -fstack-protector-all, -fmudflap, -fmudflapth, -fmudflapir, -fprofile-values, -fprofile-generate, -fprofile-use are part of optimization options. I think there can be different category for all 'security' related options.
They are there mainly because they are implemented by the optimizers.
If you want to send a patch to move them, I think the maintainers would
consider it.
Actually -fprofile-values, -fprofile-generate, and -fprofile-use really
are optimizations, and don't have anything to do with security.
Ian
More information about the Gcc-help
mailing list