summaryrefslogtreecommitdiff
path: root/app-emulation/wine/files/pr69140.c
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-08-13 12:04:21 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-08-13 12:04:21 +0100
commit10ef6fb8d030ed82425a1a8c2eb903d7fa432ecd (patch)
treeee875403e2d0cfafe68384644a70286149ea179f /app-emulation/wine/files/pr69140.c
parent0d6fa517c0be2d6016b04ef6999ae0f48adcda62 (diff)
app-emulation/wine -> app-emulation/wine-any
Diffstat (limited to 'app-emulation/wine/files/pr69140.c')
-rw-r--r--app-emulation/wine/files/pr69140.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/app-emulation/wine/files/pr69140.c b/app-emulation/wine/files/pr69140.c
deleted file mode 100644
index 7c9e001f..00000000
--- a/app-emulation/wine/files/pr69140.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/* { dg-do compile { target lp64 } } */
-/* { dg-options "-O2 -mincoming-stack-boundary=3" } */
-
-typedef struct {
- unsigned int buf[4];
- unsigned char in[64];
-} MD4_CTX;
-
-static void
-MD4Transform (unsigned int buf[4], const unsigned int in[16])
-{
- unsigned int a, b, c, d;
- (b) += ((((c)) & ((d))) | ((~(c)) & ((a)))) + (in[7]);
- (a) += ((((b)) & ((c))) | ((~(b)) & ((d)))) + (in[8]);
- (d) += ((((a)) & ((b))) | ((~(a)) & ((c)))) + (in[9]);
- buf[3] += d;
-}
-
-void __attribute__((ms_abi))
-MD4Update (MD4_CTX *ctx, const unsigned char *buf)
-{
- MD4Transform( ctx->buf, (unsigned int *)ctx->in);
- MD4Transform( ctx->buf, (unsigned int *)ctx->in);
-}
-
-int
-main(void)
-{
- MD4_CTX ctx_test =
- {
- { 0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476 },
- { 0, 0 }
- };
- unsigned char buf[64];
-
- MD4Update(&ctx_test, (const unsigned char *) &buf);
-}