RFC: #pragma optimization_level
Gerald Pfeifer
gerald@pfeifer.com
Sat Apr 2 18:29:00 GMT 2005
On Fri, 1 Apr 2005, Joe Buck wrote:
> Unfortunately, where there is a good argument for not using empty loops
> as busy-waits, at one time it was documented GCC behavior that it would
> work, so we can't really blame the users for trusting the doc.
However, it's really a looong time since we clarified that:
Mon Dec 28 19:26:32 1998 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* gcc.texi (Non-bugs): ``Empty'' loops will be optimized away in
the future; indeed that already happens in some cases.
Gerald
More information about the Gcc
mailing list