From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) by sourceware.org (Postfix) with ESMTPS id 566B53858D28 for ; Mon, 31 Jan 2022 08:42:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 566B53858D28 Received: by mail-qk1-x732.google.com with SMTP id o25so11433154qkj.7 for ; Mon, 31 Jan 2022 00:42:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=SkJouW9X3RwkVMagXIsvBJ7nakMpZe0yWoSA8KpDokQ=; b=ooJPUW1gXQYNKpJ6sl5/uQsp4r5JEV9GrTCw6z30y0QckDp0mkd4kSRLC321wfytLG 5kYMSjEwQwxUYy+kMMSmlsSvDmb/Kco77UDLa40Wkx85D5nj4A0ATFmfIHtMswkAOeqm weYODEobdB0yVsId7NybkClYsU7pIJO6U4EE0ErEgcW0V0ER+NwlpFvpIfNTinHafT2F mfS9zt+/p97aStQYXgPlfBl3tYyPPTnszOm3l9a2ujy3QQGNDUDhZT+69cnUraRtPgr6 w3CqWTqx9gbc2Z4C5U18gvZujMJ+14Pfo6B0PRQj2JcXedENjlWfFvE9Ji2aEs13KVUU fR4w== X-Gm-Message-State: AOAM533Kw+8Rd6RgE0DY8WtgCjZ/SeiDQRb0OWwEg1GTK9mLRmTIEsk9 xUwm922EzGoLFY15xt7BfHioqlde1+xkmv9pfncWch4H X-Google-Smtp-Source: ABdhPJy2YzbIU9F03OiIwLYk35jQujYo9N3rT8wtlIYIzkk7V6LKpJJ2JXE5M7owZJi8Den7nBgYHqT6UtqkL201iEA= X-Received: by 2002:a05:620a:b84:: with SMTP id k4mr12677167qkh.95.1643618554778; Mon, 31 Jan 2022 00:42:34 -0800 (PST) MIME-Version: 1.0 From: Peter McKinna Date: Mon, 31 Jan 2022 19:42:23 +1100 Message-ID: Subject: Eax zeroed before call To: gcc-help@gcc.gnu.org X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2022 08:42:36 -0000 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=E2=80=99s no init. Is there some way to prevent this init? Some flag I can set, some arcane piece of wizardry? Thanks Peter