aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2010-05-04 21:15:35 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2010-05-04 14:15:35 -0700
commit55a46075763ff282cd457c3dc5e00483dae32230 (patch)
tree318de409f6137563bdae3b29fd784a78ad9c7392 /gcc
parent68fef9f904e00df927a457fc061aae4feef97824 (diff)
downloadgcc-55a46075763ff282cd457c3dc5e00483dae32230.zip
gcc-55a46075763ff282cd457c3dc5e00483dae32230.tar.gz
gcc-55a46075763ff282cd457c3dc5e00483dae32230.tar.bz2
Add a testcase for PR target/43668.
2010-05-04 H.J. Lu <hongjiu.lu@intel.com> PR target/43668 * gcc.target/i386/pr43668.c: New. From-SVN: r159046
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.target/i386/pr43668.c10
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 8e2ffc9..0707cb9 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
index 0000000..b6c2114
--- /dev/null
+++ b/gcc/testsuite/gcc.target/i386/pr43668.c
@@ -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);
+}