qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] linux-user: Adjust pgd_find_hole_fallback result with guest_


From: Richard Henderson
Subject: Re: [PATCH] linux-user: Adjust pgd_find_hole_fallback result with guest_loaddr
Date: Fri, 5 Mar 2021 07:39:56 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 3/5/21 7:06 AM, Ivan A. Melnikov wrote:
Especially since, as far
as I remeber, comparing unsigned value with -1 (which is int)
is UB.

It is certainly not undefined behaviour. The defined behaviour is to promote to the common type, which will do exactly what we want.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]