From patchwork Sun Sep 9 23:53:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luc Van Oostenryck X-Patchwork-Id: 10593495 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BDADC13AC for ; Mon, 10 Sep 2018 02:18:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A138228C1A for ; Mon, 10 Sep 2018 02:18:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9264028D40; Mon, 10 Sep 2018 02:18:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3767E28C1A for ; Mon, 10 Sep 2018 02:18:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726148AbeIJHJy (ORCPT ); Mon, 10 Sep 2018 03:09:54 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:36060 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725917AbeIJHJy (ORCPT ); Mon, 10 Sep 2018 03:09:54 -0400 Received: by mail-wr1-f65.google.com with SMTP id e1-v6so11115108wrt.3 for ; Sun, 09 Sep 2018 19:18:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=fSC9iWtUe7AoQ+avYo4ab6/AeELYIc6sDdLQ0IVXC7Y=; b=EIqWLAojeJpQgwJ9rCX7+TpF3sQgNAehEkxQucbGY3SV2hVzjPQ6PFiX5vxNE3RCL3 yDufEk1NxXKWTJTjx8XM6tlWErorcQHPmGPLCo/wnUoqQ5eE5FgApG8mo5VybkK5yDkF WL5AA1yPMaRyk8066KyU1gVNErL3rvvAzLGJ3+3UDPjG7maUEuoW+38a+6WNvzYt4Hty mhE/Dp8lVHqCgDlKaaeOwLhJaR7kxUgpriiK1aP7uEGH/M9Aa9/hWz6wC6nbGE2rbCnr 2NWWXYcO5c5e4kYqL0xzGbtms3DGuBBuYVPz3Wx1WpDbmY/aPzfCsFmSJBGqoTWxTR9o rv7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=fSC9iWtUe7AoQ+avYo4ab6/AeELYIc6sDdLQ0IVXC7Y=; b=fdO6hBXvGG920ojk+A47xvgo4ss18kUs69hZXq3XONhE8uTyxea3QvOHSy2cZ/pWis LFZHRakseCS9t4MUzIpp0QAK27O/NusiFP+uIDGhtgT/ULDJtNfSKb9lJyNaPbN1tgHD F6Uf+rY6yU0DVxemmWqswVtTGvUk8j2x+gAkI6cwddm3Hz8AQCCGETMH7bSObHnqkk3D 0PsoGVGLu2gUZ7MkOvqyDMbQd2FRsZaPgGL9uisLxLFCPkAHPFoQ1cHGKYDh4GE59pG1 4263KAXJE/nZS/86e4ReDtVIW1F3zCj2WhWjyJlevCiyd249YS8HRn/L9Q6OnEkiwppn X1WQ== X-Gm-Message-State: APzg51Dp/6Y0+cVayNKUQvqgPl69Npg3ewu+bKj2A+nNLOzD4DrZTLJz HAiwN9hTja6Y5w/5rJy31fJ9aIHz X-Google-Smtp-Source: ANB0VdZkiujszfnlav4gR/fK0aocfxjMzZ7yHQp68Gv65j6K5g3kQ7e17dEml932fpaoFZDZaN1IaQ== X-Received: by 2002:adf:e5c4:: with SMTP id a4-v6mr12890136wrn.190.1536537329923; Sun, 09 Sep 2018 16:55:29 -0700 (PDT) Received: from localhost.localdomain ([2a02:a03f:4006:df00:5977:db62:b6c9:6a45]) by smtp.gmail.com with ESMTPSA id n11-v6sm15121516wra.26.2018.09.09.16.55.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Sep 2018 16:55:29 -0700 (PDT) From: Luc Van Oostenryck To: linux-sparse@vger.kernel.org Cc: Ramsay Jones , Luc Van Oostenryck Subject: [PATCH 0/4] fix testsuite on 32-bit Date: Mon, 10 Sep 2018 01:53:23 +0200 Message-Id: <20180909235327.26252-1-luc.vanoostenryck@gmail.com> X-Mailer: git-send-email 2.18.0 Sender: linux-sparse-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This series contains fixes for the three tests that failed on 32-bit. It also contains a small improvement in the SSA conversion which is related to one of the failed test. Many thanks to Ramsay Jones for testing and reporting these problems. This series is available for review & testing in the Git repository at: git://github.com/lucvoo/sparse-dev.git fix-32bit ---------------------------------------------------------------- Luc Van Oostenryck (4): test: make test Waddress-space-strict succeed on 32-bit test: use integers of different sizes, even on 32-bit test: make 32-bit version of failed test ssa: relax what can be promoted ssa.c | 4 +-- validation/Waddress-space-strict.c | 33 +++++----------------- .../mem2reg/{init-local.c => init-local32.c} | 4 +-- validation/mem2reg/init-local64.c | 27 ++++++++++++++++++ validation/optim/cse-size.c | 4 +-- 5 files changed, 40 insertions(+), 32 deletions(-) rename validation/mem2reg/{init-local.c => init-local32.c} (71%) create mode 100644 validation/mem2reg/init-local64.c