Re: Debugging ICE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steve Pribyl wrote:
What is the recommended way to debug a gcc ICE?
gcc is clever enough to cover its tracks when something goes horribly wrong.

compile it from the gcc object directory -- this will create an unoptimized compiler. Then fire up gdb on cc1 (or cc1plus). Then invoke that as the gcc driver would have done.

nathan
--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@xxxxxxxxxxxxxxxx    ::     http://www.planetfall.pwp.blueyonder.co.uk


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux