This section contains information mostly intended for GCC contributors.
If you find a bug, but you are not fixing it (yet):
If you want to provide additional information about a bug in the database:
If you fix a bug:
Bugzilla offers a number of different fields. From a maintainer's perspective, these are the relevant ones and what their values mean:
Status |
Resolution |
---|---|
The status field indicates the general health of a bug. Only certain status transitions are allowed. | The resolution field indicates what happened to this bug. |
|
No resolution yet. All bugs which are in one of these "open" states have the resolution set to blank. All other bugs will be marked with one of the following resolutions. |
|
|
The following two fields describe how serious a bug is from a user's perspective (severity) and which priority we assign to it in fixing it:
SeverityThis field describes the impact of a bug.
|
PriorityThis field describes the importance and order in which a bug should be fixed. It is utilized by the programmers/engineers to prioritize their work to be done. The available priorities are:
|
This is the person in charge of resolving the bug. Every time this field changes, the status changes to NEW to make it easy to see which new bugs have appeared on a person's list.
These are used to further classify the problem reports. Follow the link for a complete list of the keywords including descriptions.
Putting reports in components "C", "C++", and "optimization" in state "NEW" requires that there is a reduced, small testcase. This makes sure that all NEW reports are really analyzed and are ready to be handed off to the people actually fixing bugs.
Regressions should be explicitly marked as such. The summary line should read
[branches-to-fix regression] rest-of-summary
where branches-to-fix is the list of maintained branches (separated by slashes) that need fixing. A regression should start with severity "critical" to bring it to attention. It may be downgraded later if a defect is not important enough to justify "critical" severity. In addition the target milestone should be set to the next release of the newest active release branch that needs fixing (the rationale is that a patch will have to go to the newest release branch before any other release branch). The milestone can be changed by the release manager and his/her delegates.
If a patch fixing a PR has been submitted, a link to the message with the patch should be added to the PR, as well as the keyword "patch".
Meta-bugs (reports with the keyword "meta-bug") are used to group PRs that have a common denominator. Meta-bugs do not have testcases of their own, but provide links to regular PRs via Bugzilla's "depends on/blocks" mechanism instead: they depend on the regular PRs. Information concerning the majority of bugs blocking a meta-bug should be added to the meta-bug instead of each single PR.
Bugs with keyword "ice-on-invalid-code", where GCC emits a sensible error message before issuing an ICE (the ICE will be replaced by the message "confused by earlier errors, bailing out" in release versions) should get "minor" severity and the additional keyword "error-recovery".
Bugs in component "bootstrap" that refer to older releases or snapshots/CVS versions should be put into state "WAITING", asking the reporter whether she can still reproduce the problem and to report her findings in any case (whether positive or negative).
Bugs that are in state "WAITING" because they lack information that is necessary for reproducing the problem can be closed if no response was received for three months.
When closing a PR because it got fixed, please set the target milestone to the first release where it will be/has been fixed. Also adjust the target milestone when a fix is backported. Finally, please adjust the Known To Fail and Known To Work fields to record what was fixed.
Duplicate PRs should be marked as such. If you encounter a PR that is marked as "resolved fixed", but should be marked as a duplicate, please change the resolution. (You have to reopen the PR before you can resolve it as a duplicate.)
Please send FSF & GNU inquiries & questions to gnu@gnu.org. There are also other ways to contact the FSF.
These pages are maintained by the GCC team.
For questions related to the use of GCC, please consult these web pages and the GCC manuals. If that fails, the gcc-help@gcc.gnu.org mailing list might help.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.
Last modified 2007-01-15 |