OSDN Git Service

Add a testcase for PR target/43668.
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 May 2010 21:15:35 +0000 (21:15 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 May 2010 21:15:35 +0000 (21:15 +0000)
2010-05-04  H.J. Lu  <hongjiu.lu@intel.com>

PR target/43668
* gcc.target/i386/pr43668.c: New.

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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr43668.c [new file with mode: 0644]

index 8e2ffc9..0707cb9 100644 (file)
@@ -1,3 +1,8 @@
+2010-05-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/43668
+       * gcc.target/i386/pr43668.c: New.
+
 2010-05-04  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR c++/43028
diff --git a/gcc/testsuite/gcc.target/i386/pr43668.c b/gcc/testsuite/gcc.target/i386/pr43668.c
new file mode 100644 (file)
index 0000000..b6c2114
--- /dev/null
@@ -0,0 +1,10 @@
+/* PR target/43668 */
+/* { dg-do run } */
+/* { dg-options "-fschedule-insns" } */
+
+int foo(int i, ...) {
+  return i;
+}
+int main() {
+  return foo(0, 0.0);
+}