This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c/10143: Post increment doesn work more than once per statement


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 <http://gcc.gnu.org/bugs.html> 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 at cam dot ac dot uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]