* bits/concept_checks.h
(__less_then_comparable_requirement_violation): Only check for <.
* testsuite/25_algorithms/lower_bound.cc: New file.
From-SVN: r34798
2000-06-27 Alexandre Petit-Bianco <apbianco@cygnus.com>
* expr.c (lookup_field): The same field can be found through two
different interface. Don't declare it ambiguous in that case.
From-SVN: r34793
2000-06-29 Branko Cibej <branko.cibej@hermes.si>
* bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
_GLIBCPP_RESOLVE_LIB_DEFECTS.
(auto_ptr): _M_ptr changed to void*.
(suto_ptr::get): Cast _M_ptr to element type.
(auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
(auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
(auto_ptr::operator*): Likewise.
(auto_ptr::operator->): Likewise.
(auto_ptr::release): Likewise.
(auto_ptr::reset): Likewise.
(auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
(auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
From-SVN: r34792
* gcc.dg/cpp/20000628-1a.h: On each of the first three inclusions,
declare one variable. On the fourth, error.
* gcc.dg/cpp/20000628-1.c (main): Reference the three variables
declared by 20000628-1a.h.
From-SVN: r34790
* gcc.c-torture/execute/930529-1.x: New file.
* gcc.dg/920413-1.c: Adjust expexted warning text.
* gcc.dg/980217-1.c: Declare abort.
* gcc.dg/cpp/20000628-1a.h: Use a declaration instead of an asm.
From-SVN: r34789
2000-06-29 Andrew Haley <aph@cygnus.com>
* config/ia64/linux.h (JMP_BUF_SIZE): Size is in Pmode units, not
bytes: remove the multiply by 8.
From-SVN: r34783
2000-06-29 Philipp Thomas <pthomas@suse.de>
* rtl.c : Revert NLS changes.
* gcc.c : Fix bug in display_help introced by my last changes.
From-SVN: r34778
2000-06-28 Philipp Thomas <pthomas@suse.de>
* c-decl.c : Mark strings for translation.
(parmlist_tags_warning): Use distinct messages instead
of conditional expressions.
* diagnostic.c (v_message_with_decl): Mark string for translation.
* gcc.c: Mark messages for translation.
(display_help): Combine messages into one string where necessary.
* mips-tfile.c: Add intl.h. Mark messages for translation.
* rtl.c (fatal_with_file_and_line): Modify function for NLS. Mark
messages for translation.
* timevar.c: Mark messages for translation.
* tlink.c: Likewise.
* toplev.c: Likewise.
From-SVN: r34773
* cp-tree.h (CLEAR_BINFO_NEW_VTABLE_MARKED): Remove.
* class.c (update_vtable_entry_for_fn): Correct logic for deciding
where to emit thunks.
(build_vtt): Adjust call to build_vtt_inits.
(build_vtt_inits): Add parameter to indicate whether or not
sub-VTTs for virtual bases should be included. Adjust handling of
construction vtables.
(get_matching_base): New function.
(dfs_build_vtt_inits): Rename to ...
(dfs_build_secondary_vptr_vtt_inits): Adjust handling of
construction vtables.
(dfs_fixup_binfo_vtbls): Likewise.
(build_ctor_vtbl_groups): Build construction vtables for virtual
bases, too.
(accumulate_vtbl_inits): Tweak logic for deciding whether or not
to build construction vtbls.
(dfs_accumulate_vtbl_inits): Adjust handling of
construction vtables.
* pt.c (tsubst, case TEMPLATE_TEMPLATE_PARM): Handle cv-qualified
types correctly.
From-SVN: r34765
* gcc.misc-tests/acker1.c: Report failure. Use return from main,
not exit. Include stdio.h.
* gcc.misc-tests/dg-11.c: Remove anchors from regexp.
* gcc.misc-tests/dg-12.c: Likewise.
* gcc.misc-tests/dg-5.c: Likewise.
* gcc.misc-tests/dg-6.c: Likewise.
* gcc.misc-tests/dg-7.c: Prototype abort.
* gcc.misc-tests/dg-9.c: Adjust error-message regexps.
* gcc.misc-tests/dhry.h: Include stdlib.h and string.h.
* gcc.misc-tests/matrix1.c: Report failure. Use return from main,
not exit.
* gcc.misc-tests/sieve.c: Use return from main, not exit.
* gcc.misc-tests/sort2.c: Use return from main, not exit.
From-SVN: r34763
* cpplex.c (output_line_command): Output correct #line if a header
is including itself and is not protected against multiple inclusion.
From-SVN: r34761
* cppfiles.c (open_include_file): If open(2) returns EMFILE or
ENFILE, close all cached file descriptors and try again.
(_cpp_execute_include): Keep a count of the number of times
each header is included.
(close_cached_fd): New function.
* cpphash.h (struct include_file): Rename before to
include_count; all users updated. Make include_count and sysp
unsigned short.
* cppinit.c (cpp_finish): If -H, report headers that could use
reinclude guards.
(report_missing_guard): New function.
From-SVN: r34760
2000-06-28 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* bits/valarray_array.h (_Array_default_ctor<>::_S_do_it): Don't
forget the sizeof(_Tp) factor in call to memset().
(_Array_copy_ctor<>::_S_do_it): Likewise for memcpy().
From-SVN: r34757
2000-06-27 Andrew Haley <aph@cygnus.com>
* java/io/File.java (createTempFile): Close the FileDescriptor
used to create a temp file. Fixes some of PR 203.
* java/io/natFileDescriptorPosix.cc (open): Call garbage
collection if we run out of file handles.
From-SVN: r34755
* gnu/java/security/provider/Gnu.java: New file.
* gnu/java/security/provider/SHA.java: New file.
* gnu/java/security/provider/SHA1PRNG.java: New file.
* Makefile.am: Added the above files.
* Makefile.in: Rebuilt.
* java/io/ObjectStreamClass.java (setUID): Use Gnu SHA instead of SHS.
From-SVN: r34753