From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4883 invoked by alias); 19 Mar 2003 19:06:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 4831 invoked by uid 71); 19 Mar 2003 19:06:01 -0000 Date: Wed, 19 Mar 2003 19:06:00 -0000 Message-ID: <20030319190601.4830.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Joseph S. Myers" Subject: Re: c/10143: Post increment doesn work more than once per statement Reply-To: "Joseph S. Myers" X-SW-Source: 2003-03/txt/msg01289.txt.bz2 List-Id: The following reply was made to PR c/10143; it has been noted by GNATS. From: "Joseph S. Myers" To: Falk Hueffner Cc: Nick Macdonald , , Subject: Re: c/10143: Post increment doesn work more than once per statement Date: Wed, 19 Mar 2003 19:04:11 +0000 (GMT) On 19 Mar 2003, Falk Hueffner wrote: > > (Is there a FAQ entry somewhere that deals with this issue?) > > See the documentation of -Wsequence-point. (We should probably add > this to the list of C non-bugs...) The bug reporting instructions say: Before reporting that GCC compiles your code incorrectly, please compile it with gcc -Wall and see whether this shows anything wrong with your code that could be the cause instead of a bug in GCC. To the submitter: did you see this part of the instructions and try compiling your code with -Wall (which includes -Wsequence-point, which would have shown up the problem with the code)? If not, how could we improve the documentation of how to submit bugs so that you would have seen and followed these instructions? If you did use -Wall, how could we clarify the warning message? -- Joseph S. Myers jsm28@cam.ac.uk