This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: alias slowdown?
- From: Andrew MacLeod <amacleod at redhat dot com>
- To: gcc mailing list <gcc at gcc dot gnu dot org>
- Cc: Daniel Berlin <dberlin at dberlin dot org>
- Date: Fri, 17 Nov 2006 13:09:44 -0500
- Subject: Re: alias slowdown?
- References: <1163784126.3253.35.camel@localhost.localdomain>
On Fri, 2006-11-17 at 12:22 -0500, Andrew MacLeod wrote:
> I just tried compiling cplusplus_grammer.ii with mainline, checking
> disabled, and had to stop it after 30 minutes (use to be <50 seconds on
> my x86-linux box). A quick check with GDB seems to show that its
> spending in inordinate amount of time in may_alias:
>
> #0 0x0816d1ac in bitmap_ior_into (a=0x99916d8, b=0x98f60a0)
> at /src/gcc/2006-11-16/gcc/gcc/bitmap.c:1167
> #1 0x083c8071 in set_union_with_increment (to=0x99916d8, from=0x98f60a0,
> inc=0) at /src/gcc/2006-11-16/gcc/gcc/tree-ssa-structalias.c:715
> #2 0x083cacf4 in solve_graph (graph=0x9a11d10)
> at /src/gcc/2006-11-16/gcc/gcc/tree-ssa-structalias.c:1721
> #3 0x083cbb7d in compute_points_to_sets (ai=0x8ccc200)
> at /src/gcc/2006-11-16/gcc/gcc/tree-ssa-structalias.c:4846
> #4 0x08133ab9 in compute_may_aliases ()
> at /src/gcc/2006-11-16/gcc/gcc/tree-ssa-alias.c:665
>
>
> If anyone has changed this recently, you might want to have a look.
Im seeing the same thing in all.i from 26854... I had to kill the
process after 20 minutes. It was in 'solve_graph' there as well.
Andrew