This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: FIXINCL goes into an infinite loop on alpha-osf4
- To: zack at wolery dot cumb dot org
- Subject: Re: FIXINCL goes into an infinite loop on alpha-osf4
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Sun, 23 Jan 2000 10:32:57 -0500 (EST)
- Cc: autogen at linuxbox dot com, egcs-bugs at egcs dot cygnus dot com
> From: Zack Weinberg <zack@wolery.cumb.org>
>
> On Sat, Jan 22, 2000 at 02:30:36PM -0500, Kaveh R. Ghazi wrote:
> >
> > Last night's gcc CVS cannot complete running fixincl, it goes into an
> > infinite loop eating 99.9% of the CPU. I can't seem to figure out
> > what file it is processing because it simply ends with:
> >
> > > Applying Io_Def_Quotes to sys/fpsreg.h
>
> Can you run it again, and when it goes into the infinite loop, attach
> to it in the debugger and get me a stack trace?
Here you go:
(gdb) where
#0 0x120008318 in fix_char_macro_defines (
text=0x14001d080 "/*\n * ", '*' <repeats 65 times>, "\n * *", ' '
<repeats 63 times>, "*\n * * Copyright (c) Digital Equipment
Corporation, 1991, "...,
str=0x140009808 "IO")
at ../../../egcs-CVS20000122/gcc/fixinc/fixfixes.c:685
#1 0x12000840c in IO_defn_fix (filname=0x1400162e2 "sys/fpsreg.h",
text=0x14001d080 "/*\n * ", '*' <repeats 65 times>, "\n * *", ' '
<repeats 63 times>, "*\n * * Copyright (c) Digital Equipment
Corporation, 1991, "...)
at ../../../egcs-CVS20000122/gcc/fixinc/fixfixes.c:685
#2 0x1200088b0 in apply_fix (fixname=0x140009088 "IO_defn",
filname=0x1400162e2 "sys/fpsreg.h")
at ../../../egcs-CVS20000122/gcc/fixinc/fixfixes.c:685
#3 0x12000a598 in internal_fix (read_fd=5, p_fixd=0x1400078c8)
at ../../../egcs-CVS20000122/gcc/fixinc/fixincl.c:1383
#4 0x12000a618 in start_fixer (read_fd=5, p_fixd=0x1400078c8,
pz_fix_file=0x1400162e2 "sys/fpsreg.h")
at ../../../egcs-CVS20000122/gcc/fixinc/fixincl.c:1383
#5 0x12000b0a8 in process ()
at ../../../egcs-CVS20000122/gcc/fixinc/fixincl.c:1383
#6 0x120008d5c in main (argc=1, argv=0x11fffea68)
at ../../../egcs-CVS20000122/gcc/fixinc/fixincl.c:1279