This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: CVS GCC infinite loop
- To: egcs-bugs at sourceware dot cygnus dot com
- Subject: Re: CVS GCC infinite loop
- From: Toshiyasu Morita <tm at netcom dot com>
- Date: Thu, 11 Nov 1999 02:19:50 -0800 (PST)
I just checked, and my source tree does include Jeff's LCM mods,
so even with the LCM improvements it's still very slow:
Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
* flow.c (compute_flow_dominators): Initially put all blocks on
the worklist.
* lcm.c (compute_antinout_edge, compute_available): Similarly.
* gcse.c (compute_cprop_avinout): Remove.
(compute_cprop_data): Use compute_available.
(delete_null_pointer_checks_1): Use compute_available.
* basic-block.h (compute_available): Returns a void now.
* gcse.c (one_classic_gcse_pass): Do not expect compute_available
to return a value anymore.
* lcm.c (compute_available, compute_antinout_edge): Revamp to use
worklists. Fix boundary cases. Compute maximal solutions.
(compute_laterin, compute_nearerout): Similarly.
* dwarf2out.c (add_AT_location_description): Allow
(mem (plus (pseudo) (...)) too.
Toshi
>
> Ooops, I spoke too soon.
>
> It took around 12 minutes to compile this file on a PPro 200.
> This seems excessively long.
>
> Toshi
>
> >
> >
> > version: CVS 11/11/99
> > host: Red Hat Linux 5.2 x86
> > target: sh-elf
> > options: -O2 -m4 -S -g
> >
> > cc1plus goes into an infinite loop compiling the function "EditorLoop"
> > in the file "editloop.ii".
> >
> > Here's a last few lines generated by cc1plus:
> >
> > ./editloop.ii:5849: candidates are: menu_c::menu_c ()
> > ./editloop.ii:5851: menu_c::menu_c (const char *, ...)
> > ./editloop.ii:5856: menu_c::menu_c (const char *,
> > al_llist_t *, const char *(*) (void *))
> > ./editloop.ii:5865: menu_c::menu_c (const char *, int,
> > int *, char **, const i8 *, const int *, int *)
> > ./editloop.ii:6014: menu_c::menu_c (const menu_c &)
> > void EditorLoop (const char *) {GC 5751k -> 2928k in 0.140}
> >
> > It's been sitting here for about 5 minutes doing nothing, so I'm assuming
> > it's gone into an infinite loop.
> >
> > The file "editloop.ii" is from stress-1.12.tar.gz at:
> >
> > ftp://shell14.ba.best.com/pub.t/tm2/stress-1.12.tar.gz
> >
> > Toshi
> >
>
>