From 117df5d9efd27f92fd139963f1a6033e59f3f6a9 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 10 Apr 2008 08:26:41 +0000 Subject: [PATCH] * stdlib/tst-makecontext.c (othervar): New variable. (cf): Test sign extending the argument to long. 2008-04-10 Jakub Jelinek * stdlib/tst-makecontext.c (othervar): New variable. (cf): Test sign extending the argument to long. --- ChangeLog | 5 +++++ stdlib/tst-makecontext.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 21312f6..7903575 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-04-10 Jakub Jelinek + + * stdlib/tst-makecontext.c (othervar): New variable. + (cf): Test sign extending the argument to long. + 2008-03-03 Steven Munroe * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: New file. diff --git a/stdlib/tst-makecontext.c b/stdlib/tst-makecontext.c index 5fe66f6..00f8f19 100644 --- a/stdlib/tst-makecontext.c +++ b/stdlib/tst-makecontext.c @@ -26,11 +26,12 @@ char st1[8192]; __thread int thr; int somevar = -76; +long othervar = -78L; void cf (int i) { - if (i != -78 || thr != 94) + if (i != othervar || thr != 94) { printf ("i %d thr %d\n", i, thr); exit (1); -- 2.7.4