This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/21526] New: libstdc++-v3 testsuite hangs on cygwin


The libstdc++-v3 testsuite hangs on cygwin on 4.0 and 4.1 branches.  The 
offending test is 27_io/basic_filebuf/showmanyc/char/9533-1.cc.  The following 
patch works around the problem and allows the testsuite to complete.

cygwin fifo support is incomplete, so this may not be a gcc bug.

I will test it on another platform overnight.

Index: 9533-1.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-
v3/testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc,v
retrieving revision 1.6
diff -u -r1.6 9533-1.cc
--- 9533-1.cc   6 May 2005 17:03:08 -0000       1.6
+++ 9533-1.cc   12 May 2005 05:49:54 -0000
@@ -1,5 +1,6 @@
 // { dg-require-fork "" }
 // { dg-require-mkfifo "" }
+// { dg-do run { target { ! i?86-pc-cygwin } } }
 
 // Copyright (C) 2003 Free Software Foundation, Inc.
 //

-- 
           Summary: libstdc++-v3 testsuite hangs on cygwin
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: billingd at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21526


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]