From patchwork Wed Feb 17 14:49:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Biener X-Patchwork-Id: 584174 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 9AC201402BC for ; Thu, 18 Feb 2016 01:49:54 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=IWCxltsQ; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=w69hBd374pD0yYI/67LwJaz8seepIq0miUa+DjCmFBNxGSGrgzppC cCZ6HbhGdEbVPHeDCAcXBLdBH2E/VcOQGX2iKL3SidZQ0ev5+TN66Bja+QlDEHFE HtquycfGNKOzQeLXqO7YDolcf2HyZ+oIqVMcLSLAeMZI1Wc1J8fKx4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=8uvN5cYC2Ica9cl06ZCE13G5SEw=; b=IWCxltsQO+IzQwUSkoeK BYHu51tMUg196ANZ8EHDBLGr2ViJsiq8NLGAB/7s4wof4sBBn/dxg1ms3brhi+Dh DlKjbnMT1IDlXxsefippDJ7uY9EIvF7/tEl4ddAw37/nxI/zQfwJfNAVMsHrn9XS yux9ydraMeMKEOmgpMENWr0= Received: (qmail 125051 invoked by alias); 17 Feb 2016 14:49:40 -0000 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 Received: (qmail 124964 invoked by uid 89); 17 Feb 2016 14:49:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Wed, 17 Feb 2016 14:49:38 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id C493CAB9D for ; Wed, 17 Feb 2016 14:49:34 +0000 (UTC) Date: Wed, 17 Feb 2016 15:49:34 +0100 (CET) From: Richard Biener To: gcc-patches@gcc.gnu.org Subject: [PATCH] Fix PR69568 Message-ID: User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 So after pondering a while the only thing we can do now is force -fno-short-enums. Installed. Richard. 2016-02-17 Richard Biener PR testsuite/69586 * gcc.dg/uninit-21.c: Add -fno-short-enums. Index: gcc/testsuite/gcc.dg/uninit-21.c =================================================================== --- gcc/testsuite/gcc.dg/uninit-21.c (revision 233447) +++ gcc/testsuite/gcc.dg/uninit-21.c (working copy) @@ -1,6 +1,6 @@ /* PR69537, spurious warning because of a missed optimization. */ /* { dg-do compile } */ -/* { dg-options "-O2 -Wuninitialized" } */ +/* { dg-options "-O2 -fno-short-enums -Wuninitialized" } */ enum clnt_stat { RPC_SUCCESS=0,