From patchwork Mon Sep 5 12:08:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georg-Johann Lay X-Patchwork-Id: 113342 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 241CBB6F72 for ; Mon, 5 Sep 2011 22:13:00 +1000 (EST) Received: (qmail 16340 invoked by alias); 5 Sep 2011 12:12:53 -0000 Received: (qmail 16328 invoked by uid 22791); 5 Sep 2011 12:12:46 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mo-p00-ob.rzone.de (HELO mo-p00-ob.rzone.de) (81.169.146.161) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 05 Sep 2011 12:12:13 +0000 X-RZG-AUTH: :LXoWVUeid/7A29J/hMvvT2k715jHQaJercGObUOFkj18odoYNahU4Q== X-RZG-CLASS-ID: mo00 Received: from [192.168.0.22] (business-188-111-022-002.static.arcor-ip.net [188.111.22.2]) by smtp.strato.de (klopstock mo17) (RZmta 26.6) with ESMTPA id w0746dn85B9Lxq ; Mon, 5 Sep 2011 14:08:22 +0200 (MEST) Message-ID: <4E64BBB2.20602@gjlay.de> Date: Mon, 05 Sep 2011 14:08:18 +0200 From: Georg-Johann Lay User-Agent: Thunderbird 2.0.0.24 (X11/20100302) MIME-Version: 1.0 To: gcc-patches@gcc.gnu.org CC: Martin Jambor Subject: [testsuite]: Fix gcc.dg/ipa/ipcp-3.c X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org This test case contains expression 1 << 18 which leads to FAIL for targets with sizeof(int) < 4. The mask seems not to be relevant for the test and can be set to, e.g. 14. Ok? testsuite/ * gcc.dg/ipa/ipcp-3.c (mark_cell): Use mask 1 << 14 instead of 1 << 18. Index: gcc.dg/ipa/ipcp-3.c =================================================================== --- gcc.dg/ipa/ipcp-3.c (revision 178527) +++ gcc.dg/ipa/ipcp-3.c (working copy) @@ -34,7 +34,7 @@ static void mark_cell(int * interp, Pcc_cell *c) { if (c && c->type == 4 && c->p - && !(c->p->flags & (1<<18))) + && !(c->p->flags & (1<<14))) never_ever(interp, c->p); }