This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7981: -Wsequence-point broken for C++
- From: bangerth at dealii dot org
- To: austern at apple dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 20 Dec 2002 01:31:52 -0000
- Subject: Re: c++/7981: -Wsequence-point broken for C++
- Reply-to: bangerth at dealii dot org, austern at apple dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: -Wsequence-point broken for C++
State-Changed-From-To: open->feedback
State-Changed-By: bangerth
State-Changed-When: Thu Dec 19 17:31:51 2002
State-Changed-Why:
In the documentation on TOT, the standard is always referenced
as the "C standard", and there is now a sentence
"The present implementation of this option only works for C programs. A
future implementation may also work for C++ programs."
Is this something in the direction you request, Matt?
W.
PS: I like the sentence that follows the above:
"The C standard is worded confusingly, therefore there is some debate
over the precise meaning of the sequence point rules in subtle cases."
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7981