--- Comment #6 from steven at gcc dot gnu dot org 2006-07-23 11:51 ---
Consider these lines in elfos.h:ASM_OUTPUT_ASCII:
\
for (p = _ascii_bytes; p limit *p != '\0'; p++) \
--- Comment #7 from steven at gcc dot gnu dot org 2006-07-23 13:11 ---
Happens on at least all the targets that includes elfos.h, cris/aout.h,
i386/ptx4-i.h, i386/i386-interix.h, i386/sysv4.h, i386/i386elf.h.
I'm only fixing elfos.h, but others can copy over the same idea.
--
--- Comment #8 from steven at gcc dot gnu dot org 2006-07-23 14:54 ---
Created an attachment (id=11925)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11925action=view)
proposed fix, nukes quadratic behavior
needs detailed testing, but this cuts the time spent in debug info
--- Comment #9 from steven at gcc dot gnu dot org 2006-07-23 17:56 ---
Subject: Bug 25468
Author: steven
Date: Sun Jul 23 17:56:34 2006
New Revision: 115685
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115685
Log:
2006-07-23 Steven Bosscher [EMAIL PROTECTED]
PR
--- Comment #5 from steven at gcc dot gnu dot org 2006-07-22 16:36 ---
We do the loop-and-putc thing in ASM_OUTPUT_LIMITED_STRING and in
dw2_asm_output_nstring as well. Probably it's best to add some kind of generic
escaped string print function, something like the one below that I'll
--
jsm28 at gcc dot gnu dot org changed:
What|Removed |Added
Summary|[3.4 Regression] -g makes |[4.0/4.1/4.2 Regression] -g
|g++ loop forever
--
mmitchel at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25468