From patchwork Fri Jun 21 13:01:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 18049 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f198.google.com (mail-qc0-f198.google.com [209.85.216.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CABB825A2B for ; Fri, 21 Jun 2013 13:01:34 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id c1sf10413812qcz.5 for ; Fri, 21 Jun 2013 06:01:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=IPttuAOu8fpBGbaNTRqivCfyxjvGIt8szfqZD8p2RZ8=; b=kK4pRee3pktEr9CKW1HSMcufHWuYJtmYAHpL6wp+31YdOipoXmAHmkbsQaL4axu4O/ JgfCNnVuZAYTMpPnx1/OqZh+xvd1EPca4negRiUsK3m2cURpa1+Vg5vMWETMkLLWgxwz lOwrZbmNX7w26IUw4vHKb8ObyZmcLiFHVypPlAk/2kxbGOZ700VJmT1lLWuQbV5TwEZV z8SzxGNhdDHovPAmXQLkV+SJulV8B/APRUDKI0fW85MWMP8HhV3j195OD0MC5UHqJtBz CDmFndlBpluudUsMPI9QVK7nALPQPSkY/AU3M3xp14/fBEldNF1Unh08pOBF0q5o3lRZ HZVw== X-Received: by 10.236.88.231 with SMTP id a67mr6302891yhf.39.1371819694629; Fri, 21 Jun 2013 06:01:34 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.53.102 with SMTP id a6ls1020995qep.59.gmail; Fri, 21 Jun 2013 06:01:34 -0700 (PDT) X-Received: by 10.220.105.197 with SMTP id u5mr5303914vco.8.1371819694460; Fri, 21 Jun 2013 06:01:34 -0700 (PDT) Received: from mail-ve0-x233.google.com (mail-ve0-x233.google.com [2607:f8b0:400c:c01::233]) by mx.google.com with ESMTPS id n3si1477847vcr.143.2013.06.21.06.01.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Jun 2013 06:01:34 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::233 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::233; Received: by mail-ve0-f179.google.com with SMTP id d10so6282294vea.38 for ; Fri, 21 Jun 2013 06:01:34 -0700 (PDT) X-Received: by 10.58.215.200 with SMTP id ok8mr5695150vec.21.1371819694368; Fri, 21 Jun 2013 06:01:34 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.165.8 with SMTP id yu8csp60631veb; Fri, 21 Jun 2013 06:01:33 -0700 (PDT) X-Received: by 10.180.13.5 with SMTP id d5mr2669295wic.56.1371819692970; Fri, 21 Jun 2013 06:01:32 -0700 (PDT) Received: from mnementh.archaic.org.uk (1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.1.0.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id uj1si1916801wjc.41.2013.06.21.06.01.32 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 21 Jun 2013 06:01:32 -0700 (PDT) Received-SPF: neutral (google.com: 2001:8b0:1d0::1 is neither permitted nor denied by best guess record for domain of pm215@archaic.org.uk) client-ip=2001:8b0:1d0::1; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1Uq0y3-00076v-BP; Fri, 21 Jun 2013 14:01:31 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, Richard Henderson , qemu-trivial@nongnu.org Subject: [PATCH] configure: Add signed*signed check to [u]int128_t test Date: Fri, 21 Jun 2013 14:01:31 +0100 Message-Id: <1371819691-27308-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQn5D6pgmuzI+b4txXgt48jYNs7PrvKrHd/pZPPVE9j/825q42Ix5j5V0Q2Y4YAi19MGLDhT X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::233 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , clang 3.8 with -fsanitize=undefined will fail to link code containing an int128_t * int128_t multiply (http://llvm.org/bugs/show_bug.cgi?id=16404) so add this to our configure test for whether [u]int128_t are usable. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index ad32f87..6465e05 100755 --- a/configure +++ b/configure @@ -3329,6 +3329,7 @@ __uint128_t b; int main (void) { a = a + b; b = a * b; + a = a * a; return 0; } EOF