1. 29 Nov, 2001 9 commits
  2. 28 Nov, 2001 31 commits
    • expr.c (store_expr): When copying a string constant into an array... · 35a53991
      
              * expr.c (store_expr): When copying a string constant into an
              array, reset the known alignment of the MEM for the section to
              be cleared to BITS_PER_UNIT.
      
      From-SVN: r47432
      Jeffrey A Law committed
    • * gcc.c-torture/execute/20011128-1.c: New test. · d4d73d4c
      From-SVN: r47431
      Jeffrey A Law committed
    • * init.c: Minor whitespace changes. · c835e5c6
      From-SVN: r47429
      Geert Bosch committed
    • config.gcc (i[34567]86-*-interix3*): New case. · 04cec1a7
      	* config.gcc (i[34567]86-*-interix3*): New case.
      	* config/x-interix3, config/interix3.h, config/i386/i386interix3.h:
      	New files.
      
      From-SVN: r47428
      Douglas B Rupp committed
    • init.c: (__gnat_install_handler,VMS): Increase size of alternate signal stack. · 49bb4548
      	* init.c: (__gnat_install_handler,VMS): Increase size of alternate
      	signal stack.
      
      From-SVN: r47427
      Douglas B Rupp committed
    • misc.c (gnat_expand_constant): Move declaration above definition of lang_hooks. · ea2417e5
      	* misc.c (gnat_expand_constant): Move declaration above
      	definition of lang_hooks.
      	(LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
      	(gnat_init): lang_expand_constant no longer exists.
      
      	(internal_error_function): Remove #ifdef HAVE_VPRINTF.  We
      	always have vprintf.
      	(gnat_init): Always call set_internal_error_function.
      
      From-SVN: r47426
      Zack Weinberg committed
    • 2001-11-28 Paolo Carlini <pcarlini@unitus.it> · 6dafbab7
      	    Loren J. Rittle <ljrittle@acm.org>
      
      	* include/bits/basic_string.h
      	(basic_string::_Rep::__default_excess, _S_excess_slop):
      	Unused, remove.
      	* include/bits/basic_string.tcc: Remove dead code.
      	* include/bits/c++config: Remove comment.
      
      Co-Authored-By: Loren J. Rittle <ljrittle@acm.org>
      
      From-SVN: r47425
      Paolo Carlini committed
    • alpha.md (sibcall_osf_1, [...]): Use symbolic_operand as the predicate. · 391f61d9
              * config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use
              symbolic_operand as the predicate.
      
      From-SVN: r47424
      Richard Henderson committed
    • doloop.c (doloop_modify_runtime): Properly select induction variable... · e6dc3aa0
              * doloop.c (doloop_modify_runtime): Properly select induction
              variable; skip late entry test if biv initializer created by loop.
      
      From-SVN: r47423
      Richard Henderson committed
    • Missed in last commit. · 969ff1a0
      From-SVN: r47422
      Rainer Orth committed
    • tree.h (EXPR_WFL_LINECOL): Used by Java in node other than EXPR_WITH_FILE_LOCATION... · f724a9d2
      	* tree.h (EXPR_WFL_LINECOL): Used by Java in node other than
      	EXPR_WITH_FILE_LOCATION, so change checks and documentation.
      
      From-SVN: r47420
      Richard Kenner committed
    • tree.h: Add missing checks on some macros; make formatting more consistent. · c46080ab
      	* tree.h: Add missing checks on some macros; make formatting more
      	consistent.
      
      From-SVN: r47416
      Richard Kenner committed
    • stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top level; only… · 3874585e
      stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top level; only add to pending_sizes if find it.
      
      	* stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
      	level; only add to pending_sizes if find it.
      
      From-SVN: r47415
      Richard Kenner committed
    • Remove blank line. · d6d709cd
      From-SVN: r47414
      Richard Kenner committed
    • * langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED. · f80230c1
      From-SVN: r47413
      Richard Kenner committed
    • df.c (iterate_dataflow_sbitmap, [...]): Add casts to remove warnings. · 36221fc4
      	* df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
      	Add casts to remove warnings.
      
      From-SVN: r47412
      Richard Kenner committed
    • Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX. · 04203c18
      	* Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
      	(FLAGS_TO_PASS): Add STAGE_PREFIX.
      	(SUBDIR_FLAGS_TO_PASS): Apply PREPEND_DOTDOT_TO_RELATIVE_PATH
      	to STAGE_PREFIX.
      
      From-SVN: r47411
      Arnaud Charlet committed
    • Remove extra blank · 0c3a03cf
      From-SVN: r47410
      Richard Kenner committed
    • * Makefile.in (OBJS): Sort alphabetically. · 033265ba
      From-SVN: r47409
      Richard Kenner committed
    • print-rtl.c (print_rtx): If RTX code is bad, just say so. · 5e74f966
      	* print-rtl.c (print_rtx): If RTX code is bad, just say so.
      	Also minor cleanups.
      
      From-SVN: r47408
      Richard Kenner committed
    • cse.c (true_dependence_in_rtx): New function. · db4a8254
      	* cse.c (true_dependence_in_rtx): New function.
      	(invalidate): Use it.
      
      	* c-common.h (GOTO_FAKE_P): New macro.
      	* tree-inline.c (GOTO_FAKE_P): Set.
      	* c-tree.texi (GOTO_FAKE_P): Document.
      
      	* varasm.c (assemble_variable): Set reloc to 3 for error_mark
      	containing pointers.
      	(output_addressed_constants): Check for local/external relocations.
      	* elfos.h (SELECT_SECTION): Classify data section.
      	* tm.texi (SELECT_SECTION): Update documentation.
      
      	* cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit.
      	(flow_dfs_compute_reverse_execute): Add only unvisited blocks.
      
      From-SVN: r47405
      Jan Hubicka committed
    • Daily bump. · 562d21e9
      From-SVN: r47403
      GCC Administrator committed
    • 2001-11-28 Benjamin Kosnik <bkoz@redhat.com> · 86176835
      	    Jakub Jelinek  <jakub@redhat.com>
      
      	* config/locale/moneypunct_members_gnu.cc
      	(moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
      	for ia64, others.
      	* config/locale/numpunct_members_gnu.cc
      	(numpunct<wchar_t>::_M_initialize_numpunct): Same.
      
      From-SVN: r47402
      Benjamin Kosnik committed
    • locale_facets.tcc: Formatting tweaks. · 074a8e74
      
      2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/locale_facets.tcc: Formatting tweaks.
      
      	* testsuite/23_containers/map_operators.cc: Don't xfail.
      	* testsuite/23_containers/set_operators.cc: Same.
      	* testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
      	* testsuite/backward/header_deque_h.cc: Same.
      
      From-SVN: r47401
      Benjamin Kosnik committed
    • locale_facets.tcc: Formatting tweaks. · 5fd0af87
      
      2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/locale_facets.tcc: Formatting tweaks.
      
      	* testsuite/23_containers/map_operators.cc: Don't xfail.
      	* testsuite/23_containers/set_operators.cc: Same.
      
      From-SVN: r47400
      Benjamin Kosnik committed
    • Numeric facets cleanup. · ec9d6e9f
      
      2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
      
      	Numeric facets cleanup.
      	* include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
      	+ and - signs.
      	(__num_base::_M_zero): Add
      	(__num_base::_M_e): Add.
      	(__num_base::_M_E): Add.
      	* include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
      	(num_get::_M_extract_float): New.
      	(num_get::_M_extract_int): New.
      	* src/locale.cc (num_get::_M_extract): Remove.
      
      	* include/bits/locale_facets.tcc (num_put::_M_insert_float):
      	Simplify, use _M_insert.
      	(num_put::do_put(bool)): Simplify, remove __pad.
      	(__pad): Remove.
      	(__pad_output): Change to __pad.
      	* include/bits/ostream.tcc: And here.
      	* src/locale-inst: Remove instantiations.
      
      	* include/bits/locale_facets.h: Move helper functions in to class
      	num_put.
      	(num_put::_M_insert_float): Same, for __output_integer.
      	(num_put::_M_insert_int): Same, for __output_float.
      	(num_put::_M_insert): New.
      	(__num_base): Add.
      	(__num_base::_S_format_float): Move
      	__build_float_format into class __num_base.
      	(__num_base::_S_format_int): Move __build_int_format into class
      	__num_base.
      	* include/bits/locale_facets.tcc (__group_digits): Change to
      	(__add_grouping): This.
      	* src/locale-inst.cc: And here. Tweak instantiations.
      	* src/misc-inst.cc: Remove instantiations.
      
      	* include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
      	for new calling conventions, move to...
      	* include/bits/locale_facets.tcc (__pad_output): Here. Adjust
      	signature to make it useful for both ostream and num_put.
      	(__pad_numeric): Remove.
      	* src/misc-inst.cc: Remove instantiations.
      	* src/locale-inst.cc: Same.
      
      	* include/bits/locale_facets.h (_Numeric_get): Remove.
       	(_Numeric_put): Remove.
      	(num_get::get(short)): Remove.
      	(num_get::get(int)): Remove.
      	(num_get::do_get(short)): Remove.
      	(num_get::do_get(int)): Remove.
      	* include/bits/istream.tcc (istream::operator>>(short)): Fix as
      	per DR 118.
      	(istream::operator>>(int)): Same.
      
      	* include/bits/locale_facets.h (_Format_cache): Remove.
      	* include/bits/locale_facets.tcc: Same.
      	* src/locale.cc: Same.
      	* src/locale-inst.cc: Same.
      	* include/bits/ostream.tcc: Same.
      	* src/ios.cc (ios_base::imbue): Remove here as well.
      
      	* testsuite/22_locale/num_get.cc: New file.
      	* testsuite/22_locale/num_get_members_char.cc: New file.
      	* testsuite/22_locale/num_get_members_wchar_t.cc: New.
      	* testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
      	* testsuite/22_locale/num_put.cc: New file.
      	* testsuite/22_locale/num_put_members_char.cc: New file.
      	* testsuite/22_locale/num_put_members_wchar_t.cc: New file.
      	* testsuite/27_io/ostream_inserter_arith.cc: Fix.
      	* testsuite/27_io/istream_extractor_arith.cc: Fix.
      
      From-SVN: r47399
      Benjamin Kosnik committed
    • basic_string.tcc (basic_string::_Rep::_S_create): Enforce allocation size… · 2883d58b
      basic_string.tcc (basic_string::_Rep::_S_create): Enforce allocation size blocking policy to reduce fragmentation and enhance...
      
      2001-11-27  Loren J. Rittle  <ljrittle@acm.org>
                  Paolo Carlini  <pcarlini@unitus.it>
      
              * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
              Enforce allocation size blocking policy to reduce
              fragmentation and enhance performance with common malloc
              implementations.
      
      Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
      
      From-SVN: r47398
      Loren J. Rittle committed
    • Numeric facets cleanup. · 86ade44c
      
      2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>
      
      	Numeric facets cleanup.
      	* include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
      	+ and - signs.
      	(__num_base::_M_zero): Add
      	(__num_base::_M_e): Add.
      	(__num_base::_M_E): Add.
      	* include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
      	(num_get::_M_extract_float): New.
      	(num_get::_M_extract_int): New.
      	* src/locale.cc (num_get::_M_extract): Remove.
      
      	* include/bits/locale_facets.tcc (num_put::_M_insert_float):
      	Simplify, use _M_insert.
      	(num_put::do_put(bool)): Simplify, remove __pad.
      	(__pad): Remove.
      	(__pad_output): Change to __pad.
      	* include/bits/ostream.tcc: And here.
      	* src/locale-inst: Remove instantiations.
      
      	* include/bits/locale_facets.h: Move helper functions in to class
      	num_put.
      	(num_put::_M_insert_float): Same, for __output_integer.
      	(num_put::_M_insert_int): Same, for __output_float.
      	(num_put::_M_insert): New.
      	(__num_base): Add.
      	(__num_base::_S_format_float): Move
      	__build_float_format into class __num_base.
      	(__num_base::_S_format_int): Move __build_int_format into class
      	__num_base.
      	* include/bits/locale_facets.tcc (__group_digits): Change to
      	(__add_grouping): This.
      	* src/locale-inst.cc: And here. Tweak instantiations.
      	* src/misc-inst.cc: Remove instantiations.
      
      	* include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
      	for new calling conventions, move to...
      	* include/bits/locale_facets.tcc (__pad_output): Here. Adjust
      	signature to make it useful for both ostream and num_put.
      	(__pad_numeric): Remove.
      	* src/misc-inst.cc: Remove instantiations.
      	* src/locale-inst.cc: Same.
      
      	* include/bits/locale_facets.h (_Numeric_get): Remove.
       	(_Numeric_put): Remove.
      	(num_get::get(short)): Remove.
      	(num_get::get(int)): Remove.
      	(num_get::do_get(short)): Remove.
      	(num_get::do_get(int)): Remove.
      	* include/bits/istream.tcc (istream::operator>>(short)): Fix as
      	per DR 118.
      	(istream::operator>>(int)): Same.
      
      	* include/bits/locale_facets.h (_Format_cache): Remove.
      	* include/bits/locale_facets.tcc: Same.
      	* src/locale.cc: Same.
      	* src/locale-inst.cc: Same.
      	* include/bits/ostream.tcc: Same.
      	* src/ios.cc (ios_base::imbue): Remove here as well.
      
      	* testsuite/22_locale/num_get.cc: New file.
      	* testsuite/22_locale/num_get_members_char.cc: New file.
      	* testsuite/22_locale/num_get_members_wchar_t.cc: New.
      	* testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
      	* testsuite/22_locale/num_put.cc: New file.
      	* testsuite/22_locale/num_put_members_char.cc: New file.
      	* testsuite/22_locale/num_put_members_wchar_t.cc: New file.
      	* testsuite/27_io/ostream_inserter_arith.cc: Fix.
      	* testsuite/27_io/istream_extractor_arith.cc: Fix.
      
      From-SVN: r47397
      Benjamin Kosnik committed