This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: noreturn function attribute and ret asm instruction
On Fri, 2003-09-12 at 10:14, Kristis Makris wrote:
> Here %eax is used and it's previous value is not preserved. Again
> conceptually I should be able to write in a high-level language such as
> C with the option to tell gcc to preserve the registers it will end up
> using on its own.
You haven't given any justification for why you want this feature. We
aren't going to add features that have no known use. Maybe if you
explained what you are trying to do, we could offer a better
alternative, or give reasons why what you want to do won't work.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com