This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [WWW-patch] bugs.html: add note about missing sequence points
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>
- Cc: gcc-patches at gcc dot gnu dot org, bangerth at ices dot utexas dot edu
- Date: Mon, 23 Aug 2004 23:01:00 +0200 (CEST)
- Subject: Re: [WWW-patch] bugs.html: add note about missing sequence points
- References: <200408201432.i7KEWlRB017840@relay.rwth-aachen.de>
On Fri, 20 Aug 2004, Volker Reichelt wrote:
Checked as valid XHTML.
Ok to commit?
Looks fine! I have some suggestions, which you may or may not consider.
Index: bugs.html
===================================================================
+<dt>Increment/decrement operator (<code>++</code>/<code>--</code>) not
+working as expected - a <a href="http://gcc.gnu.org/PR11751">problem with
+many variations</a>.</dt>
Does — instead of "-" look nicer here?
+<p>The C and C++ standards have the notion of "sequence points". According
+to the standards, everything that happens between two sequence points
+happens in an unspecified order
Omit "According to the standards" (which is slightly redundant)?
+and before the second sequence point. Sequence points are for example
+the end of a statement and function calls.
"The end of a statement and a function call are examples for sequence
points, whereas assignments and... are not."?
Thanks!
Gerald
--
Gerald Pfeifer (Jerry) gerald@pfeifer.com http://www.pfeifer.com/gerald/