* [PATCH] bpf: Corrected condition in core_mark_as_access_index.
@ 2023-11-13 22:36 Cupertino Miranda
2023-11-14 16:06 ` David Faust
0 siblings, 1 reply; 3+ messages in thread
From: Cupertino Miranda @ 2023-11-13 22:36 UTC (permalink / raw)
To: gcc-patches; +Cc: jose.marchesi, elena.zannoni, david.faust, Cupertino Miranda
gcc/ChangeLog:
* config/bpf/core-builtins.cc (core_mark_as_access_index):
Corrected check.
---
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);
}
--
2.30.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] bpf: Corrected condition in core_mark_as_access_index.
2023-11-13 22:36 [PATCH] bpf: Corrected condition in core_mark_as_access_index Cupertino Miranda
@ 2023-11-14 16:06 ` David Faust
2023-11-28 12:43 ` Cupertino Miranda
0 siblings, 1 reply; 3+ messages in thread
From: David Faust @ 2023-11-14 16:06 UTC (permalink / raw)
To: Cupertino Miranda; +Cc: gcc-patches, jose.marchesi, elena.zannoni
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);
> }
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] bpf: Corrected condition in core_mark_as_access_index.
2023-11-14 16:06 ` David Faust
@ 2023-11-28 12:43 ` Cupertino Miranda
0 siblings, 0 replies; 3+ messages in thread
From: Cupertino Miranda @ 2023-11-28 12:43 UTC (permalink / raw)
To: David Faust; +Cc: gcc-patches, jose.marchesi, elena.zannoni
Thanks! Committed !
David Faust writes:
> 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);
>> }
>>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-28 12:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-13 22:36 [PATCH] bpf: Corrected condition in core_mark_as_access_index Cupertino Miranda
2023-11-14 16:06 ` David Faust
2023-11-28 12:43 ` Cupertino Miranda
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).