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: C optimizer bug


> It's in a GPL project that i've tried narrowing down by commenting out
> various headers, but i can't make a simple example because all the
> compilation and linking is done with a ton of autoconf stuff.

Unfortunately the issue can't be really investigated without a self-contained 
testcase. See http://gcc.gnu.org/bugs.html for the procedure.

> How hard is it to find a bug like this by using gdb on gcc-3.2.2 ?
> I've compiled gcc-3.2.2 from source. I know how compilers work (mostly),
> but haven't poked around in gcc.

It's not very easy if you don't already know the GCC internals. The first 
thing to do is to read the gccint manual in the doc directory.

-- 
Eric Botcazou


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