[wwwdocs] Entry for PR 18160 in changes.html

Gerald Pfeifer gerald@pfeifer.com
Sun Nov 14 00:08:00 GMT 2004


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

Gerald



More information about the Gcc-patches mailing list