Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site lsuc.UUCP Path: utzoo!lsuc!dave From: dave@lsuc.UUCP (David Sherman) Newsgroups: pe.cust.bugs Subject: bug in C compiler - accepts address of a register Message-ID: <620@lsuc.UUCP> Date: Wed, 24-Apr-85 12:41:16 EST Article-I.D.: lsuc.620 Posted: Wed Apr 24 12:41:16 1985 Date-Received: Wed, 24-Apr-85 13:12:10 EST Organization: Law Society of Upper Canada, Toronto Lines: 14 I write the following code (by accident): register time_t now; ... time(&now); and the C compiler accepted it. The register, not surprisingly, didn't get its value set. The compiler should have rejected this attempt to take the address of a register. Dave Sherman The Law Society of Upper Canada -- { ihnp4!utzoo pesnta utcs hcr decvax!utcsri } !lsuc!dave