[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 3/5] x86/hvm: Adjust hvmemul_rep_stos() to compile with -Wvla
On Mon, Sep 24, 2018 at 02:00:01PM +0100, Andrew Cooper wrote: > For at least "gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609", the > typecast of buf triggers a Variable Length Array warning. > > Alter the asm expression to avoid the typecast, which necessitates the > introduction of a memory clobber as the compiler can no longer identify > the total quantity of written memory. > > Despite the memory clobber, there is no change to the generated. generated assembly code? > > Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Reviewed-by: Wei Liu <wei.liu2@xxxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |