From 7d04db3f0fe50fef2a617af24620a28b9e2d1f25 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 23 Aug 2005 16:58:13 -0400 Subject: [PATCH] stdarg-2.c (main): Make sure long constants have the L suffix. * gcc.c-torture/execute/stdarg-2.c (main): Make sure long constants have the L suffix. From-SVN: r103412 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.c-torture/execute/stdarg-2.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b37317b4e51..da7441dc04c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-08-23 DJ Delorie + + * gcc.c-torture/execute/stdarg-2.c (main): Make sure long + constants have the L suffix. + 2005-08-23 Nathan Sidwell PR c++/23044 diff --git a/gcc/testsuite/gcc.c-torture/execute/stdarg-2.c b/gcc/testsuite/gcc.c-torture/execute/stdarg-2.c index 3d32ec8b422..40246f937ef 100644 --- a/gcc/testsuite/gcc.c-torture/execute/stdarg-2.c +++ b/gcc/testsuite/gcc.c-torture/execute/stdarg-2.c @@ -143,8 +143,8 @@ f12 (int i, ...) int main (void) { - f1 (1, 79); - if (x != 79) + f1 (1, 79L); + if (x != 79L) abort (); f2 (0x4002, 13, -14.0); if (bar_arg != 0x4002) -- 2.30.2