From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3966 invoked by alias); 24 Dec 2004 01:54:24 -0000 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 Received: (qmail 3927 invoked by uid 48); 24 Dec 2004 01:54:15 -0000 Date: Fri, 24 Dec 2004 01:54:00 -0000 Message-ID: <20041224015415.3926.qmail@sourceware.org> From: "bugzilla-gcc at thewrittenword dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041224015246.19144.bugzilla-gcc@thewrittenword.com> References: <20041224015246.19144.bugzilla-gcc@thewrittenword.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/19144] SPARC backend bug X-Bugzilla-Reason: CC X-SW-Source: 2004-12/txt/msg03422.txt.bz2 List-Id: ------- Additional Comments From bugzilla-gcc at thewrittenword dot com 2004-12-24 01:54 ------- The patch below, somewhat similar to the patch in the original message with the workaround, does *not* work. The only difference between the two is where "int i;" is placed. --- kio/kio/kurlcompletion.cpp.orig Thu Dec 23 17:56:26 2004 +++ kio/kio/kurlcompletion.cpp Thu Dec 23 19:24:10 2004 @@ -226,6 +226,7 @@ // Loop through all directory entries struct dirent dirPosition; +int i; struct dirent *dirEntry = 0; while ( !terminationRequested() && ::readdir_r( dir, &dirPosition, &dirEntry ) == 0 && dirEntry ) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19144