Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!necntc!cullvax!drw From: drw@cullvax.UUCP Newsgroups: comp.lang.c Subject: Register arguments (was: Order of registers) Message-ID: <902@cullvax.UUCP> Date: Wed, 11-Mar-87 14:26:48 EST Article-I.D.: cullvax.902 Posted: Wed Mar 11 14:26:48 1987 Date-Received: Thu, 12-Mar-87 20:21:21 EST Organization: Cullinet Software, Inc., Westwood, MA Lines: 17 karl@haddock.UUCP (Karl Heuer) writes: > You imply that the declaration "extern int foo(int)" (without "register") is > incompatible with the definition "int foo(register int i) { ... }". Does > X3J11 really say this? Well, reading section 3.5.3.3, 'register' is specifically allowed for function arguments, and all other storage class specifiers are specifically forbidden. I presume that this means that it is significant in matching, probably so the compiler can pass the argument via a register. Sign! Another ambiguity in X3J11. Dale -- Dale Worley Cullinet Software UUCP: ...!seismo!harvard!mit-eddie!cullvax!drw ARPA: cullvax!drw@eddie.mit.edu Un*x (a generic name for a class of OS's) != Unix (AT&T's brand of such)