Next:How and Where to Report Bugs, Up:Reporting Bugs [Contents][Index]
If you are not sure whether you have found a bug, here are some guidelines:
asm statement), that is a compiler bug, unless thecompiler reports errors (not just warnings) which would ordinarilyprevent the assembler from being run.However, you must double-check to make sure, because you may have aprogram whose behavior is undefined, which happened by chance to givethe desired results with another C or C++ compiler.
Problems often result from expressions with two increment operators,as inf (*p++, *p++). Your previous compiler might haveinterpreted that expression the way you intended; GCC mightinterpret it another way. Neither compiler is wrong. The bug isin your code.
After you have localized the error to a single source line, it shouldbe easy to check for these things. If your program is correct andwell defined, you have found a compiler bug.
Next:How and Where to Report Bugs, Up:Reporting Bugs [Contents][Index]