This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
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