I suggest making this the default and removing the option. Having an option that specifies if we should save a single byte of code size in the binary really isn't worth it.
Furthermore, _Noreturn can be used when saving that single byte is desired.
On mcs51 this saves two bytes (sjmp .) and two bytes stack space (which is much more important !).
I don't have a clue how this can work for other targets (except pic14/pic16) as SDCCglue.c only seems to generate mcs51 code.
I agree that it can be made the default and removed.
For the z80, gbz80, z180 and r2k targets, this option does nothing and they always behave as if it were the default.
How can this option save two bytes of stack space? Isn't the stack space for the return address used in the the startup code?
Done in revision #8504.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.