From patchwork Wed Oct 31 23:11:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Hubicka X-Patchwork-Id: 196043 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 D24052C0223 for ; Thu, 1 Nov 2012 10:11:48 +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=1352329909; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Date: From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:User-Agent:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=/sOQfd0brs5j0X5+NBfidGoEILs=; b=TB5prR/gtXQk8A/ w8z7ApQINHjs3nrU3oFBys2EJsPohe2Yrvmi20qEcyT9EGHbnXofiooadJ18gIdB 2CjSnUki0FirqzOF2d7ohtUT33BlvOHKjItr5pNPHuzsNtSQlJb4R4EW/HLvKjbs /p3vJ/38V+1GrYbuQQbRo233c0Ns= 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:Received:Date:From:To:Subject:Message-ID:MIME-Version:Content-Type:Content-Disposition:User-Agent:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=rNul9vtMr8wCmZGkLXn/51LqUsWwa6w7CfOc3hdfr2rRzBj/utzS10iqRfPkCp yOcIamM5Trr9jQFIhg6zUTWls2LYih12Gh9/cua1likn5Eos5SYSfiY8bJG+rjNU 25W3zmfTyJdGez8LWHPrj2DlekpKTra0ZH/N+rGz9Pq7k=; Received: (qmail 7240 invoked by alias); 31 Oct 2012 23:11:43 -0000 Received: (qmail 7225 invoked by uid 22791); 31 Oct 2012 23:11:42 -0000 X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_W, RCVD_IN_HOSTKARMA_WL, RP_MATCHES_RCVD, T_FRT_BELOW2 X-Spam-Check-By: sourceware.org Received: from nikam.ms.mff.cuni.cz (HELO nikam.ms.mff.cuni.cz) (195.113.20.16) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 31 Oct 2012 23:11:39 +0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id C68AF543BE7; Thu, 1 Nov 2012 00:11:36 +0100 (CET) Date: Thu, 1 Nov 2012 00:11:36 +0100 From: Jan Hubicka To: gcc-patches@gcc.gnu.org Subject: Fix gcc.dg/pr44974.c Message-ID: <20121031231136.GB12209@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) 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 Hi, the testcase bellow started to fail because we now inline the call of _Exit to call to bar. Fixed thus. Honza Index: ChangeLog =================================================================== --- ChangeLog (revision 193049) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2012-10-31 Jan Hubicka + + * gcc.dg/pr44974.c: Add noinline. + 2012-10-31 Janus Weil PR fortran/53718 Index: gcc.dg/pr44974.c =================================================================== --- gcc.dg/pr44974.c (revision 192989) +++ gcc.dg/pr44974.c (working copy) @@ -2,9 +2,9 @@ /* { dg-do compile } */ /* { dg-options "-O -fno-optimize-sibling-calls" } */ -extern void foo (int status) __attribute__ ((__noreturn__)); -extern void bar (int status) __attribute__ ((__noreturn__)); -extern void _Exit (int status) __attribute__ ((__noreturn__)); +extern void foo (int status) __attribute__ ((__noreturn__,__noinline__)); +extern void bar (int status) __attribute__ ((__noreturn__,__noinline__)); +extern void _Exit (int status) __attribute__ ((__noreturn__,__noinline__)); void foo (int status)