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] doc: discourage use of __attribute__((optimize())) in production code


On 12/13/2015 01:19 AM, Markus Trippelsdorf wrote:
Many developers are still using __attribute__((optimize())) in
production code, although it quite broken.

	* doc/extend.texi (Common Function Attributes) [optimize]:
	Discourage use of the optimize attribute.
I went back and reviewed the discussion as well as the BZs. I think this patch is fine for the trunk. I don't think a runtime warning is likely to be looked upon favorably by most users.

jeff


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