From eddfe8258a8d5524e35ddb2c9c2e27daffc21ee5 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Fri, 9 May 2003 21:07:38 -0400 Subject: [PATCH] stdarg1.C: Make sure arg "3" is passed as a long, and not an int. * g++.dg/other/stdarg1.C: Make sure arg "3" is passed as a long, and not an int. From-SVN: r66653 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/other/stdarg1.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bfddd4d7b44..dd0c8c841c8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-05-09 DJ Delorie + + * g++.dg/other/stdarg1.C: Make sure arg "3" is passed as a + long, and not an int. + 2003-05-09 Kriang Lerdsuwanakij PR c++/10555, c++/10576 diff --git a/gcc/testsuite/g++.dg/other/stdarg1.C b/gcc/testsuite/g++.dg/other/stdarg1.C index 3b7718bd229..e005199d37a 100644 --- a/gcc/testsuite/g++.dg/other/stdarg1.C +++ b/gcc/testsuite/g++.dg/other/stdarg1.C @@ -21,6 +21,6 @@ void foo (long p1, long, long p2, ...) int main () { - foo (0, 1, 2, 3); + foo (0, 1, 2, (long)3); return 0; } -- 2.30.2