Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2002 18:21:13 -0500 (EST)
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        Mark Murray <mark@grondar.za>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/camcontrol camcontrol.c modeedit.c src/sbin/dumpfs dumpfs.c src/sbin/fsck_ffs dir.c fsutil.c inode.c pass1.c pass1b.c pass2.c pass4.c pass5.c preen.c setup.c 
Message-ID:  <200203202321.g2KNLDp61825@khavrinen.lcs.mit.edu>
In-Reply-To: <200203202307.g2KN7C4j076159@grimreaper.grondar.org>
References:  <20020321085806.M11660-100000@gamplex.bde.org> <bde@zeta.org.au> <200203202307.g2KN7C4j076159@grimreaper.grondar.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 20 Mar 2002 23:07:11 +0000, Mark Murray <mark@grondar.za> said:

> The hints become useless in the "cry wolf" sense, and it is up to the
> inevitable ingenuity of the system implementor to work out the _real_
> priority.

It's not just a hint.  If you declare a variable `register' rather
than `auto' or `static', the compiler will bleat at you if you attempt
to take its address.  So people declared lots of register variables,
not to directly help the compiler, but to help themselves maintain the
program.  (If you ever pass the address of a variable to a function
with external linkage, the compiler must assume that that any function
call might change the value of the variable, which defeats some
optimizations.)

-GAWollman


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203202321.g2KNLDp61825>