This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [wwwdocs] Entry for PR 18160 in changes.html

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?

Index: changes.html
+     <li>Taking the address of a variable with <code>register</code>
+         storage is invalid in C.  GCC now issues an error instead of a
+         warning.</li>

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 ...)..."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]