From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 31645 invoked from network); 6 May 2020 02:53:29 -0000 Received-SPF: pass (minnie.tuhs.org: domain of minnie.tuhs.org designates 45.79.103.53 as permitted sender) receiver=inbox.vuxu.org; client-ip=45.79.103.53 envelope-from= Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 6 May 2020 02:53:29 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 26A9C9C9C4; Wed, 6 May 2020 12:53:22 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 738869C9B5; Wed, 6 May 2020 12:52:53 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id BD2239C9B5; Wed, 6 May 2020 12:52:49 +1000 (AEST) Received: from mail.cs.dartmouth.edu (mail.cs.dartmouth.edu [129.170.212.100]) by minnie.tuhs.org (Postfix) with ESMTPS id 3CD739C918 for ; Wed, 6 May 2020 12:52:49 +1000 (AEST) Received: from tahoe.cs.Dartmouth.EDU (tahoe.cs.dartmouth.edu [129.170.212.20]) by mail.cs.dartmouth.edu (8.15.2/8.15.2) with ESMTPS id 0462ql9K1805336 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Tue, 5 May 2020 22:52:47 -0400 Received: from tahoe.cs.Dartmouth.EDU (localhost.localdomain [127.0.0.1]) by tahoe.cs.Dartmouth.EDU (8.15.2/8.14.3) with ESMTP id 0462qllr077589 for ; Tue, 5 May 2020 22:52:47 -0400 Received: (from doug@localhost) by tahoe.cs.Dartmouth.EDU (8.15.2/8.15.2/Submit) id 0462qkWH077588 for tuhs@tuhs.org; Tue, 5 May 2020 22:52:46 -0400 From: Doug McIlroy Message-Id: <202005060252.0462qkWH077588@tahoe.cs.Dartmouth.EDU> Date: Tue, 05 May 2020 22:52:46 -0400 To: tuhs@tuhs.org User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [TUHS] DEC Compilers (was: Re: SDB debugger X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" > random small C programs with computable expected outputs "computable" is subtle here. The only way to compute the outputs was to run the program. McKeeman's trick was to sic several completely unrelated compilers on the program and let them vote on the answer. Compile time was measured. My favorite "bug" was the mmany minutes it took to compile a constant expression that involved shifting a constant INT_MAX bits by performing that many 1-bit shifts. Doug