Re: [PATCH] Guard function->cond_uids access [PR114601]

2024-04-09 Thread Richard Biener
On Tue, 9 Apr 2024, Jørgen Kvalsvik wrote: > PR114601 shows that it is possible to reach the condition_uid lookup > without having also created the fn->cond_uids, through > compiler-generated conditionals. Consider all lookups on non-existing > maps misses, which they are from the perspective of

Re: [PATCH] Guard function->cond_uids access [PR114601]

2024-04-09 Thread Jørgen Kvalsvik
On 09/04/2024 13:43, Jørgen Kvalsvik wrote: PR114601 shows that it is possible to reach the condition_uid lookup without having also created the fn->cond_uids, through compiler-generated conditionals. Consider all lookups on non-existing maps misses, which they are from the perspective of the

[PATCH] Guard function->cond_uids access [PR114601]

2024-04-09 Thread Jørgen Kvalsvik
PR114601 shows that it is possible to reach the condition_uid lookup without having also created the fn->cond_uids, through compiler-generated conditionals. Consider all lookups on non-existing maps misses, which they are from the perspective of the source code, to avoid the NULL access.