public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Matthew Malcomson <matmal01@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/vendors/ARM/heads/morello)] Hybrid Morello: Minor fix to va_args handling
Date: Thu,  5 May 2022 12:04:59 +0000 (GMT)	[thread overview]
Message-ID: <20220505120459.EEF293856242@sourceware.org> (raw)

https://gcc.gnu.org/g:32c8f1827b9e5f1142818075ef2f3784c5037c73

commit 32c8f1827b9e5f1142818075ef2f3784c5037c73
Author: Stam Markianos-Wright <stam.markianos-wright@arm.com>
Date:   Wed Apr 6 16:31:52 2022 +0100

    Hybrid Morello: Minor fix to va_args handling
    
    A small fix to va_args handling for Hybrid Morello:
    
    The `If the argument is anonymous` part of the B.3
    AAPCS rule had been omitted from the if condition.
    This patch simply adds it in.

Diff:
---
 gcc/config/aarch64/aarch64.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 0cc5467a29a..5f8419cfca0 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -5896,6 +5896,7 @@ aarch64_pass_by_reference_1 (CUMULATIVE_ARGS *pcum,
      by a pointer to the copy.  */
   if (TARGET_CAPABILITY_HYBRID
       && arg.type
+      && !arg.named
       && (capability_type_p (arg.type) || capcom == CAPCOM_SOME))
     return true;


                 reply	other threads:[~2022-05-05 12:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20220505120459.EEF293856242@sourceware.org \
    --to=matmal01@gcc.gnu.org \
    --cc=gcc-cvs@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).