Annotation of researchv10no/cmd/lcc/ph/int13.c, revision 1.1

1.1     ! root        1: /* The Plum Hall Validation Suite for C
        !             2:  * Unpublished copyright (c) 1986-1991, Chiron Systems Inc and Plum Hall Inc.
        !             3:  * VERSION: 4
        !             4:  * DATE: 1993-01-01
        !             5:  * The "ANSI" mode of the Suite corresponds to the official ANSI C, X3.159-1989.
        !             6:  * As per your license agreement, your distribution is not to be moved or copied outside the Designated Site
        !             7:  * without specific permission from Plum Hall Inc.
        !             8:  */
        !             9: 
        !            10: /****************************************************************************
        !            11:  ** Self-checking C source code generated by EGEN component of             **
        !            12:  **    The Plum Hall Validation Suite for C.                               **
        !            13:  **    (C) 1986-1988 Chiron Systems Inc and Plum Hall Inc                  **
        !            14:  **    EGEN Version 1.09.000  88/08/21                                     **
        !            15:  **                                                                        **
        !            16:  **    EGEN -P -R13 -V -A -N5 -Dinteger.gen ( @ @ ) @ ( @ @ )              **
        !            17:  ****************************************************************************/
        !            18: #include "defs.h"
        !            19: 
        !            20: 
        !            21: int main()
        !            22:        {
        !            23:        extern char *Filename;
        !            24:        auto unsigned int ui;
        !            25:        static unsigned int * pui;
        !            26:        auto unsigned int ** ppui;
        !            27:        auto int i;
        !            28:        static int * pi;
        !            29:        auto int ** ppi;
        !            30:        auto unsigned short us;
        !            31:        static unsigned short * pus;
        !            32:        auto unsigned short ** ppus;
        !            33:        auto short s;
        !            34:        static short * ps;
        !            35:        auto short ** pps;
        !            36:        auto unsigned char uc;
        !            37:        static unsigned char * puc;
        !            38:        auto unsigned char ** ppuc;
        !            39:        auto char c;
        !            40:        static char * pc;
        !            41:        auto char ** ppc;
        !            42:        auto unsigned long ul;
        !            43:        static unsigned long * pul;
        !            44:        auto unsigned long ** ppul;
        !            45:        auto long l;
        !            46:        static long * pl;
        !            47:        auto long ** ppl;
        !            48:        register int rint1;
        !            49:        register int rint2;
        !            50:        register int rint3;
        !            51:        register int rint4;
        !            52:        register int rint5;
        !            53: 
        !            54:        ui = ivalue(100);
        !            55:        pui = &ui;
        !            56:        ppui = &pui;
        !            57:        i = ivalue(10);
        !            58:        pi = &i;
        !            59:        ppi = π
        !            60:        us = lvalue(33000);
        !            61:        pus = &us;
        !            62:        ppus = &pus;
        !            63:        s = ivalue(13);
        !            64:        ps = &s;
        !            65:        pps = &ps;
        !            66:        uc = ivalue(128);
        !            67:        puc = &uc;
        !            68:        ppuc = &puc;
        !            69:        c = ivalue(20);
        !            70:        pc = &c;
        !            71:        ppc = &pc;
        !            72:        ul = lvalue(65000L);
        !            73:        pul = &ul;
        !            74:        ppul = &pul;
        !            75:        l = lvalue(97L);
        !            76:        pl = &l;
        !            77:        ppl = &pl;
        !            78:        rint1 = ivalue(1);
        !            79:        rint2 = ivalue(2);
        !            80:        rint3 = ivalue(3);
        !            81:        rint4 = ivalue(4);
        !            82:        rint5 = ivalue(5);
        !            83:        Filename = "int13.c";
        !            84: 
        !            85:        /* post-- 9 => 10 */
        !            86:        /* 97L && 10 => 1 */
        !            87:        /* ! 5 => 0 */
        !            88:        /* 0x80e8 ^= 0 => 0x80e8 */
        !            89:        /* 1 == 0x80e8 => 0 */
        !            90:        iequals(__LINE__, ((l && ((i)-- )) == (us ^= ( ! rint5))), 0);
        !            91:        iequals(__LINE__, us, (unsigned)33000);
        !            92:        iequals(__LINE__, i, 9);
        !            93: 
        !            94:        /* 0x64 & 97L => 96L */
        !            95:        /* 0x80e8 | 96L => 33000L */
        !            96:        /* 0x64 * 2 => 0xc8 */
        !            97:        /* 0xc8 >= 0xfde8L => 0 */
        !            98:        /* 33000L * 0 => 0L */
        !            99:        lequals(__LINE__, ((**ppus | (**ppui & l)) * ((*pui * rint2) >= *pul)), 0L);
        !           100: 
        !           101:        /* 2 * 0x64 => 0xc8 */
        !           102:        /* 20 /= 0xc8 => 0 */
        !           103:        /* 3 < 5 => 1 */
        !           104:        /* 13 += 1 => 14 */
        !           105:        /* 0 <= 14 => 1 */
        !           106:        iequals(__LINE__, ((**ppc /= (rint2 * **ppui)) <= (s += (rint3 < rint5))), 1);
        !           107:        iequals(__LINE__, s, 14);
        !           108:        iequals(__LINE__, c, 0);
        !           109: 
        !           110:        /* ! 9 => 0 */
        !           111:        /* 0 & 0x64 => 0x0 */
        !           112:        /* 128 > 128 => 0 */
        !           113:        /* 0x0 >> 0 => 0x0 */
        !           114:        iequals(__LINE__, ((( ! i) & **ppui) >> ((uc > *puc) && *pui)), 0x0);
        !           115: 
        !           116:        /* 0x64 |= 5 => 0x65 */
        !           117:        /* 0 *= 0x65 => 0 */
        !           118:        /* 0x80 % 14 => 2 */
        !           119:        /* 2 == 2 => 1 */
        !           120:        /* 0 >= 1 => 0 */
        !           121:        iequals(__LINE__, ((**ppc *= (**ppui |= rint5)) >= ((*puc % s) == rint2)), 0);
        !           122:        iequals(__LINE__, ui, (unsigned)101);
        !           123:        iequals(__LINE__, c, 0);
        !           124: 
        !           125:        return  report(Filename);
        !           126:        }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.