From patchwork Fri Jan 13 10:10:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georg-Johann Lay X-Patchwork-Id: 135774 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 E2EA3B6F9A for ; Fri, 13 Jan 2012 21:11:18 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1327054279; h=Comment: DomainKey-Signature:Received:Received:Received:Received: Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: Content-Type:Content-Transfer-Encoding:Mailing-List:Precedence: List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=7WP0iiGCitfNZ1hQS6uQZKJk/hM=; b=vcycb9bRlUPGAR8 fhpOQKbxqLSJ1gDt2PLgQF6KnvBfOtwFMVpuJjAITm7mrbtdNooUvHkswuuDa3qc sHq8TyHtRg2BB9INpm+qrq38+Z/R/u+YqkckKrdN7WJf8JaqU0tdt8fyb7aoa0Ok vvvRJ2pAQ6t7WFh9E19ZifKP0C9Y= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:X-RZG-AUTH:X-RZG-CLASS-ID:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:Content-Type:Content-Transfer-Encoding:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=joDqw6ysM+2WLVAM/XqHWZdpC+Fo9Xzb/EfMa1ztsnKkFH34r1aYMfwGZUwJV7 pQFLgYAsI8eE6uJcYfWwd97QqSEt3cQ3CxFDszk1Lx9LBIXHBE+Qu5jcdl6q1yU8 Ht6EHAXAgmsNJ3WrwPSkAYuoVbQR8/uiJufS04AGn+/ko=; Received: (qmail 15934 invoked by alias); 13 Jan 2012 10:11:12 -0000 Received: (qmail 15924 invoked by uid 22791); 13 Jan 2012 10:11:11 -0000 X-SWARE-Spam-Status: No, hits=-1.5 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; Fri, 13 Jan 2012 10:10:59 +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 post.strato.de (mrclete mo3) (RZmta 27.3 AUTH) with ESMTPA id g01c83o0D96Txh ; Fri, 13 Jan 2012 11:10:52 +0100 (MET) Message-ID: <4F10032C.3040101@gjlay.de> Date: Fri, 13 Jan 2012 11:10:52 +0100 From: Georg-Johann Lay User-Agent: Thunderbird 2.0.0.24 (X11/20100302) MIME-Version: 1.0 To: gcc-patches@gcc.gnu.org CC: Mike Stump Subject: [patch, testsuite]: Fix yet another test case that breaks on int16 platforms 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 Similar to fix for gcc.dg/cpp/warn-multichar-2.c: It's sifficient to have a 2-letter constant. Ok to apply? Johann * gcc.dg/cpp/warn-multichar.c: Fix to work on int=16 platforms. Index: gcc.dg/cpp/warn-multichar.c =================================================================== --- gcc.dg/cpp/warn-multichar.c (revision 183150) +++ gcc.dg/cpp/warn-multichar.c (working copy) @@ -1,5 +1,5 @@ // { dg-do preprocess } // { dg-options "-std=gnu99 -fdiagnostics-show-option -Wmultichar" } -#if 'abc' // { dg-warning "multi-character character constant .-Wmultichar." } +#if 'ab' // { dg-warning "multi-character character constant .-Wmultichar." } #endif