From patchwork Fri May 3 19:13:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greta Yorsh X-Patchwork-Id: 241371 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 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 523812C00AB for ; Sat, 4 May 2013 05:13:43 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:cc:content-type; q=dns; s=default; b=AhKpuq460lYHoINIeKg1I4MdCfsRF9HP2X341eG9XJq kzmQ0MEtiLwtAdwJ7UKw1Xui2wgMiwquNt7xQZZlIT2ushWuUlYjlVGPezNCMS7i fwKcIz7Yovx6VjEf20VoPWnV8U1CwJzWYhyobuA3cdE2oZBHIlSlI+SMYjNJGLAw = 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 :mime-version:date:message-id:subject:from:to:cc:content-type; s=default; bh=Ph09dSQBXgRyiXmeCvsDMMYoEfg=; b=lzlpxzy/hmQmaiSB2 v6mtprHhbfFP+ktGfjygGnHLl0eZ77LWGKTnCF+7seRjVWNi9oNFocDyzibXzQ9d YQ6jylA+gTys/YqKX+eeqdCYQ0EhSEOHEIUjEVdC5sSMGi8Q1LIkTObaqUoRKl/U s9u/kCSvLFbsr5BcnDwvgg+CCY= Received: (qmail 26190 invoked by alias); 3 May 2013 19:13:37 -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 26180 invoked by uid 89); 3 May 2013 19:13:36 -0000 X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_HOSTKARMA_YE, SPF_PASS autolearn=ham version=3.3.1 Received: from mail-pd0-f175.google.com (HELO mail-pd0-f175.google.com) (209.85.192.175) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 03 May 2013 19:13:35 +0000 Received: by mail-pd0-f175.google.com with SMTP id y14so1063396pdi.34 for ; Fri, 03 May 2013 12:13:34 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.68.40.200 with SMTP id z8mr14832312pbk.210.1367608413988; Fri, 03 May 2013 12:13:33 -0700 (PDT) Received: by 10.70.103.1 with HTTP; Fri, 3 May 2013 12:13:33 -0700 (PDT) Date: Fri, 3 May 2013 20:13:33 +0100 Message-ID: Subject: [Patch,Testsuite] Fix failure in gcc.dg/tree-ssa/forwprop-26.c From: Greta Yorsh To: gcc-patches@gcc.gnu.org Cc: law@redhat.com, janisjo@codesourcery.com, Richard Earnshaw , Ramana.Radhakrishnan@arm.com, Greta Yorsh X-Virus-Found: No This is a new test that fails on arm and probably other targets that have short enums by default: FAIL: gcc.dg/tree-ssa/forwprop-26.c (test for excess errors) Excess errors: /src/gcc/gcc/testsuite/gcc.dg/tree-ssa/forwprop-26.c:13:22: error: width of 'code' exceeds its type gcc.dg/tree-ssa/forwprop-26.c: dump file does not exist This patch adds missing -fno-short-enums to dg-options. It fixes the test failure. Ok for trunk? Thanks, Greta gcc/testsuite/ChangeLog 2013-05-03 Greta Yorsh * gcc.dg/tree-ssa/forwprop-26.c: Add -fno-short-enums to dg-options. diff --git a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-26.c b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-26.c index 14821af..108b1bc 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-26.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/forwprop-26.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-forwprop1" } */ +/* { dg-options "-O2 -fdump-tree-forwprop1 -fno-short-enums" } */ union tree_node; typedef union tree_node *tree;