From: Zack Weinberg Date: Sat, 22 Jan 2000 01:08:14 +0000 (+0000) Subject: Test for reload bug with 'long long' function parameters. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8736c0002353a4007f35764c06dda4f68a342be;p=gcc.git Test for reload bug with 'long long' function parameters. Found with 2.95.2 on x86; already fixed in 2.96. Reported by D.J. Bernstein. From-SVN: r31555 --- diff --git a/gcc/testsuite/gcc.c-torture/execute/20000121-1.c b/gcc/testsuite/gcc.c-torture/execute/20000121-1.c new file mode 100644 index 00000000000..71f0914d365 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/20000121-1.c @@ -0,0 +1,14 @@ +void big(long long u) { } + +void doit(unsigned int a,unsigned int b,char *id) +{ + big(*id); + big(a); + big(b); +} + +int main(void) +{ + doit(1,1,"\n"); + return 0; +}