aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-11-29Mark _init and _fini as Thumb functions if compiled in thumb mode.Nick Clifton2-0/+12
From-SVN: r47441
2001-11-29Daily bump.GCC Administrator6-6/+6
From-SVN: r47439
2001-11-29mips.c (override_options): Fix thinko in mips_tune for mips32/mips64.Eric Christopher2-15/+12
2001-11-28 Eric Christopher <echristo@redhat.com> * config/mips/mips.c (override_options): Fix thinko in mips_tune for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits. From-SVN: r47438
2001-11-28Fix comment typo.Richard Henderson1-1/+1
From-SVN: r47437
2001-11-29alpha.md (tablejump): Use pic_offset_table_rtx instead of gen_rtx_REG.John Wehle2-1/+6
* alpha.md (tablejump): Use pic_offset_table_rtx instead of gen_rtx_REG. From-SVN: r47436
2001-11-29g-os_lib.adb (Add_To_Command): use explicit loop to move string into ↵Ed Schonberg2-1/+13
Command, an array conversion is illegal here. * g-os_lib.adb (Add_To_Command): use explicit loop to move string into Command, an array conversion is illegal here. Uncovered by ACATS B460005. From-SVN: r47435
2001-11-29locale_facets.tcc (__pad): Correctly pad internal-adjusted hex numbers.Benjamin Kosnik1-2/+2
2001-11-28 Paolo Carlini <pcarlini@unitus.it> libstdc++/3655 * include/bits/locale_facets.tcc (__pad): Correctly pad internal-adjusted hex numbers. * testsuite/27_io/ostream_inserter_arith.cc: Add testcase. From-SVN: r47434
2001-11-29locale_facets.tcc (__pad): correctly output hex numbers internally aligned.Paolo Carlini3-3/+24
2001-11-28 Paolo Carlini <pcarlini@unitus.it> libstdc++/3655 * include/bits/locale_facets.tcc (__pad): correctly output hex numbers internally aligned. * testsuite/27_io/ostream_inserter_arith.cc: Add testcase. From-SVN: r47433
2001-11-28expr.c (store_expr): When copying a string constant into an array...Jeffrey A Law2-0/+12
* 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
2001-11-28* gcc.c-torture/execute/20011128-1.c: New test.Jeffrey A Law2-0/+9
From-SVN: r47431
2001-11-28* config/cris/cris.c: Remove whitespace at end of line.Hans-Peter Nilsson2-6/+10
From-SVN: r47430
2001-11-28* init.c: Minor whitespace changes.Geert Bosch2-5/+4
From-SVN: r47429
2001-11-28config.gcc (i[34567]86-*-interix3*): New case.Douglas B Rupp5-0/+95
* config.gcc (i[34567]86-*-interix3*): New case. * config/x-interix3, config/interix3.h, config/i386/i386interix3.h: New files. From-SVN: r47428
2001-11-28init.c: (__gnat_install_handler,VMS): Increase size of alternate signal stack.Douglas B Rupp2-2/+7
* init.c: (__gnat_install_handler,VMS): Increase size of alternate signal stack. From-SVN: r47427
2001-11-28misc.c (gnat_expand_constant): Move declaration above definition of lang_hooks.Zack Weinberg2-11/+16
* 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
2001-11-282001-11-28 Paolo Carlini <pcarlini@unitus.it>Paolo Carlini4-40/+9
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
2001-11-28alpha.md (sibcall_osf_1, [...]): Use symbolic_operand as the predicate.Richard Henderson2-6/+8
* config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use symbolic_operand as the predicate. From-SVN: r47424
2001-11-28doloop.c (doloop_modify_runtime): Properly select induction variable...Richard Henderson2-3/+20
* doloop.c (doloop_modify_runtime): Properly select induction variable; skip late entry test if biv initializer created by loop. From-SVN: r47423
2001-11-28Missed in last commit.Rainer Orth1-1/+2
From-SVN: r47422
2001-11-28tree.h (EXPR_WFL_LINECOL): Used by Java in node other than ↵Richard Kenner2-7/+9
EXPR_WITH_FILE_LOCATION... * tree.h (EXPR_WFL_LINECOL): Used by Java in node other than EXPR_WITH_FILE_LOCATION, so change checks and documentation. From-SVN: r47420
2001-11-28* tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.Richard Kenner2-3/+5
From-SVN: r47419
2001-11-28tree.h: Add missing checks on some macros; make formatting more consistent.Richard Kenner2-90/+120
* tree.h: Add missing checks on some macros; make formatting more consistent. From-SVN: r47416
2001-11-28stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top level; ↵Richard Kenner2-1/+12
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
2001-11-28Remove blank line.Richard Kenner1-1/+0
From-SVN: r47414
2001-11-28* langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.Richard Kenner2-9/+11
From-SVN: r47413
2001-11-28df.c (iterate_dataflow_sbitmap, [...]): Add casts to remove warnings.Richard Kenner2-10/+11
* df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap): Add casts to remove warnings. From-SVN: r47412
2001-11-28Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.Arnaud Charlet2-3/+11
* 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
2001-11-28Remove extra blankRichard Kenner1-1/+1
From-SVN: r47410
2001-11-28* Makefile.in (OBJS): Sort alphabetically.Richard Kenner2-4/+5
From-SVN: r47409
2001-11-28print-rtl.c (print_rtx): If RTX code is bad, just say so.Richard Kenner2-12/+22
* print-rtl.c (print_rtx): If RTX code is bad, just say so. Also minor cleanups. From-SVN: r47408
2001-11-28Add missing hunk, due to reject I've missed in my previous commit.Jan Hubicka1-1/+4
From-SVN: r47407
2001-11-28cse.c (true_dependence_in_rtx): New function.Jan Hubicka9-24/+70
* 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
2001-11-28Daily bump.GCC Administrator6-6/+6
From-SVN: r47403
2001-11-282001-11-28 Benjamin Kosnik <bkoz@redhat.com>Benjamin Kosnik3-7/+17
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
2001-11-28locale_facets.tcc: Formatting tweaks.Benjamin Kosnik3-2/+4
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
2001-11-28locale_facets.tcc: Formatting tweaks.Benjamin Kosnik4-20/+14
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
2001-11-28Numeric facets cleanup.Benjamin Kosnik1-0/+250
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
2001-11-28basic_string.tcc (basic_string::_Rep::_S_create): Enforce allocation size ↵Loren J. Rittle2-0/+56
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
2001-11-28Numeric facets cleanup.Benjamin Kosnik20-1413/+1892
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
2001-11-28defaults.h (UNALIGNED_SHORT_ASM_OP, [...]): Also provide defaults when we ↵Kaveh R. Ghazi2-2/+8
have OBJECT_FORMAT_ROSE. * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Also provide defaults when we have OBJECT_FORMAT_ROSE. From-SVN: r47396
2001-11-28cris.c: Tweak spacing for prototypes.Hans-Peter Nilsson2-52/+82
* config/cris/cris.c: Tweak spacing for prototypes. (LOSE_AND_RETURN): New macro. (cris_operand_lossage): New function. (cris_print_index, cris_print_base): Use cris_operand_lossage rather than fatal_insn. (cris_print_operand, cris_print_operand_address): Use LOSE_AND_RETURN rather than fatal_insn and internal_error. (cris_output_addr_const): Use LOSE_AND_RETURN and output_operand_lossage rather than fatal_insn and internal_error for valid but unexpected rtx expressions. * config/cris/cris.c (cris_split_movdx): Don't call alter_subreg for a SUBREG in src or dest, abort instead. From-SVN: r47395
2001-11-28* gcc.dg/20011127-1.c: New test.Hans-Peter Nilsson2-0/+34
From-SVN: r47394
2001-11-28top level:Zack Weinberg9-130/+671
2001-11-27 DJ Delorie <dj@redhat.com> Zack Weinberg <zack@codesourcery.com> When build != host, create libiberty for the build machine. * Makefile.in (TARGET_CONFIGARGS, BUILD_CONFIGARGS): Replace CONFIG_ARGUMENTS. (ALL_BUILD_MODULES_LIST, BUILD_CONFIGDIRS, BUILD_SUBDIR): New variables. (ALL_BUILD_MODULES, CONFIGURE_BUILD_MODULES): New variables and rules. (all.normal): Depend on ALL_BUILD_MODULES. (CONFIGURE_TARGET_MODULES rule): Use TARGET_CONFIGARGS. (all-build-libiberty): Depend on configure-build-libiberty. * configure: Calculate and substitute proper value for ALL_BUILD_MODULES. * configure.in: Create the build subdirectory. Calculate and substitute TARGET_CONFIGARGS (formerly CONFIG_ARGUMENTS); also BUILD_SUBDIR and BUILD_CONFIGARGS (new). libiberty: 2001-11-27 Zack Weinberg <zack@codesourcery.com> * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build in libiberty context. Fix typo in leading comment. * configure.in: Fix various AC_DEFINEs so autoheader works. If any of vprintf, vsprintf, vfprintf is missing from libc, then AC_REPLACE_FUNCS(_doprnt). From-SVN: r47393
2001-11-28passes.texi: Remove reference to c-dump.c.Bryce McKinlay2-4/+7
* doc/passes.texi: Remove reference to c-dump.c. Update tree inlining doc. From-SVN: r47392
2001-11-28explanations.html: New section, empty for now.Phil Edwards6-24/+236
2001-11-27 Phil Edwards <pme@gcc.gnu.org> * docs/html/explanations.html: New section, empty for now. * docs/html/17_intro/howto.html: Cleanup. Move unrelated link... * docs/html/23_containers/howto.html: ...to here. Break up and rewrap threading discussion to emphasize warning. Move malloc text... * docs/html/ext/howto.html: ...to here. New section. Describe allocators and __USE_MALLOC effects. * docs/html/ext/sgiexts.html: Mention their code. From-SVN: r47391
2001-11-27gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than preprocessor ↵Jakub Jelinek2-5/+22
define. * gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than preprocessor define. If only DBX_DEBUGGING_INFO or only DWARF2_DEBUGGING_INFO is supported for the target, provide appropriate definitions. From-SVN: r47390
2001-11-27* Makefile.in: Forgotten commit.Neil Booth1-4/+6
From-SVN: r47389
2001-11-27cpphash.c (_cpp_init_hashtable): Update.Neil Booth10-267/+340
* cpphash.c (_cpp_init_hashtable): Update. * cpphash.h (struct spec_nodes): Remove n_L. * cpplex.c (_cpp_lex_direct): Check for prefix L separately. * Makefile.in: Update, and add c-objc-common.o dependencies. * c-lang.c: Remove unnecessary includes. (c_init): Move bulk of code to c_objc_common_init, and call it. (c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits, inline_forbidden_p, c_cannot_inline_tree_fn): Move to c-objc-common.c. * c-objc-common.c: New. Mostly pulled from c-lang.c. * c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn, c_objc_common_init, c_missing_noreturn_ok_p): New. * toplev.c: Update comment. * doc/passes.texi: Update. * objc/ojbc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN, LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS, LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override. (objc_init): Update to use c_objc_common_init. From-SVN: r47388
2001-11-27unroll.c (loop_iterations): Move last change ...Richard Henderson3-35/+45
* unroll.c (loop_iterations): Move last change ... * doloop.c (doloop_modify_runtime): ... here. From-SVN: r47387
2001-11-27unroll.c (loop_iterations): Detect one situation in which we overestimate ↵Corey Minyard2-0/+41
the number of iterations. * unroll.c (loop_iterations): Detect one situation in which we overestimate the number of iterations. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r47386