From patchwork Thu Aug 12 18:19:23 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 61640 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 8F3EFB70B8 for ; Fri, 13 Aug 2010 04:19:34 +1000 (EST) Received: (qmail 11558 invoked by alias); 12 Aug 2010 18:19:32 -0000 Received: (qmail 11546 invoked by uid 22791); 12 Aug 2010 18:19:31 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, TW_ZJ, T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-qw0-f47.google.com (HELO mail-qw0-f47.google.com) (209.85.216.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Aug 2010 18:19:26 +0000 Received: by qwi2 with SMTP id 2so1241074qwi.20 for ; Thu, 12 Aug 2010 11:19:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.36.207 with SMTP id u15mr288758qad.0.1281637163888; Thu, 12 Aug 2010 11:19:23 -0700 (PDT) Received: by 10.229.182.18 with HTTP; Thu, 12 Aug 2010 11:19:23 -0700 (PDT) Date: Thu, 12 Aug 2010 20:19:23 +0200 Message-ID: Subject: [PATCH, testsuite]: Fix gcc.target/i386/pr40906-1.c failure with new i386 defaults From: Uros Bizjak To: gcc-patches@gcc.gnu.org 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 Hello! 2010-08-12 Uros Bizjak * gcc.target/i386/pr40906-1.c: Add -fno-asynchronous-unwind-tables to dg-options. * gcc.target/i386/pr40906-2.c: Ditto. * gcc.target/i386/pr40906-3.c: Ditto. We now default to asynchronous unwind tables and these don't play well with -mno-accumulate-outgoing-args. Tested on x86_64-pc-linux-gnu {,-m32}, committed to mainline SVN. Uros. Index: gcc.target/i386/pr40906-3.c =================================================================== --- gcc.target/i386/pr40906-3.c (revision 163197) +++ gcc.target/i386/pr40906-3.c (working copy) @@ -1,7 +1,7 @@ /* { dg-do run { target *-*-linux* } } */ /* { dg-require-effective-target ilp32 } */ /* { dg-require-effective-target sse2 } */ -/* { dg-options "-O2 -fomit-frame-pointer -msse2 -mpush-args -mno-accumulate-outgoing-args" } */ +/* { dg-options "-O2 -fomit-frame-pointer -fno-asynchronous-unwind-tables -msse2 -mpush-args -mno-accumulate-outgoing-args" } */ #include "sse2-check.h" Index: gcc.target/i386/pr40906-2.c =================================================================== --- gcc.target/i386/pr40906-2.c (revision 163197) +++ gcc.target/i386/pr40906-2.c (working copy) @@ -1,6 +1,6 @@ /* { dg-do run } */ /* { dg-require-effective-target ilp32 } */ -/* { dg-options "-O2 -fomit-frame-pointer -mpush-args -mno-accumulate-outgoing-args -m128bit-long-double" } */ +/* { dg-options "-O2 -fomit-frame-pointer -fno-asynchronous-unwind-tables -mpush-args -mno-accumulate-outgoing-args -m128bit-long-double" } */ void abort (void); Index: gcc.target/i386/pr40906-1.c =================================================================== --- gcc.target/i386/pr40906-1.c (revision 163197) +++ gcc.target/i386/pr40906-1.c (working copy) @@ -1,6 +1,6 @@ /* { dg-do run } */ /* { dg-require-effective-target ilp32 } */ -/* { dg-options "-O2 -fomit-frame-pointer -mpush-args -mno-accumulate-outgoing-args" } */ +/* { dg-options "-O2 -fomit-frame-pointer -fno-asynchronous-unwind-tables -mpush-args -mno-accumulate-outgoing-args" } */ void abort (void); Index: ChangeLog =================================================================== --- ChangeLog (revision 163197) +++ ChangeLog (working copy) @@ -5,6 +5,13 @@ 2010-08-12 Uros Bizjak + * gcc.target/i386/pr40906-1.c: Add -fno-asynchronous-unwind-tables + to dg-options. + * gcc.target/i386/pr40906-2.c: Ditto. + * gcc.target/i386/pr40906-3.c: Ditto. + +2010-08-12 Uros Bizjak + * gcc.dg/profile-generate-3.c: Call dg-require-profiling with empty argument. * g++.dg/other/profile1.C: Ditto.