Re: [Patch,testsuite,avr]: add -finline-limit=0 to pr41885.c options

2011-04-15 Thread Richard Guenther
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.



Re: [Patch,testsuite,avr]: add -finline-limit=0 to pr41885.c options

2011-04-15 Thread Georg-Johann Lay
Richard Guenther schrieb:
 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.

Ok, changed it:

http://gcc.gnu.org/viewcvs?view=revisionrevision=172487

Johann


[Patch,testsuite,avr]: add -finline-limit=0 to pr41885.c options

2011-04-14 Thread Georg-Johann Lay
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

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


Re: [Patch,testsuite,avr]: add -finline-limit=0 to pr41885.c options

2011-04-14 Thread Denis Chertykov
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

 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.