From: "Jan Beulich" Subject: Re: [PATCH 4/4] xen/arm: correctly handle an empty array of platform descs. Date: Tue, 14 May 2013 16:11:59 +0100 Message-ID: <5192705F02000078000D6179@nat28.tlf.novell.com> References: <1368462160.537.125.camel@zakaz.uk.xensource.com> <1368462182-10317-4-git-send-email-ian.campbell@citrix.com> <1368523975.14264.22.camel@zakaz.uk.xensource.com> <5192248402000078000D5E7F@nat28.tlf.novell.com> <1368526880.14264.29.camel@zakaz.uk.xensource.com> <5192666A02000078000D60F8@nat28.tlf.novell.com> <1368543272.14264.41.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1368543272.14264.41.camel@zakaz.uk.xensource.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: "Keir (Xen.org)" , Stefano Stabellini , Ian Jackson , "Tim (Xen.org)" , "xen-devel@lists.xen.org" , Julien Grall List-Id: xen-devel@lists.xenproject.org >>> On 14.05.13 at 16:54, Ian Campbell wrote: > On Tue, 2013-05-14 at 15:29 +0100, Jan Beulich wrote: >> What compiler version and switches were you using for the case >> where you spotted bad code to be generated? > > gcc-linaro-aarch64-linux-gnu-4.7-2013.01-20130125_linux doing a standard > arm64 build of Xen. Odd - I'm using mostly unmodified 4.7.3 from gcc.gnu.org, so I'm wondering if that Linaro build has meaningful extra patches and/or lacks important bug fixes. The reason I'm trying to get to the bottom of this is because, as you noted, we might be on the edge of running into more issues if at least some not know broken gcc versions behave like this. Could you try compiling the example code I sent earlier with the two arm compilers you use, to see if that trivial piece of code also exposes that behavior (or whether this is tied to something else)? Jan