920302-1.c (execute): Change argument type to short.

* gcc.c-torture/execute/920302-1.c (execute):
	Change argument type to short.

From-SVN: r39691
This commit is contained in:
J"orn Rennecke 2001-02-14 21:34:52 +00:00 committed by Joern Rennecke
parent 3bb7e1260f
commit 49f527d515
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Wed Feb 14 21:31:25 2001 J"orn Rennecke <amylaar@redhat.com>
* gcc.c-torture/execute/920302-1.c (execute):
Change argument type to short.
2001-02-14 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/deduct6.C: New test.

View File

@ -1,7 +1,7 @@
short optab[5];
char buf[10];
execute (ip)
register unsigned short *ip;
register short *ip;
{
#ifndef NO_LABEL_VALUES
register void *base = &&x;
@ -30,7 +30,7 @@ short p[5];
main ()
{
execute ((unsigned short *) 0);
execute ((short *) 0);
p[0] = optab[1];
p[1] = optab[0];
p[2] = optab[1];