debugging internal compiler errors ...
Georg-Johann Lay
avr@gjlay.de
Sat Apr 16 08:45:00 GMT 2011
kevin diggs schrieb:
> Hi,
>
> How does one go about debugging an internal compiler error?
>
> When trying to build 4.3.5 for m68k, an ICE occurs when building
> __fixunsxfdi (convert long double to unsigned long long? or maybe its
> abs of long double to unsigned long long?) during the libgcc build. It
> does not occur with -O0. But it does with -O1.
>
> Thanks!
>
> kevin
There are hints in
http://gcc.gnu.org/wiki/DebuggingGCC
To get the args to cc1 and the i-file add -v -save-temps to the command
line.
Johann
More information about the Gcc-help
mailing list