This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19144] SPARC backend bug
- From: "bugzilla-gcc at thewrittenword dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Dec 2004 01:54:15 -0000
- Subject: [Bug c++/19144] SPARC backend bug
- References: <20041224015246.19144.bugzilla-gcc@thewrittenword.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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