doc/extend.texi: Discourage use of the optimize attribute

* doc/extend.texi (Common Function Attributes) [optimize]:
	Discourage use of the optimize attribute.

From-SVN: r235580
This commit is contained in:
Markus Trippelsdorf 2016-04-28 16:25:00 +00:00 committed by Markus Trippelsdorf
parent bf6b9e5d1c
commit 893100c3fa
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2016-04-28 Markus Trippelsdorf <markus@trippelsdorf.de>
* doc/extend.texi (Common Function Attributes) [optimize]:
Discourage use of the optimize attribute.
2016-04-28 Bill Seurer <seurer@linux.vnet.ibm.com>
* config/rs6000/rs6000-builtin.def (vec_adde): Change vec_adde to a

View File

@ -3026,10 +3026,8 @@ that affect more than one function.
@xref{Function Specific Option Pragmas}, for details about the
@samp{#pragma GCC optimize} pragma.
This can be used for instance to have frequently-executed functions
compiled with more aggressive optimization options that produce faster
and larger code, while other functions can be compiled with less
aggressive options.
This attribute should be used for debugging purposes only. It is not
suitable in production code.
@item pure
@cindex @code{pure} function attribute