public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Alexandre Oliva <aoliva@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/users/aoliva/heads/testme)] strub: ppc64el internal va-list
Date: Fri, 20 Oct 2023 03:48:57 +0000 (GMT)	[thread overview]
Message-ID: <20231020034857.B700D3858023@sourceware.org> (raw)

https://gcc.gnu.org/g:c3b026b0995a27c92751e4c5be857cf7adfb9135

commit c3b026b0995a27c92751e4c5be857cf7adfb9135
Author: Alexandre Oliva <oliva@gnu.org>
Date:   Thu Oct 19 02:53:16 2023 -0300

    strub: ppc64el internal va-list

Diff:
---
 gcc/ipa-strub.cc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gcc/ipa-strub.cc b/gcc/ipa-strub.cc
index f3b2473b5939..612ece9f1855 100644
--- a/gcc/ipa-strub.cc
+++ b/gcc/ipa-strub.cc
@@ -3281,6 +3281,9 @@ pass_ipa_strub::execute (function *)
 				    TREE_TYPE (TREE_TYPE (vaptr)),
 				    vaptr,
 				    build_int_cst (TREE_TYPE (vaptr), 0));
+		    if (!is_gimple_val (arg))
+		      arg = force_gimple_operand_gsi (&gsi, arg, true,
+						      NULL_TREE, true, GSI_SAME_STMT);
 		  }
 		gimple_call_set_arg (call, 1, arg);
 		update_stmt (call);

             reply	other threads:[~2023-10-20  3:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-20  3:48 Alexandre Oliva [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-10-06  4:33 Alexandre Oliva
2023-10-06  4:29 Alexandre Oliva

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=20231020034857.B700D3858023@sourceware.org \
    --to=aoliva@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).