c++/10060: ICE on huge file (300k lines)
Andrew Pinski
pinskia@physics.uc.edu
Fri May 9 16:36:00 GMT 2003
That seems like a good idea, since copy_rtx_if_shared is in emit-rtl.c.
Thanks,
Andrew Pinski
On Friday, May 9, 2003, at 09:10 US/Eastern, Giovanni Bajo wrote:
> Andrew Pinski <pinskia@physics.uc.edu> wrote:
>
>>> 00281958 ggc_alloc (55, 0, 0, 550404, 0, 0)
>>> 00129f98 copy_rtx_if_shared (0, 17527728, 0, 33a5c8, 2, 55) + 170
>>> 00129f10 copy_rtx_if_shared (17527710, 17527b60, 0, 1, 33a5c8, 4c) +
>>> e8
>>> 00129f10 copy_rtx_if_shared (0, 17527f98, 0, 0, 33a5c8, 3) + e8
>>> 00129f10 copy_rtx_if_shared (0, 175303d8, 0, 0, 33a5c8, 3) + e8
>>> 00129f10 copy_rtx_if_shared (0, 17530810, 0, 0, 33a5c8, 3) + e8
>
>> This looks like a stack overflow, a temporary fix is to up the limit
>> on
>> the stacksize.
>> The real fix is to change copy_rtx_if_shared to be non-recursive.
>
> I'm not confident with internals of GCC, but I guess this bug should be
> moved to the "middle-end" section. Do you agree, Andrew?
>
> Giovanni Bajo
>
>
>
More information about the Gcc-bugs
mailing list