public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Guenther <richard.guenther@gmail.com>
To: Denis Chertykov <chertykov@gmail.com>
Cc: Georg-Johann Lay <avr@gjlay.de>,
	gcc-patches@gcc.gnu.org, Anatoly Sokolov <aesok@post.ru>,
		Eric Weddington <eric.weddington@atmel.com>
Subject: Re: [Patch,testsuite,avr]: add -finline-limit=0 to pr41885.c options
Date: Fri, 15 Apr 2011 10:10:00 -0000	[thread overview]
Message-ID: <BANLkTin0Yuyhgem35LBBJndQE0tZFUP_7Q@mail.gmail.com> (raw)
In-Reply-To: <BANLkTim916hDcWcg5=N+VW2Z17dxLhKmtg@mail.gmail.com>

On Thu, Apr 14, 2011 at 8:14 PM, Denis Chertykov <chertykov@gmail.com> wrote:
> 2011/4/14 Georg-Johann Lay <avr@gjlay.de>:
>> This patchlet adds -finline-limit=0 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  Georg-Johann Lay  <avr@gjlay.de>
>>
>>        * gcc.target/avr/torture/pr41885.c (dg-options): Add
>>        -finline-limit=0

Please use -fno-inline instead.

Richard.

>> Index: testsuite/gcc.target/avr/torture/pr41885.c
>> ===================================================================
>> --- testsuite/gcc.target/avr/torture/pr41885.c  (Revision 172431)
>> +++ testsuite/gcc.target/avr/torture/pr41885.c  (Arbeitskopie)
>> @@ -1,4 +1,4 @@
>> -/* { dg-options "-w -std=c99" } */
>> +/* { dg-options "-w -std=c99 -finline-limit=0" } */
>>  /* { dg-do run } */
>>
>>  #include <limits.h>
>>
>
> Approved.
>
> Denis.
>

  reply	other threads:[~2011-04-15  9:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-14 16:47 Georg-Johann Lay
2011-04-14 18:31 ` Denis Chertykov
2011-04-15 10:10   ` Richard Guenther [this message]
2011-04-15 11:52     ` Georg-Johann Lay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTin0Yuyhgem35LBBJndQE0tZFUP_7Q@mail.gmail.com \
    --to=richard.guenther@gmail.com \
    --cc=aesok@post.ru \
    --cc=avr@gjlay.de \
    --cc=chertykov@gmail.com \
    --cc=eric.weddington@atmel.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).