X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.c-torture%2Fcompile%2F20000329-1.c;fp=gcc%2Ftestsuite%2Fgcc.c-torture%2Fcompile%2F20000329-1.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=547bf96f95528a22db917f2f70a881fed54c45f6;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.c-torture/compile/20000329-1.c b/gcc/testsuite/gcc.c-torture/compile/20000329-1.c deleted file mode 100644 index 547bf96f..00000000 --- a/gcc/testsuite/gcc.c-torture/compile/20000329-1.c +++ /dev/null @@ -1,40 +0,0 @@ -int giop_tx_big_endian; - -inline -void -giop_encode_ulong (unsigned long i, char *buf) -{ - if (giop_tx_big_endian) - { - *(unsigned long *) buf = i; - } - else - { - *buf++ = i & 0xff; - *buf++ = (i >> 8) & 0xff; - *buf++ = (i >> 16) & 0xff; - *buf = (i >> 24) & 0xff; - } -} - - - -static -double -time_giop_encode (unsigned long l) -{ - int c; - char buf[4]; - - for (c = 0; c < (512 * 1024 * 1024); ++c) - { - giop_encode_ulong (l, buf); - } -} - -int -main (int ac, char *av[]) -{ - giop_tx_big_endian = 1; - time_giop_encode (0); -}