From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25339 invoked by alias); 23 Jul 2006 11:51:39 -0000 Received: (qmail 25258 invoked by uid 48); 23 Jul 2006 11:51:31 -0000 Date: Sun, 23 Jul 2006 11:51:00 -0000 Message-ID: <20060723115131.25257.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug debug/25468] [4.0/4.1/4.2 Regression] -g makes g++ loop forever In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "steven at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-07/txt/msg01746.txt.bz2 List-Id: ------- 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++) \ continue; \ \ Now take a string of 40000+ characters with no '\0' terminator. This will trigger quadratic behavior. We'll go look for a 0 terminator thousands of time and not find it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25468