This is the mail archive of the gcc@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: help with gcc bugs


clarke micheal <operationgcc@yahoo.com> writes:

> * for all the bugs that are reported against a particular version of
> gcc, is there any way to find what files in the gcc source code
> caused those bugs...in other way....

Not that easily.

If the bug you are looking at generates an internal compiler error
(ICE), then you have a good starting point.  Run the compiler under
GDB from the GCC build directory and it will use a .gdbinit script
that will set breakpoints at useful functions.  When the ICE occurs,
you can get a stack backtrace and start from there.

> or........among all the changes that were made to the source code
> ,which changes are made to fix some bug...

The ChangeLog entries frequently cite the PR number that the patch
fixes.

Cheers, Ben


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