OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * config/cris/cris.c (cris_notice_update_cc): Check first
hp [Fri, 30 Nov 2001 00:17:49 +0000 (00:17 +0000)]
* config/cris/cris.c (cris_notice_update_cc): Check first
destination also against overlap with cc_status.value2 and second
destination against overlap with cc_status.value1.  For overlaps,
clear overlapped value, don't just CC_STATUS_INIT.

* config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix spacing and FIXME.
(LINK_SPEC): Remove whitespace at end of line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47463 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-lex.c (init_c_lex): Canonicalize "-" filename to "".
jakub [Thu, 29 Nov 2001 22:40:55 +0000 (22:40 +0000)]
* c-lex.c (init_c_lex): Canonicalize "-" filename to "".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47461 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
jakub [Thu, 29 Nov 2001 22:39:10 +0000 (22:39 +0000)]
* gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
macros for the supported debugging types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47460 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-29 Paolo Carlini <pcarlini@unitus.it>
bkoz [Thu, 29 Nov 2001 22:31:02 +0000 (22:31 +0000)]
2001-11-29  Paolo Carlini  <pcarlini@unitus.it>

libstdc++/3655
* include/bits/locale_facets.tcc (__pad): Add bool parameter to
correctly pad internal-adjusted const char*-type objects.
* include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
* include/bits/ostream.tcc (operator<<(_CharT , char, const
_CharT*, const char*, const basic_string&): Update calls.
* src/locale-inst.tcc: Update declarations.
* testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47459 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c++/4842
mmitchel [Thu, 29 Nov 2001 22:01:58 +0000 (22:01 +0000)]
PR c++/4842
* class.c (get_basefndecls): Take an IDENTIFIER_NODE, not a
FUNCTION_DECL, as input.
(mark_overriders): Remove.
(warn_hidden): Rework for the new ABI.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47458 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c++/3471
mmitchel [Thu, 29 Nov 2001 21:44:57 +0000 (21:44 +0000)]
PR c++/3471
* call.c (convert_like_real): Do not build additional temporaries
for rvalues of class type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47455 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-29 Craig Rodrigues <rodrigc@gcc.gnu.org>
rodrigc [Thu, 29 Nov 2001 21:39:41 +0000 (21:39 +0000)]
2001-11-29  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR other/4932
        * config/i386/i386.c (print_operand):  Verify that the
          argument to %c is a constant and not a conditional which
          needs to be reversed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47453 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-29 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 29 Nov 2001 21:02:34 +0000 (21:02 +0000)]
2001-11-29  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/ext/howto.html:  Finish allocator notes (inst and 3.0).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47452 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c++/3471
mmitchel [Thu, 29 Nov 2001 20:19:41 +0000 (20:19 +0000)]
PR c++/3471
* call.c (convert_like_real): Do not build additional temporaries
for rvalues of class type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47451 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 29 Nov 2001 20:14:38 +0000 (20:14 +0000)]
2001-11-29  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.tcc (num_get::do_get(long double)):
Fix __traits_type typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47449 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * g++.old-deja/g++.pt/memtemp100.C: Remove non-standard
mmitchel [Thu, 29 Nov 2001 19:04:47 +0000 (19:04 +0000)]
* g++.old-deja/g++.pt/memtemp100.C: Remove non-standard
constructs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47448 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * emit-rtl.c (gen_lowpart_common): Fix conversion of
law [Thu, 29 Nov 2001 18:12:37 +0000 (18:12 +0000)]
    * emit-rtl.c (gen_lowpart_common): Fix conversion of
        REAL_VALUE_TYPEs to an array of target integers.  Fix extraction
        of low part of those arrays for 32bit and 64bit hosts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47446 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * init.c: Remove obsolete dwarf2 frame.h section.
rth [Thu, 29 Nov 2001 17:53:13 +0000 (17:53 +0000)]
    * init.c: Remove obsolete dwarf2 frame.h section.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47445 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agocp:
nathan [Thu, 29 Nov 2001 17:15:56 +0000 (17:15 +0000)]
cp:
* cp-tree.h (UNIQUELY_DERIVED_FROM_P): Use lookup base.
(ACCESSIBLY_UNIQUELY_DERIVED_FROM_P): Likewise.
(PUBLICLY_UNIQUELY_DERIVED_FROM_P: Likewise.
(DERIVED_FROM_P): Likewise.
(enum base_access): Renumber, add ba_quiet bit mask.
(get_binfo): Remove.
(get_base_distance): Remove.
(binfo_value): Remove.
(ACCESSIBLY_DERIVED_FROM_P): Remove.
* call.c (standard_conversion): Use lookup_base.
* class.c (strictly_overrides): Likewise.
(layout_virtual_bases): Likewise.
(warn_about_ambiguous_direct_bases): Likewise.
(is_base_of_enclosing_class): Likewise.
(add_vcall_offset_vtbl_entries_1): Likewise.
* cvt.c (build_up_reference): Adjust comment.
* init.c (build_member_call): Reformat.
* search.c (get_binfo): Remove.
(get_base_distance_recursive): Remove.
(get_base_distance): Remove.
(lookup_base_r): Tweak.
(lookup_base): Add ba_quiet control. Complete the types here.
(covariant_return_p): Use lookup_base.
* tree.c (binfo_value): Remove.
(maybe_dummy_object): Use lookup_base.
* typeck.c (build_static_cast): Use lookup_base.
(get_delta_difference): Likewise.
* typeck2.c (binfo_or_else): Use lookup_base.
(build_scoped_ref): Add back error_mark_check.
(build_m_component_ref): Use lookup_base.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47444 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in (insn-output.o): Depend on insn-codes.h.
ghazi [Thu, 29 Nov 2001 17:12:52 +0000 (17:12 +0000)]
* Makefile.in (insn-output.o): Depend on insn-codes.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47443 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * configure.in (target_list): Add generated-manpages.
jsm28 [Thu, 29 Nov 2001 16:50:19 +0000 (16:50 +0000)]
* configure.in (target_list): Add generated-manpages.
* configure: Regenerate.
* Makefile.in (generated-manpages): Depend on
lang.generated-manpages.
* objc/Make-lang.in (objc.generated-manpages): New dummy target.

ada:
* Make-lang.in (ada.generated-manpages): New dummy target.

ch:
* Make-lang.in (CHILL.generated-manpages): New dummy target.

cp:
* Make-lang.in (c++.generated-manpages): New dummy target.

f:
* Make-lang.in (f77.generated-manpages): New target.
($(srcdir)/f/g77.1): Don't check $(GENERATED_MANPAGES).  Allow
manpage generation to fail.
(f77.info): Don't depend on $(srcdir)/f/g77.1.
(f77.install-man): Depend on $(GENERATED_MANPAGES) rather than
directly on $(srcdir)/g77.1.

java:
* Make-lang.in (java.generated-manpages): New dummy target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47442 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoMark _init and _fini as Thumb functions if compiled in thumb mode.
nickc [Thu, 29 Nov 2001 16:05:59 +0000 (16:05 +0000)]
Mark _init and _fini as Thumb functions if compiled in thumb mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47441 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Thu, 29 Nov 2001 08:16:16 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47439 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-28 Eric Christopher <echristo@redhat.com>
echristo [Thu, 29 Nov 2001 07:42:15 +0000 (07:42 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47438 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoFix comment typo.
rth [Thu, 29 Nov 2001 07:32:40 +0000 (07:32 +0000)]
Fix comment typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47437 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * alpha.md (tablejump): Use pic_offset_table_rtx
wehle [Thu, 29 Nov 2001 05:26:31 +0000 (05:26 +0000)]
* alpha.md (tablejump): Use pic_offset_table_rtx
instead of gen_rtx_REG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47436 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * g-os_lib.adb (Add_To_Command): use explicit loop to move string
bosch [Thu, 29 Nov 2001 05:15:53 +0000 (05:15 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47435 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-28 Paolo Carlini <pcarlini@unitus.it>
bkoz [Thu, 29 Nov 2001 00:30:01 +0000 (00:30 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47434 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-28 Paolo Carlini <pcarlini@unitus.it>
bkoz [Thu, 29 Nov 2001 00:27:54 +0000 (00:27 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47433 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * expr.c (store_expr): When copying a string constant into an
law [Wed, 28 Nov 2001 22:34:07 +0000 (22:34 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47432 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c-torture/execute/20011128-1.c: New test.
law [Wed, 28 Nov 2001 22:04:05 +0000 (22:04 +0000)]
    * gcc.c-torture/execute/20011128-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47431 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/cris/cris.c: Remove whitespace at end of line.
hp [Wed, 28 Nov 2001 22:00:29 +0000 (22:00 +0000)]
* config/cris/cris.c: Remove whitespace at end of line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47430 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * init.c: Minor whitespace changes.
bosch [Wed, 28 Nov 2001 21:49:44 +0000 (21:49 +0000)]
* init.c: Minor whitespace changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47429 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config.gcc (i[34567]86-*-interix3*): New case.
kenner [Wed, 28 Nov 2001 21:41:54 +0000 (21:41 +0000)]
* config.gcc (i[34567]86-*-interix3*): New case.
* config/x-interix3, config/interix3.h, config/i386/i386interix3.h:
New files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47428 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * init.c: (__gnat_install_handler,VMS): Increase size of alternate
bosch [Wed, 28 Nov 2001 21:38:18 +0000 (21:38 +0000)]
* init.c: (__gnat_install_handler,VMS): Increase size of alternate
signal stack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47427 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * misc.c (gnat_expand_constant): Move declaration above
zack [Wed, 28 Nov 2001 19:49:00 +0000 (19:49 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47426 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-28 Paolo Carlini <pcarlini@unitus.it>
bkoz [Wed, 28 Nov 2001 18:58:19 +0000 (18:58 +0000)]
2001-11-28  Paolo Carlini <pcarlini@unitus.it>
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47425 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use
rth [Wed, 28 Nov 2001 18:36:14 +0000 (18:36 +0000)]
    * config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use
        symbolic_operand as the predicate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47424 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doloop.c (doloop_modify_runtime): Properly select induction
rth [Wed, 28 Nov 2001 18:09:26 +0000 (18:09 +0000)]
    * doloop.c (doloop_modify_runtime): Properly select induction
        variable; skip late entry test if biv initializer created by loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47423 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoMissed in last commit.
ro [Wed, 28 Nov 2001 17:34:54 +0000 (17:34 +0000)]
Missed in last commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47422 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * tree.h (EXPR_WFL_LINECOL): Used by Java in node other than
kenner [Wed, 28 Nov 2001 16:55:59 +0000 (16:55 +0000)]
* tree.h (EXPR_WFL_LINECOL): Used by Java in node other than
EXPR_WITH_FILE_LOCATION, so change checks and documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47420 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
kenner [Wed, 28 Nov 2001 14:37:58 +0000 (14:37 +0000)]
* tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47419 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * tree.h: Add missing checks on some macros; make formatting more
kenner [Wed, 28 Nov 2001 12:33:03 +0000 (12:33 +0000)]
* tree.h: Add missing checks on some macros; make formatting more
consistent.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47416 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
kenner [Wed, 28 Nov 2001 12:21:07 +0000 (12:21 +0000)]
* stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
level; only add to pending_sizes if find it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47415 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoRemove blank line.
kenner [Wed, 28 Nov 2001 12:18:37 +0000 (12:18 +0000)]
Remove blank line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47414 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.
kenner [Wed, 28 Nov 2001 12:13:50 +0000 (12:13 +0000)]
* langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47413 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
kenner [Wed, 28 Nov 2001 12:10:38 +0000 (12:10 +0000)]
* df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
Add casts to remove warnings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47412 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
kenner [Wed, 28 Nov 2001 12:01:20 +0000 (12:01 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47411 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoRemove extra blank
kenner [Wed, 28 Nov 2001 11:56:51 +0000 (11:56 +0000)]
Remove extra blank

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47410 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in (OBJS): Sort alphabetically.
kenner [Wed, 28 Nov 2001 11:55:41 +0000 (11:55 +0000)]
* Makefile.in (OBJS): Sort alphabetically.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47409 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * print-rtl.c (print_rtx): If RTX code is bad, just say so.
kenner [Wed, 28 Nov 2001 11:52:21 +0000 (11:52 +0000)]
* print-rtl.c (print_rtx): If RTX code is bad, just say so.
Also minor cleanups.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47408 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoAdd missing hunk, due to reject I've missed in my previous commit.
hubicka [Wed, 28 Nov 2001 10:16:40 +0000 (10:16 +0000)]
Add missing hunk, due to reject I've missed in my previous commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47407 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cse.c (true_dependence_in_rtx): New function.
hubicka [Wed, 28 Nov 2001 09:47:25 +0000 (09:47 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47405 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Wed, 28 Nov 2001 08:16:14 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47403 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 28 Nov 2001 07:40:12 +0000 (07:40 +0000)]
2001-11-28  Benjamin Kosnik  <bkoz@redhat.com>
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47402 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 28 Nov 2001 06:53:29 +0000 (06:53 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47401 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 28 Nov 2001 06:35:00 +0000 (06:35 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47400 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 28 Nov 2001 06:29:55 +0000 (06:29 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47399 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-27 Loren J. Rittle <ljrittle@acm.org>
ljrittle [Wed, 28 Nov 2001 05:17:59 +0000 (05:17 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47398 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 28 Nov 2001 04:07:11 +0000 (04:07 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47397 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
ghazi [Wed, 28 Nov 2001 02:39:21 +0000 (02:39 +0000)]
* defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
UNALIGNED_DOUBLE_INT_ASM_OP): Also provide defaults when we have
OBJECT_FORMAT_ROSE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47396 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/cris/cris.c: Tweak spacing for prototypes.
hp [Wed, 28 Nov 2001 02:37:44 +0000 (02:37 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47395 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.dg/20011127-1.c: New test.
hp [Wed, 28 Nov 2001 02:36:03 +0000 (02:36 +0000)]
* gcc.dg/20011127-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47394 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agotop level:
zack [Wed, 28 Nov 2001 01:37:24 +0000 (01:37 +0000)]
top level:
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).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47393 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
bryce [Wed, 28 Nov 2001 00:45:26 +0000 (00:45 +0000)]
* doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
doc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47392 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-27 Phil Edwards <pme@gcc.gnu.org>
pme [Wed, 28 Nov 2001 00:02:04 +0000 (00:02 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47391 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than
jakub [Tue, 27 Nov 2001 22:53:09 +0000 (22:53 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47390 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in: Forgotten commit.
neil [Tue, 27 Nov 2001 22:47:42 +0000 (22:47 +0000)]
* Makefile.in: Forgotten commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47389 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cpphash.c (_cpp_init_hashtable): Update.
neil [Tue, 27 Nov 2001 22:31:34 +0000 (22:31 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47388 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * unroll.c (loop_iterations): Move last change ...
rth [Tue, 27 Nov 2001 22:09:10 +0000 (22:09 +0000)]
    * unroll.c (loop_iterations): Move last change ...
        * doloop.c (doloop_modify_runtime): ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47387 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * unroll.c (loop_iterations): Detect one situation in which we
rth [Tue, 27 Nov 2001 18:30:40 +0000 (18:30 +0000)]
    * unroll.c (loop_iterations): Detect one situation in which we
        overestimate the number of iterations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47386 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c (set_collect_gcc_options): New function, split out from
ro [Tue, 27 Nov 2001 17:31:38 +0000 (17:31 +0000)]
* gcc.c (set_collect_gcc_options): New function, split out from
main.
Ignore elided switches.
(do_spec): Invoke before executing command.
(do_spec_1): Likewise.
Fixes PR other/3968.

* gcc.c (set_input): Export.
Move declaration ...
gcc.h (set_input): ... here.

java:
* jvspec.c (jvgenmain_spec): Cannot use %umain, breaks
ASM_FINAL_SPEC.
(lang_specific_pre_link): Use set_input to set input_filename.
Append `main' here.
* jvgenmain.c (usage): Append literal `main' to CLASSNAME.
(main): Fix definition.
Strip `main' from classname.
Fixes PR java/227.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47385 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/cris/cris.h (INT_ASM_OP): Remove.
hp [Tue, 27 Nov 2001 16:38:54 +0000 (16:38 +0000)]
* config/cris/cris.h (INT_ASM_OP): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47384 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in (stamp-tool_src_dir): Use symbolic link.
aj [Tue, 27 Nov 2001 16:17:56 +0000 (16:17 +0000)]
* Makefile.in (stamp-tool_src_dir): Use symbolic link.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47382 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/i386/sol2.h (WINT_TYPE): Redefine.
ro [Tue, 27 Nov 2001 16:13:22 +0000 (16:13 +0000)]
* config/i386/sol2.h (WINT_TYPE): Redefine.
(WINT_TYPE_SIZE): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47381 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * collect2.c: Check HAVE_DUP2 instead of NO_DUP2.
ghazi [Tue, 27 Nov 2001 15:36:24 +0000 (15:36 +0000)]
* collect2.c: Check HAVE_DUP2 instead of NO_DUP2.
(dup2): Make static and add prototype.
* m68k/plexus.h: Don't define NO_DUP2.
* configure.in (AC_CHECK_FUNCS): Add dup2.
* config.in, configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47379 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * ia64/aix.h (REG_SIZE): Don't #undef.
ghazi [Tue, 27 Nov 2001 15:32:18 +0000 (15:32 +0000)]
* ia64/aix.h (REG_SIZE): Don't #undef.
* sparc.h (REG_SIZE): Delete.
* flow.c (mark_used_regs): Don't use REG_SIZE.
* regs.h (REG_SIZE): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47378 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT ->
schwab [Tue, 27 Nov 2001 15:08:38 +0000 (15:08 +0000)]
* gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT ->
PREFERRED_DEBUGGING_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47377 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in (c-lang.o): Depends on langhooks-def.h.
kenner [Tue, 27 Nov 2001 14:31:29 +0000 (14:31 +0000)]
* Makefile.in (c-lang.o): Depends on langhooks-def.h.
(expr.o, varasm.o): Depends on langhooks.h.
* c-common.c (c_safe_from_p): Always declare.
(c_expand_expr): Refine when declared.
* c-lang.c (c-common.h): Now include.
(LANG_HOOKS_SAFE_FROM_P): Define new hook.
(c_init): Don't set lang_safe_from_expr.
* expr.c (langhooks.h): Now include.
(lang_safe_from_p): No longer define.
(safe_from_p): Use lang hook.
(expand_expr): Set IGNORE if VOID_TYPE result of VIEW_CONVERT_EXPR too.
(expand_expr, case VIEW_CONVERT_EXPR): Pass ro_modifier down.
* expr.h (lang_expand_constant, lang_safe_from_p): Delete.
* langhooks-def.h (lhd_return_tree, lhd_safe_from_p): New decls.
(LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks.
* langhooks.c (lhd_return_tree, lhd_safe_from_p): New functions.
* langhooks.h (struct lang_hooks): New fields expand_constant
and safe_from_p.
* output.h (output_constant): Size arg is HOST_WIDE_INT.
* stmt.c (expand_decl_init): No longer need to expand constant
for CONST_DECL.
* stor-layout.c (put_pending_size): Don't check for SAVE_EXPR.
* toplev.c (lang_expand_constant): Delete var.
* tree.c (save_expr): Don't put another SAVE_EXPR around simple
operations on SAVE_EXPR.
* varasm.c (langhooks.h): Now include.
(compare_constant_1): Use lang_hooks, not lang_expand_constant.
(record_constant_1, output_addressed_constants): Likewise.
(initializer_constant_valid_p, output_constant): Likewise.
(output_constant_def): Process no-defer of string constant.
(output_addressed_constants, case ADDR_EXPR): Use handled_component_p.
(output_constant): Strip more conversions.
Track our size and pad for the rest.
(array_size_for_constructor): Remove code for non-byte STRING_CST.
(output_constructor): SIZE now HOST_WIDE_INT.
* cp/Make-lang.in (cp-lang.o): Depends on c-common.h.
* cp/cp-lang.c (c-common.h): Include.
(LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks.
* cp/decl.c (cxx_init_decl_processing): Don't set lang_safe_from_p.
* cp/expr.c (init_cplus_expand): Don't set lang_expand_constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47376 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * ifcvt.c (noce_try_store_flag_constants): Test for overflow
rth [Tue, 27 Nov 2001 09:07:59 +0000 (09:07 +0000)]
    * ifcvt.c (noce_try_store_flag_constants): Test for overflow
        in computing DIFF.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47374 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2001-11-27 Laurent Guerby <guerby@acm.org>
guerby [Tue, 27 Nov 2001 08:45:41 +0000 (08:45 +0000)]
2001-11-27  Laurent Guerby  <guerby@acm.org>

* Makefile.in: Regenerate Ada dependencies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47373 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Tue, 27 Nov 2001 08:16:19 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47371 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoNew test.
rth [Tue, 27 Nov 2001 08:02:21 +0000 (08:02 +0000)]
New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47370 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cppfiles.c (read_include_file): Add comment.
neil [Tue, 27 Nov 2001 07:42:10 +0000 (07:42 +0000)]
* cppfiles.c (read_include_file): Add comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47369 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoNew test.
rth [Tue, 27 Nov 2001 01:55:42 +0000 (01:55 +0000)]
New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47368 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agomore minimal-toc tweaking of output_mi_thunk.
dje [Tue, 27 Nov 2001 01:35:23 +0000 (01:35 +0000)]
more minimal-toc tweaking of output_mi_thunk.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47367 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.
rth [Tue, 27 Nov 2001 00:32:00 +0000 (00:32 +0000)]
    * toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47365 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef.
rth [Tue, 27 Nov 2001 00:14:41 +0000 (00:14 +0000)]
    * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef.
        * config/ia64/aix.h (PREFERRED_DEBUGGING_TYPE): Remove
        commented out override.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47364 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cppfiles.c (stack_include_file): Don't optimize zero-length
neil [Mon, 26 Nov 2001 23:44:54 +0000 (23:44 +0000)]
* cppfiles.c (stack_include_file): Don't optimize zero-length
files.
(read_include_file): NUL-terminate read files.
* cpplex.c (handle_newline, skip_escaped_newlines,
get_effective_char, skip_whitespace, parse_identifier,
parse_identifier_slow, parse_number, parse_string,
_cpp_lex_direct): Optimize for the fact that buffers are guaranteed
NUL-terminated.
* cpplib.c (destringize_and_run, cpp_define, handle_assertion):
Be sure buffers are NUL terminated.
* cppmacro.c (warn_of_redefinition): Kill compile warning.

* c-common.c: Include tree-inline.h.
(c_language): Move separate definitions here.
(c_common_init_options, c_common_post_options): New.
(c_common_lang_init): Rename c_common_init.
* c-common.h (c_common_lang_init): Similarly.
(c_common_init_options, c_common_post_options): New.
* c-lang.c (c_post_options): Move body to c_common_post_options.
(c_init_options): Use c_common_init_options.
(c_init): Update.
* langhooks.def: Rearrange.
* langhooks.h: Rearrange, and improve comments.
* toplev.c (do_compile): New function.
(toplev_main): Use it.
(lang_independent_f_options, parse_options_and_default_flags,
process_options): Remove trailing periods.
* Makefile.in: Update.
cp: * decl2.c (c_language): Move to c-common.c.
* lex.c (cxx_post_options, cxx_init_options): Use c-common.c
functions.
(cxx_init): Update.
objc: * objc-act.c (objc_post_options, objc_init_options): Use c-common.c
functions.
(ojbc_init): Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47362 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/alpha/alpha.md (unop): Add 0 offset for some gas versions.
rth [Mon, 26 Nov 2001 22:56:52 +0000 (22:56 +0000)]
    * config/alpha/alpha.md (unop): Add 0 offset for some gas versions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47361 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * MAINTAINERS (write-after-approval): Add self.
zlaski [Mon, 26 Nov 2001 22:35:45 +0000 (22:35 +0000)]
  * MAINTAINERS (write-after-approval): Add self.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47360 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* expr.c (store_constructor): Actually use the value computed
dj [Mon, 26 Nov 2001 22:29:46 +0000 (22:29 +0000)]
* expr.c (store_constructor): Actually use the value computed
if WORD_REGISTER_OPERATIONS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47359 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
rth [Mon, 26 Nov 2001 22:20:28 +0000 (22:20 +0000)]
    * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
        gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
        gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47358 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
rth [Mon, 26 Nov 2001 22:16:56 +0000 (22:16 +0000)]
    * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
        for CONSTRUCTOR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47357 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * rs6000.c (output_mi_thunk): Handle minimal-toc and call
dje [Mon, 26 Nov 2001 21:43:48 +0000 (21:43 +0000)]
    * rs6000.c (output_mi_thunk): Handle minimal-toc and call
        correct function on AIX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47355 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* Makefile.in (stamp-h): Depend on Makefile for proper
dj [Mon, 26 Nov 2001 21:24:43 +0000 (21:24 +0000)]
* Makefile.in (stamp-h): Depend on Makefile for proper
serialization.
(*-subdir): Depend on config.h for proper serialization.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47354 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoFix typo.
dj [Mon, 26 Nov 2001 20:03:21 +0000 (20:03 +0000)]
Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47353 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* configure.in: Check for alloca.h (for regex.c and putenv.c).
dj [Mon, 26 Nov 2001 20:02:19 +0000 (20:02 +0000)]
* configure.in: Check for alloca.h (for regex.c and putenv.c).
* configure: Regenerate.
* config.h: Add HAVE_ALLOCA_H.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47352 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* toplev.c (process_options): Don't force
aoliva [Mon, 26 Nov 2001 19:40:21 +0000 (19:40 +0000)]
* toplev.c (process_options): Don't force
flag_optimize_sibling_calls to zero just because exceptions are
enabled.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47351 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * df.h (transfer_function_sbitmap): Use PARAMS around argument
law [Mon, 26 Nov 2001 19:36:09 +0000 (19:36 +0000)]
    * df.h (transfer_function_sbitmap): Use PARAMS around argument
        list in function prototypes.
        (transfer_function_bitmap): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47350 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS.
ljrittle [Mon, 26 Nov 2001 19:24:09 +0000 (19:24 +0000)]
    * config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS.
        * config/i386/netbsd-elf.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47349 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * doc/trouble.texi: Remove outdated RS/6000 comments.
dje [Mon, 26 Nov 2001 18:33:44 +0000 (18:33 +0000)]
* doc/trouble.texi: Remove outdated RS/6000 comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47348 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
ljrittle [Mon, 26 Nov 2001 17:40:34 +0000 (17:40 +0000)]
* linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
case for GC_FREEBSD_THREADS.
* configure.in (*-*-freebsd*): Clarify warning.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47347 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * call.c (joust): Remove COND_EXPR hack.
jason [Mon, 26 Nov 2001 13:11:15 +0000 (13:11 +0000)]
    * call.c (joust): Remove COND_EXPR hack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47346 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * final.c (walk_alter_subreg): Fix return value.
hubicka [Mon, 26 Nov 2001 13:02:16 +0000 (13:02 +0000)]
* final.c (walk_alter_subreg): Fix return value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47345 138bc75d-0d04-0410-961f-82ee72b054a4