Article View: gnu.gcc.help
Article #53044What to do if a program doesn't work
From: Richard Stallman
Date: Mon, 23 Mar 1992 11:54
Date: Mon, 23 Mar 1992 11:54
28 lines
1881 bytes
1881 bytes
If you compile a program with GCC, and the result doesn't work, it could be that you have found a bug in GCC. What should you do about it? It's not helpful to ask whether GCC is known to have bugs. Any program as large as GCC surely has bugs. It's not helpful to ask whether GCC has many bugs or few bugs, because the answer is irrelevant to what has happened to you. Most likely you have hit one particular bug. Each test case is different, and it isn't useful to generalize about them. The only thing that is helpful is to send a proper bug report. That is helpful because it might lead to fixing the bug. We are all in this together. Bugs are fixed when people send workable bug reports. If you don't do it, how can you expect someone else to do it? To make your bug report usable, you need to supply the right information. Read the chapter on bugs in the GCC manual to see what is involved. It is possible that the problem does not result from a GCC bug. There are undefined cases in C that work differently with different compilers; it's possible that you have found one of these cases in the program you compiled. If so, that is a bug in that program, rather than a GCC bug. However, the same steps needed to prepare for a usable GCC bug report would also find the bug in the other program.
Technical Details
Message-ID:
<9203232154.AA08841@mole.gnu.ai.mit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!gnu.ai.mit.edu!rmsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,acef616e8ed700de,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-03-23 03:54:32 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!gnu.ai.mit.edu!rms From: rms@gnu.ai.mit.edu (Richard Stallman) Subject: What to do if a program doesn't work Message-ID: <9203232154.AA08841@mole.gnu.ai.mit.edu> Sender: daemon@cis.ohio-state.edu Organization: GNUs Not Usenet Distribution: gnu Date: Mon, 23 Mar 1992 11:54:32 GMT Lines: 28