This is the mail archive of the gcc-help@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] | |
BR, Ilyes Gouta.
Ilyes Gouta wrote:
Is it possible using GCC? If yes, could you please tell me how?
There is __attribute__((naked)) but it's not supported for x86. I think the feeling is that gcc should be able to detect when a prologue is not necessary on its own and just not emit it, and that forcably disabling the prologue just results in horribly broken code if the function happens to require a spill. See also <http://gcc.gnu.org/ml/gcc/2004-02/threads.html#00939>.
Brian
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |