public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Eax zeroed before call
@ 2022-01-31  8:42 Peter McKinna
  2022-01-31 10:01 ` Andrew Haley
  0 siblings, 1 reply; 2+ messages in thread
From: Peter McKinna @ 2022-01-31  8:42 UTC (permalink / raw)
  To: gcc-help

Hi,

Hopefully this is the correct forum. I have a
Pascal like language using gcc as the backend.
For some reason a call to a simple procedure
with no parameters generates code to initialises eax to zero before the
call. With any parameters in the proc there’s no init.

Is there some way to prevent this init? Some
flag I can set, some arcane piece of wizardry?

Thanks Peter

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-31 10:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-31  8:42 Eax zeroed before call Peter McKinna
2022-01-31 10:01 ` Andrew Haley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).