[EMAIL PROTECTED] wrote:
Is anyone else seeing a long compile time on
gcc-c-torture/compile/limits-fnargs.c with -O2 optimization?  limits-fnargs.c
contains a single call to a function with 10,000 arguments.

There is PR 31850 which talks about compile time on limits-fnargs.c,
but this was fixed (at least on IA64, if not for spu-elf) a while back
and this new time out problem only affects IA64 when -O2 or higher
optimization is used.

I tracked the time down to the main loop in coalesce_spill_loops
in ira-colors.c.  The main IRA pass calls reload which calls
ira_sort_regnos_for_alter_reg with n = 28977.  This in turn calls
coalesce_spill_slots with num = 10061.  It is in the main loop of
coalesce_spill_slots where I seem to spend a lot of time compiling
limits-fnargs.c.

Vladimir, is this something you are aware of?  Would you like me
to submit a Bugzilla report?

Ok, please submit it.

Thanks, Steve.

Reply via email to