1. 25 Jun, 2000 5 commits
  2. 24 Jun, 2000 20 commits
  3. 23 Jun, 2000 15 commits
    • std_fstream.h: Formatting tweaks. · b16810bf
      
      2000-06-23  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
      
      	* bits/std_fstream.h: Formatting tweaks.
      	* testsuite/27_io/ofstream_members.cc: New file.
      	* testsuite/27_io/ofstream_members-1.tst: New file.
      	* testsuite/27_io/ifstream_members.cc: New file.
      	* testsuite/27_io/ifstream_members-1.tst: New file.
      
      From-SVN: r34671
      Benjamin Kosnik committed
    • For PR gcj/260: · 90db9131
      	* libjava.lang/PR260.out: New file.
      	* libjava.lang/PR260.java: New file.
      
      From-SVN: r34670
      Tom Tromey committed
    • sparc.md (reload_outdi+1): Handle HOST_BITS_PER_WIDE_INT == 64 case correctly. · 93b7b953
      	* config/sparc/sparc.md (reload_outdi+1): Handle
      	HOST_BITS_PER_WIDE_INT == 64 case correctly.
      	(adddi3_insn_sp32+1, adddi3_insn_sp32+2, andsi3+2): Likewise.
      
      From-SVN: r34669
      Jakub Jelinek committed
    • alias.c (fixed_scalar_and_varying_struct_p): Don't examine struct vs. · 3e0abe15
      * alias.c (fixed_scalar_and_varying_struct_p): Don't examine
      struct vs. scalar-ness when -fno-strict-aliasing.
      
      and a test case to test it, gcc.dg/20000623-1.c.
      
      From-SVN: r34668
      Geoff Keating committed
    • ieeefp.h: Handle ia64, fr30, mcore. · 56e3dd2c
      	* java/lang/ieeefp.h: Handle ia64, fr30, mcore.
      	* java/lang/natThrowable.cc: On IA-64, use __ia64_backtrace.
      
      From-SVN: r34667
      Andrew Haley committed
    • acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so that all the… · 4f76382d
      acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so that all the freaky stuff like sincos will be around...
      
      
      2000-06-23  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
                  Ulrich Drepper  <drepper@cygnus.com>
      
      	* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
      	that all the freaky stuff like sincos will be around...
      
      Co-Authored-By: Ulrich Drepper <drepper@cygnus.com>
      
      From-SVN: r34666
      Benjamin Kosnik committed
    • natMethod.cc: Include <alloca.h>. · 782c59d6
      	* java/lang/reflect/natMethod.cc: Include <alloca.h>.
      	* java/lang/natDouble.cc: Always include <alloca.h>.
      	Fix for PR libgcj/267.
      
      From-SVN: r34665
      Tom Tromey committed
    • Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags. · f5e79dda
      
      2000-06-22  Branko Cibej  <branko.cibej@hermes.si>
      
              * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
      
      From-SVN: r34664
      Branko Cibej committed
    • cpplib.c (struct pragma_entry): New structure. · 82443371
      	* cpplib.c (struct pragma_entry): New structure.
      	(pragma_dispatch): Pragma dispatcher.
      	(top_pragmas, gcc_pragmas): New static variables.
      	(do_pragma): Use pragma_dispatch.
      	(do_pragma_gcc): New pragma handler.
      	* cpp.texi: Update.
      
      From-SVN: r34663
      Nathan Sidwell committed
    • calls.c (compute_argument_addresses): Force stack slots into alias set 0. · 7ab923cc
      	* calls.c (compute_argument_addresses): Force stack slots into
      	alias set 0.
      	* expr.c (emit_push_insn): Force pushes into alias set 0.
      
      From-SVN: r34662
      Jakub Jelinek committed
    • ia64.md (pred_rel_mutex): Only take one register. · 054451ea
              * config/ia64/ia64.md (pred_rel_mutex): Only take one register.
              * config/ia64/ia64.c (emit_predicate_relation_info): Adjust to match.
      
      From-SVN: r34661
      Richard Henderson committed
    • Daily bump. · 52bd8c91
      From-SVN: r34660
      Jeff Law committed
    • parse.y (template_arg): Convert TEMPLATE_DECL that is a template template paramter to... · 1899c3a4
              * parse.y (template_arg): Convert TEMPLATE_DECL
              that is a template template paramter to
              TEMPLATE_TEMPLATE_PARM here.
      
              * cp-tree.def (TEMPLATE_TEMPLATE_PARM): Adjust comment.
              * cp-tree.h (TEMPLATE_TEMPLATE_PARM_TEMPLATE_DECL): New macro.
              (copy_template_template_parm): Adjust prototype.
              * decl.c (grokdeclarator): Remove dead code.
              * pt.c (process_template_parm): Tidy.
              (lookup_template_class): Construct nodes in
              copy_template_template_parm.
              (tsubst): Pass TEMPLATE_DECL rather than IDENTIFIER_NODE to
              lookup_template_class.  Use TYPE_TI_TEMPLATE.
              * tree.c (copy_template_template_parm): Add NEWARGS
              parameter.
              (mapcar): Adjust call to copy_template_template_parm.
              * typeck.c (comptypes): Use TEMPLATE_TEMPLATE_PARM_TEMPLATE_DECL.
              * method.c (build_template_template_parm_names): Change error
              code to avoid compilation warning.
      
              * gxxint.texi: Document template template parameter
              name mangling.
      
      From-SVN: r34659
      Kriang Lerdsuwanakij committed
    • new · 69112571
      From-SVN: r34658
      Jason Merrill committed
    • in include/ChangeLog: · 051664b0
      	* dyn-string.h (dyn_string_init, dyn_string_new,
      	dyn_string_delete, dyn_string_release, dyn_string_resize,
      	dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr,
      	dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
      	dyn_string_insert_cstr, dyn_string_append, dyn_string_append_cstr,
      	dyn_string_append_char, dyn_string_substring_dyn_string_eq):
      	Define as same name with __cxa_ prepended, if IN_LIBGCC2.
      	(dyn_string_init, dyn_string_copy, dyn_string_copy_cstr,
      	dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
      	dyn_string_insert_cstr, dyn_string_append, dyn_string_append_cstr,
      	dyn_string_append_char, dyn_string_substring): Change return type
      	to int.
      
      in libiberty/ChangeLog:
      
      	* cp-demangle.c: Don't include ctype.h.
      	(IS_DIGIT): New macro.
      	(IS_ALPHA): Likewise.  Use IS_DIGIT and IS_ALPHA throughout
      	instead of isdigit and isalpanum.
      	(demangling_def): Make name and next const pointers.
      	(STATUS_ALLOCATION_FAILED): New status code.
      	(dyn_string_append_space): Handle failure in
      	dyn_string_append_char.
      	(int_to_dyn_string): Likewise.  Change return value to status_t.
      	(string_list_new): Handle failure of dyn_string_init.
      	(result_close_template_list): Change return type to status_t.
      	Handle failure in dyn_string_append.
      	(result_push): Change return value to status_t.  Handle failure in
      	string_list_new.  Handle failure of result_push throughout.
      	(substitution_add): Change return value to status_t.  Handle
      	dyn_string failures.  Handle failure of substitution_add
      	throughout.
      	(template_arg_list_new): Return NULL on allocation failure.
      	(result_append_string): Return STATUS_ALLOCATION_FAILED on error.
      	Handle error result throughout.
      	(result_append): Likewise.
      	(result_append_char): Likewise.
      	(result_append_space): Likewise.
      	(demangling_new): Make argument a const pointer.  Handle
      	allocation failures.
      	(demangle_template_args): Handle failure in template_arg_list_new
      	and result_close_template_list.
      	(demangle_discriminator): Return if int_to_dyn_string fails.
      	(cp_demangle): Likewise.
      	(cp_demangle_type): New function.
      	(cplus_demangle_new_abi): Don't call dyn_string_delete.  Abort on
      	memory allocation failure.
      	(main): Likewise.
      	* dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
      	IN_LIBGCC2.
      	(dyn_string_init): Change return value to int.  Handle
      	RETURN_ON_ALLOCATION_FAILURE case.
      	(dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
      	(dyn_string_release): Delete the dyn_string.
      	(dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
      	(dyn_string_copy): Change return type to int.
      	(dyn_string_copy_cstr): Likewise.
      	(dyn_string_prepend): Likewise.
      	(dyn_string_prepend_cstr): Likewise.
      	(dyn_string_insert): Likewise.
      	(dyn_string_insert_cstr): Likewise.
      	(dyn_string_append): Likewise.
      	(dyn_string_append_cstr): Likewise.
      	(dyn_string_append_char): Likewise.
      	(dyn_string_substring): Likewise.
      
      in gcc/cp/ChangeLog:
      
      	* Make-lang.in (CXX_LIB2FUNCS): Add cp-demangle.o and dyn-string.o.
      	(CXX_LIB2SRCS): Add cp-demangle.c and dyn-string.c.
      	(cp-demangle.o): New rule.
      	(dyn-string.o): Likewise.
      	* inc/cxxabi.h (__cxa_demangle): New declaration.
      
      From-SVN: r34657
      Alex Samuel committed