RFC: #pragma optimization_level
E. Weddington
ericw@evcohs.com
Fri Apr 1 21:24:00 GMT 2005
Richard Guenther wrote:
>But the question is, do we want all this sort of #pragmas? It would
>surely better to improve the compilers decisions on applying certain
>optimizations. As usual, in most of the cases the compiler will be
>smarter than the user trying to override it (and hereby maybe only
>working around bugs in a particular compiler release). All opposition
>that applied to stuff like attribute((leafify)) (hi Gaby!) applies here, too.
>So what is your opinion to all this babysitting-the-compiler?
>
>
>
Is your objection to a grain finer than the function level? Or is it to
the whole concept of having pragmas change the optimization level per
function?
More information about the Gcc
mailing list