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. Andrew