This is the mail archive of the
mailing list for the GCC project.
Re: [wwwdocs] Entry for PR 18160 in changes.html
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Adam Nemet <anemet at lnxw dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 14 Nov 2004 00:49:39 +0100 (CET)
- Subject: Re: [wwwdocs] Entry for PR 18160 in changes.html
- References: <email@example.com>
On Fri, 12 Nov 2004, Adam Nemet wrote:
The patch below adds two entries for the changed behavior implemented
under PR 18160. The entries are under `C and Objective-C' and `C++'.
It passes the XHTML 1.0 Validator.
Is it OK to install?
+ <li>Taking the address of a variable with <code>register</code>
+ storage is invalid in C. GCC now issues an error instead of a
This part is fine, thanks!
+ <li>Taking the address of an explicit register variable is no
+ longer supported. Note that C++ allows taking the address of
+ variables with <code>register</code> storage so this will
+ continue to compile with a warning.</li>
This I had to read a couple of times until I remembered the details of
the discussion on this list -- providing a short example would be useful,
for the notion of "explicit register variable" is not immediate.
Something like "...of an explicit register variable (as in ...)..."