From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25720 invoked by alias); 15 Apr 2011 09:27:19 -0000 Received: (qmail 25712 invoked by uid 22791); 15 Apr 2011 09:27:19 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Received: from mail-ww0-f51.google.com (HELO mail-ww0-f51.google.com) (74.125.82.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Apr 2011 09:27:13 +0000 Received: by wwf26 with SMTP id 26so2880007wwf.8 for ; Fri, 15 Apr 2011 02:27:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.30.164 with SMTP id u36mr1797706wbc.118.1302859631763; Fri, 15 Apr 2011 02:27:11 -0700 (PDT) Received: by 10.227.0.140 with HTTP; Fri, 15 Apr 2011 02:27:11 -0700 (PDT) In-Reply-To: References: <4DA72526.6010304@gjlay.de> Date: Fri, 15 Apr 2011 10:10:00 -0000 Message-ID: Subject: Re: [Patch,testsuite,avr]: add -finline-limit=0 to pr41885.c options From: Richard Guenther To: Denis Chertykov Cc: Georg-Johann Lay , gcc-patches@gcc.gnu.org, Anatoly Sokolov , Eric Weddington Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg01159.txt.bz2 On Thu, Apr 14, 2011 at 8:14 PM, Denis Chertykov wrot= e: > 2011/4/14 Georg-Johann Lay : >> This patchlet adds -finline-limit=3D0 to dg-options in >> >> testsuite/gcc.target/avr/torture/pr41885.c >> >> because otherwise optimizers will fold all tests and actually no test >> function is called when optimization is on. The test case still passes >> all tests. >> >> >> testsuite/ >> 2011-04-14 =A0Georg-Johann Lay =A0 >> >> =A0 =A0 =A0 =A0* gcc.target/avr/torture/pr41885.c (dg-options): Add >> =A0 =A0 =A0 =A0-finline-limit=3D0 Please use -fno-inline instead. Richard. >> Index: testsuite/gcc.target/avr/torture/pr41885.c >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> --- testsuite/gcc.target/avr/torture/pr41885.c =A0(Revision 172431) >> +++ testsuite/gcc.target/avr/torture/pr41885.c =A0(Arbeitskopie) >> @@ -1,4 +1,4 @@ >> -/* { dg-options "-w -std=3Dc99" } */ >> +/* { dg-options "-w -std=3Dc99 -finline-limit=3D0" } */ >> =A0/* { dg-do run } */ >> >> =A0#include >> > > Approved. > > Denis. >