Skip to content

Commit

Permalink
* stdlib/tst-makecontext.c (othervar): New variable.
Browse files Browse the repository at this point in the history
(cf): Test sign extending the argument to long.
2008-04-10  Jakub Jelinek  <jakub@redhat.com>

	* stdlib/tst-makecontext.c (othervar): New variable.
	(cf): Test sign extending the argument to long.
  • Loading branch information
Jakub Jelinek committed Apr 10, 2008
1 parent 3e852ba commit 117df5d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2008-04-10 Jakub Jelinek <jakub@redhat.com>

* stdlib/tst-makecontext.c (othervar): New variable.
(cf): Test sign extending the argument to long.

2008-03-03 Steven Munroe <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: New file.
Expand Down
3 changes: 2 additions & 1 deletion stdlib/tst-makecontext.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 117df5d

Please sign in to comment.