public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [wwwdocs] gcc-4.4/porting_to.html: convert a textual reference to a proper one
@ 2014-06-28 23:33 Gerald Pfeifer
  0 siblings, 0 replies; only message in thread
From: Gerald Pfeifer @ 2014-06-28 23:33 UTC (permalink / raw)
  To: gcc-patches

...and improve wording and markup a bit.

Applied.

Gerald

Index: bugs/index.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/bugs/index.html,v
retrieving revision 1.113
diff -u -r1.113 index.html
--- bugs/index.html	28 Jun 2014 07:45:05 -0000	1.113
+++ bugs/index.html	28 Jun 2014 23:28:17 -0000
@@ -350,7 +350,8 @@
 anything).</p></dd>
 
 
-<dt>Casting does not work as expected when optimization is turned on.</dt>
+<dt id="casting_and_optimization">Casting does not work as expected when
+optimization is turned on.</dt>
 
 <dd><p>This is often caused by a violation of aliasing rules, which are part
 of the ISO C standard.  These rules say that a program is invalid if you try
Index: gcc-4.4/porting_to.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.4/porting_to.html,v
retrieving revision 1.9
diff -u -r1.9 porting_to.html
--- gcc-4.4/porting_to.html	28 Jun 2014 22:44:29 -0000	1.9
+++ gcc-4.4/porting_to.html	28 Jun 2014 23:28:17 -0000
@@ -95,10 +95,10 @@
 using <code>-fno-strict-aliasing </code> or by ignoring this class of
 warning via <code>-Wno-strict-aliasing</code>. To fix, access the
 structure from pointers of an equivalent type, use a union, use
-memcpy, or (if using C++) use placement new. See the section titled
-&quot;Casting does not work as expected when optimization is turned
-on&quot; on <a href="http://gcc.gnu.org/bugs/">bug reporting
-documentation page</a> for more information.
+memcpy, or (if using C++) use placement <code>new</code>. 
+See the section <a href="../bugs/#casting_and_optimization"> 
+Casting does not work as expected when optimization is turned on</a>
+in our bug reporting documentation for more information.
 </p>
 
 <h2>C++ language issues</h2>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-28 23:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-28 23:33 [wwwdocs] gcc-4.4/porting_to.html: convert a textual reference to a proper one Gerald Pfeifer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).