public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: David Faust <david.faust@oracle.com>
To: Cupertino Miranda <cupertino.miranda@oracle.com>
Cc: gcc-patches@gcc.gnu.org, jose.marchesi@oracle.com,
	elena.zannoni@oracle.com
Subject: Re: [PATCH] bpf: Corrected condition in core_mark_as_access_index.
Date: Tue, 14 Nov 2023 08:06:42 -0800	[thread overview]
Message-ID: <161a90b9-0c58-4f48-859c-29624fdd0946@oracle.com> (raw)
In-Reply-To: <20231113223638.11660-1-cupertino.miranda@oracle.com>



On 11/13/23 14:36, Cupertino Miranda wrote:
> gcc/ChangeLog:
> 	* config/bpf/core-builtins.cc (core_mark_as_access_index):
> 	Corrected check.

OK, thanks.

> ---
>  gcc/config/bpf/core-builtins.cc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gcc/config/bpf/core-builtins.cc b/gcc/config/bpf/core-builtins.cc
> index 2ba78d7aed2e..1376c9309035 100644
> --- a/gcc/config/bpf/core-builtins.cc
> +++ b/gcc/config/bpf/core-builtins.cc
> @@ -1611,7 +1611,7 @@ core_mark_as_access_index (tree expr)
>        || TREE_CODE (expr) == INDIRECT_REF)
>      expr = TREE_OPERAND (expr, 0);
>  
> -  if (bpf_enum_mappings->get (expr) == NULL)
> +  if (core_access_index_map->get (expr) == NULL)
>      core_access_index_map->put (expr, NULL_TREE);
>  }
>  

  reply	other threads:[~2023-11-14 16:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-13 22:36 Cupertino Miranda
2023-11-14 16:06 ` David Faust [this message]
2023-11-28 12:43   ` Cupertino Miranda

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=161a90b9-0c58-4f48-859c-29624fdd0946@oracle.com \
    --to=david.faust@oracle.com \
    --cc=cupertino.miranda@oracle.com \
    --cc=elena.zannoni@oracle.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jose.marchesi@oracle.com \
    /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).