Date: Thu, 2 Jun 2005 21:29:28 +0800 (CST) From: Li-Lun Wang (Leland Wang) <llwang@infor.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: gnu/81809: ropeimpl.h in gcc 3.4.2 broken Message-ID: <20050602132928.6069346270@infor.ck.tp.edu.tw> Resent-Message-ID: <200506021330.j52DU2OJ094387@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 81809 >Category: gnu >Synopsis: ropeimpl.h in gcc 3.4.2 broken >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 02 13:30:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Li-Lun Wang (Leland Wang) >Release: FreeBSD 6.0-CURRENT i386 >Organization: >Environment: System: FreeBSD ll-X31 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Thu Jun 2 01:16:16 CST 2005 root@ll-X31:/usr/obj/usr/src/sys/X31 i386 >Description: /usr/include/c++/3.4/ext/ropeimpl.h provided with gcc 3.4.2 is broken, making sources which include ext/ropeimpl.h fail to build. Ref: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17259 >How-To-Repeat: Write a C++ source file with the line #include <ext/ropeimpl.h> and try to build it. >Fix: --- src/contrib/libstdc++/include/ext/ropeimpl.h.orig Wed Jul 28 11:12:05 2004 +++ src/contrib/libstdc++/include/ext/ropeimpl.h Thu Jun 2 21:26:59 2005 @@ -1295,7 +1295,7 @@ __right_len = __right->_M_size; if (_Rope_constants::_S_leaf == __left->_M_tag) { _RopeLeaf* __l = (_RopeLeaf*) __left; - if (_RopeRep::_S_leaf == __right->_M_tag) { + if (_Rope_constants::_S_leaf == __right->_M_tag) { _RopeLeaf* __r = (_RopeLeaf*) __right; return lexicographical_compare_3way( __l->_M_data, __l->_M_data + __left_len, >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050602132928.6069346270>
