This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[wwwdocs] Entry for PR 18160 in changes.html
- From: Adam Nemet <anemet at lnxw dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 12 Nov 2004 22:48:09 -0800
- Subject: [wwwdocs] Entry for PR 18160 in changes.html
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?
Adam
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.0/changes.html,v
retrieving revision 1.13
diff -c -p -r1.13 changes.html
*** changes.html 12 Oct 2004 07:11:52 -0000 1.13
--- changes.html 13 Nov 2004 06:20:55 -0000
***************
*** 100,105 ****
--- 100,108 ----
deprecated in 3.4, has been removed.</li>
<li><code>#pragma pack()</code> semantics have been brought closer to
those used by other compilers. This also applies to C++.</li>
+ <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>
</ul>
<h3>C++</h3>
***************
*** 138,143 ****
--- 141,151 ----
want to disable this by specifying
<code>-fno-threadsafe-statics</code> for a small savings in code
size.</li>
+
+ <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>
</ul>
<h3>Java</h3>