Commit 893100c3 by Markus Trippelsdorf Committed by Markus Trippelsdorf

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
parent bf6b9e5d
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> 2016-04-28 Bill Seurer <seurer@linux.vnet.ibm.com>
* config/rs6000/rs6000-builtin.def (vec_adde): Change vec_adde to a * config/rs6000/rs6000-builtin.def (vec_adde): Change vec_adde to a
......
...@@ -3026,10 +3026,8 @@ that affect more than one function. ...@@ -3026,10 +3026,8 @@ that affect more than one function.
@xref{Function Specific Option Pragmas}, for details about the @xref{Function Specific Option Pragmas}, for details about the
@samp{#pragma GCC optimize} pragma. @samp{#pragma GCC optimize} pragma.
This can be used for instance to have frequently-executed functions This attribute should be used for debugging purposes only. It is not
compiled with more aggressive optimization options that produce faster suitable in production code.
and larger code, while other functions can be compiled with less
aggressive options.
@item pure @item pure
@cindex @code{pure} function attribute @cindex @code{pure} function attribute
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment