This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: ICE in final linking stage with -flto
On 21.03.2011 21:35, Ian Lance Taylor wrote:
> Gunther Piez <gpiez@web.de> writes:
>
>> I tried the gcc-4.6.0 release candidate and get an error during the
>> final linking stage with -flto:
>>
>> lto1: internal compiler error: in lto_wpa_write_files, at lto/lto.c:1518
>>
>> I would like to submit a bug report, but a preprocessed source at this
>> stage is not available. How can I submit a useful bug report?
> There are some notes on LTO here:
>
> http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction
>
> Ian
>
I managed to extract a testcase and reduce it somewhat (from 50k lines
down to ~300).
I reported it at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48246 .