diff options
| -rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
| -rw-r--r-- | 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 b37317b..da7441dc 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-08-23 DJ Delorie <dj@redhat.com> + + * gcc.c-torture/execute/stdarg-2.c (main): Make sure long + constants have the L suffix. + 2005-08-23 Nathan Sidwell <nathan@codesourcery.com> 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 3d32ec8..40246f9 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) |
