From: Peter McKinna <peter.mckinna@gmail.com>
To: gcc-help@gcc.gnu.org
Subject: Eax zeroed before call
Date: Mon, 31 Jan 2022 19:42:23 +1100 [thread overview]
Message-ID: <CAEy6uxpONLYhLadx5vmtD=AuWP=K7rGBPpx61DviNHUs3svQwQ@mail.gmail.com> (raw)
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
next reply other threads:[~2022-01-31 8:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-31 8:42 Peter McKinna [this message]
2022-01-31 10:01 ` Andrew Haley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAEy6uxpONLYhLadx5vmtD=AuWP=K7rGBPpx61DviNHUs3svQwQ@mail.gmail.com' \
--to=peter.mckinna@gmail.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).