fix 128-bit division. gcc mangled arguments when passing to the
authormartynas <martynas@openbsd.org>
Wed, 27 Aug 2008 00:31:01 +0000 (00:31 +0000)
committermartynas <martynas@openbsd.org>
Wed, 27 Aug 2008 00:31:01 +0000 (00:31 +0000)
commit069a0102575cea4217c41eab66c8304d38715846
treeb04bc61a919980c8eeb5b24e7d41bfebd7e52f27
parent31ffa88f16fc5103d2adb0ba4f43c78f3a196f1e
fix 128-bit division.  gcc mangled arguments when passing to the
__udivti3, because MUST_PASS_IN_STACK always returned 1 on amd64;
pr#5780
reported by Simon Kuhnle
tested by Simon Kuhnle, sthen@, brad@
double-checked & tweak from miod@
ok sthen@, brad@
gnu/usr.bin/gcc/gcc/calls.c
gnu/usr.bin/gcc/gcc/config/i386/i386-protos.h
gnu/usr.bin/gcc/gcc/config/i386/i386.c
gnu/usr.bin/gcc/gcc/config/i386/i386.h
gnu/usr.bin/gcc/gcc/expr.h