OSDN Git Service

2010-03-31 Martin Jambor <mjambor@suse.cz>
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Mar 2010 11:29:03 +0000 (11:29 +0000)
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Mar 2010 11:29:03 +0000 (11:29 +0000)
* gcc.dg/guality/inline-params.c: Disable early inlining.  Xfail run
only with -O2, -O3 or -Os and not with -fwhopr.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157863 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/guality/inline-params.c

index 4b0fb1a..1267060 100644 (file)
@@ -1,3 +1,8 @@
+2010-03-31  Martin Jambor  <mjambor@suse.cz>
+
+       * gcc.dg/guality/inline-params.c: Disable early inlining.  Xfail run
+       only with -O2, -O3 or -Os and not with -fwhopr.
+
 2010-03-31  Dodji Seketeli  <dodji@redhat.com>
 
        PR c++/43558
index ff38454..47e6498 100644 (file)
@@ -1,6 +1,10 @@
-/* { dg-do run { xfail *-*-* } } */
-/* IPA-SRA removes the argumet as dead, so we don't see their values.  */
-/* { dg-options "-g -fno-ipa-sra" } */
+/* { dg-do run } */
+/* IPA-SRA removes the arguments as dead, so we don't see their values, early
+   inlining inlines the functions too early to test the real IPA passes (such
+   as IPA-CP).  */
+/* { dg-options "-g -fno-early-inlining -fno-ipa-sra" } */
+/* { dg-xfail-run-if "" { "*-*-*" } { "-O2" "-O3" "-Os" } { "-fwhopr" } } */
+
 #define GUALITY_DONT_FORCE_LIVE_AFTER -1
 
 #ifndef STATIC_INLINE