On Thu, Apr 14, 2011 at 8:14 PM, Denis Chertykov <cherty...@gmail.com> wrote:
> 2011/4/14 Georg-Johann Lay <a...@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  <a...@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 via email to