qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] block: Explicitly specify 'unsigned long long'


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] block: Explicitly specify 'unsigned long long' for VHDX 64-bit constants
Date: Fri, 14 Mar 2014 18:22:17 +0000

On 14 March 2014 17:42, Laszlo Ersek <address@hidden> wrote:
> However, it wouldn't be an immediate, transparent change. For example,
> out-of-range left-shifting for a signed int is explicitly undefined
> behavior in C99 (6.5.7p4) -- equally for shifting left a negative value
> -- and the argument has been made before that C89 does *not* say this.

Does gcc *actually* change its behaviour in this area depending
on the stanadrd specified?

thanks
-- PMM



reply via email to

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