Test for reload bug with 'long long' function parameters.
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Jan 2000 01:08:14 +0000 (01:08 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Jan 2000 01:08:14 +0000 (01:08 +0000)
Found with 2.95.2 on x86; already fixed in 2.96.
Reported by D.J. Bernstein.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31555 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/gcc.c-torture/execute/20000121-1.c [new file with mode: 0644]

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 (file)
index 0000000..71f0914
--- /dev/null
@@ -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;
+}