This is the mail archive of the gcc-patches@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]

libstdc++ fix for bootstrap failure committed (half-way commit)


I committed the following patch as obvious; bootstrap was
scrogged and the regression checker yelled at me.  It's what
Gabriel Dos Reis ok:ed, but not what Brendan checked in; only
the type_traits.h part was committed.  See also libstdc++/4623.
Build continued and succeeded on mmix-knuth-mmixware with this
patch, failed without.

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/ChangeLog,v
retrieving revision 1.815
retrieving revision 1.816
diff -p -c -r1.815 -r1.816
*** ChangeLog	2001/10/19 23:05:15	1.815
--- ChangeLog	2001/10/20 19:28:49	1.816
***************
*** 1,3 ****
--- 1,12 ----
+ 2001-10-20  Brendan Kehoe  <brendan@zen.org>
+
+ 	* include/bits/type_traits.h (__Boolean): Renamed template from _Bool.
+ 	(__true_type, __false_type): Change usage.
+ 	* src/string-inst.cc (__destroy_aux): Change third parm to be
+ 	__false_type instead of _Bool<false>.
+ 	* src/misc-inst.cc (__uninitialized_fill_n_aux,
+ 	__uninitialized_copy_aux): Likewise.
+
  2001-10-19  Benjamin Kosnik  <bkoz@redhat.com>

  	* mkcheck.in (static_fail): Remove older memory limit functionality.
Index: src/string-inst.cc
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/src/string-inst.cc,v
retrieving revision 1.17
retrieving revision 1.18
diff -p -c -r1.17 -r1.18
*** string-inst.cc	2001/08/18 02:53:13	1.17
--- string-inst.cc	2001/10/20 19:28:50	1.18
*************** namespace std
*** 102,106 ****

    template
      void
!     __destroy_aux<S*>(S*, S*, _Bool<false>);
  } // namespace std
--- 102,106 ----

    template
      void
!     __destroy_aux<S*>(S*, S*, __false_type);
  } // namespace std
Index: src/misc-inst.cc
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/src/misc-inst.cc,v
retrieving revision 1.10
retrieving revision 1.11
diff -p -c -r1.10 -r1.11
*** misc-inst.cc	2001/03/23 20:02:03	1.10
--- misc-inst.cc	2001/10/20 19:28:50	1.11
*************** namespace std
*** 233,245 ****
    template
      string*
      __uninitialized_fill_n_aux<string*, size_t, string>
!     (string*, size_t, string const &, _Bool<false>);

    template
      string*
      __uninitialized_copy_aux<vector<string>::const_iterator, string *>
      (vector<string>::const_iterator, vector<string>::const_iterator,
!      string*, _Bool<false>);

    template
      void
--- 233,245 ----
    template
      string*
      __uninitialized_fill_n_aux<string*, size_t, string>
!     (string*, size_t, string const &, __false_type);

    template
      string*
      __uninitialized_copy_aux<vector<string>::const_iterator, string *>
      (vector<string>::const_iterator, vector<string>::const_iterator,
!      string*, __false_type);

    template
      void

brgds, H-P


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