CVS GCC infinite loop

Toshiyasu Morita tm@netcom.com
Thu Nov 11 02:11:00 GMT 1999


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


More information about the Gcc-bugs mailing list