OSDN Git Service

pf3gnuchains/gcc-fork.git
18 years agodescribe how to fix up the results after adding/changing an inclhack.
korbb [Wed, 22 May 2002 02:38:27 +0000 (02:38 +0000)]
describe how to fix up the results after adding/changing an inclhack.

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

18 years ago * optabs.c (expand_binop): For double-word integer multiplies,
law [Wed, 22 May 2002 01:54:40 +0000 (01:54 +0000)]
   * optabs.c (expand_binop): For double-word integer multiplies,
        do not compute intermediate results into something that is
        not a register (such as a SUBREG or MEM).

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

18 years ago * cfgbuild.c: Fix formatting.
kazu [Wed, 22 May 2002 01:27:34 +0000 (01:27 +0000)]
* cfgbuild.c: Fix formatting.
* cfg.c: Likewise.
* cfgcleanup.c: Likewise.
* cfglayout.c: Likewise.
* cfgloop.c: Likewise.
* cfgrtl.c: Likewise.

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

18 years ago * gcc.dg/tls/tls.exp, gcc.dg/tls/trivial.c, gcc.dg/tls/diag-1.c,
rth [Wed, 22 May 2002 01:12:13 +0000 (01:12 +0000)]
    * gcc.dg/tls/tls.exp, gcc.dg/tls/trivial.c, gcc.dg/tls/diag-1.c,
        gcc.dg/tls/diag-2.c, gcc.dg/tls/init-1.c: New directory and files.

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

18 years ago * c-common.h (enum rid): Add RID_THREAD.
rth [Wed, 22 May 2002 01:11:29 +0000 (01:11 +0000)]
    * c-common.h (enum rid): Add RID_THREAD.
        * c-decl.c (start_decl): Do not set DECL_COMMON for tls variables.
        (grokdeclarator): Grok __thread.
        * c-parse.in (reswords): Add __thread.
        (rid_to_yy): Add RID_THREAD.
        * cp/lex.c (rid_to_yy): Add RID_THREAD.

        * tree.h (DECL_THREAD_LOCAL): New.
        (struct tree_decl): Add thread_local_flag.
        * print-tree.c (print_node): Dump DECL_THREAD_LOCAL.
        * tree.c (staticp): TLS variables are not static.

        * target-def.h (TARGET_HAVE_TLS): New.
        * target.h (have_tls): New.
        * output.h (SECTION_TLS): New.
        * varasm.c (assemble_variable): TLS variables can't be common for now.
        (default_section_type_flags): Handle .tdata and .tbss.
        (default_elf_asm_named_section): Handle SECTION_TLS.
        (categorize_decl_for_section): Handle DECL_THREAD_LOCAL.

        * flags.h (flag_tls_default): Declare.
        * toplev.c (flag_tls_default): Define.
        (display_help): Display help for it.
        (decode_f_option): Set it.

        * doc/extend.texi (Thread-Local): New node describing language-level
        thread-local storage.
        * doc/invoke.texi (-ftls-model): Document.

        * fixinc/inclhack.def (thread_keyword): New.
        * fixinc/fixincl.x: Rebuild.

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

18 years agoMore verbose changelog entry.
rakdver [Wed, 22 May 2002 00:10:33 +0000 (00:10 +0000)]
More verbose changelog entry.

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

18 years ago * i386.c (ix86_sched_reorder_ppro): Fix typo/thinko.
law [Tue, 21 May 2002 23:51:59 +0000 (23:51 +0000)]
    * i386.c (ix86_sched_reorder_ppro): Fix typo/thinko.
        (ix86_sched_reorder): Make sure to initialize scheduling
        data even when there's only one insn in the ready queue.

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

18 years ago2002-05-21 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Tue, 21 May 2002 23:27:04 +0000 (23:27 +0000)]
2002-05-21  Vladimir Makarov  <vmakarov@redhat.com>

* genautomata.c (reserv_sets_hash_value): Fix a typo.

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

18 years ago2002-05-21 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Tue, 21 May 2002 23:11:57 +0000 (23:11 +0000)]
2002-05-21  Vladimir Makarov  <vmakarov@redhat.com>

* genautomata.c (reserv_sets_hash_value): Define hash_value as
set_el_t.  Transform the hash value into unsigned.
(output_cycle_reservs): Fix bug with output of repeated `nothing'.
(transform_3): Add code to process `(A,B)+(D,E)'.

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

18 years ago * reload1.c (do_output_reload): Run delete_output_reload
rth [Tue, 21 May 2002 22:40:53 +0000 (22:40 +0000)]
    * reload1.c (do_output_reload): Run delete_output_reload
        only if optimizing.

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

18 years ago PR middle-end/6600
sayle [Tue, 21 May 2002 22:38:00 +0000 (22:38 +0000)]
PR middle-end/6600
* expr.c (STORE_MAX_PIECES): New macro to avoid immediate constants
larger than INTEGER_CST.  (store_by_pieces_1): Use it here...
(can_store_by_pieces): ... and here to limit the largest mode used.
Add a comment to document this function.

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

18 years ago * flow.c (life_analysis): Fix test for deleted label.
rth [Tue, 21 May 2002 22:35:04 +0000 (22:35 +0000)]
    * flow.c (life_analysis): Fix test for deleted label.

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

18 years ago * doc/tm.texi: Fix typo.
neil [Tue, 21 May 2002 22:26:18 +0000 (22:26 +0000)]
* doc/tm.texi: Fix typo.

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

18 years ago * c-common.c (c_common_init): Set options->unsigned_char from
zack [Tue, 21 May 2002 21:55:37 +0000 (21:55 +0000)]
* c-common.c (c_common_init): Set options->unsigned_char from
flag_signed_char.
(cb_register_builtins): Define __STRICT_ANSI__ and
__CHAR_UNSIGNED__ here...
* cppinit.c (init_builtins): Not here.
(cpp_create_reader): unsigned_char option defaults to 0, not
!DEFAULT_SIGNED_CHAR.
(COMMAND_LINE_OPTIONS, cpp_handle_option): Lose -fsigned-char
and -funsigned-char.

* cpphash.h (struct spec_nodes): Kill n__STRICT_ANSI__.
* cpphash.c (_cpp_init_hashtable): Don't set it.
* cppmacro.c (builtin_macro) [BT_STDC]: Use the language setting
directly.  Clarify comment.

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

18 years ago2002-05-21 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 21 May 2002 21:09:11 +0000 (21:09 +0000)]
2002-05-21  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/stl_pair.h:  Tweak comment markup.

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

18 years ago2002-05-21 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 21 May 2002 20:53:36 +0000 (20:53 +0000)]
2002-05-21  Phil Edwards  <pme@gcc.gnu.org>

* include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.

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

18 years ago2002-05-21 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 21 May 2002 20:45:00 +0000 (20:45 +0000)]
2002-05-21  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/user.cfg.in (EXCLUDE):  Add 'CVS'.

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

18 years agoChangelog entry for my commit.
rakdver [Tue, 21 May 2002 20:41:32 +0000 (20:41 +0000)]
Changelog entry for my commit.

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

18 years ago2002-05-21 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 21 May 2002 20:41:06 +0000 (20:41 +0000)]
2002-05-21  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/stl_vector.h:  Reformat to follow C++STYLE.
Doxygenate all public members.  Reorder to follow 14882.
(vector::push_back(void)):  Remove previously-deprecated fn.
(vector::insert(iterator), vector::_M_insert_aux(iterator)):
Deprecate for removal in 3.3.

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

18 years ago * bb-reorder.c (make_reorder_chain_1): Modified.
rakdver [Tue, 21 May 2002 20:37:43 +0000 (20:37 +0000)]
* bb-reorder.c (make_reorder_chain_1): Modified.
* cfganal.c (can_fallthru, flow_call_edges_add,
flow_preorder_transversal_compute): Modified.
* cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
find_sub_basic_blocks): Modified.
* cfgcleanup.c (try_simplify_condjump, try_optimize_cfg): Modified.
* cfglayout.c (skip_insns_after_block, fixup_reorder_chain,
fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge): Modified.
* cfgrtl.c (tidy_fallthru_edges, verify_flow_info): Modified.
* combine.c (this_basic_block): Type changed to basic_block.
(combine_instructions, set_nonzero_bits_and_sign_copies, try_combine,
nonzero_bits, num_sign_bit_copies, get_last_value_validate,
get_last_value, distribute_notes, distribute_links): Modified.
* final.c (compute_alignments): Modified.
* flow.c (regno_uninitialized, regno_clobbered_at_setjmp): Modified.
* function.c (thread_prologue_and_epilogue_insns): Modified.
* gcse.c (compute_code_hoist_vbeinout): Modified.
* global.c (build_insn_chain): Modified.
* ifcvt.c (find_if_block, find_cond_trap): Modified.
* predict.c (last_basic_block_p, note_prediction_to_br_prob): Modified.
* regmove.c (regmove_optimize): Modified.
* resource.c (find_basic_block): Modified.
* sched-ebb.c (schedule_ebbs): Modified.
* ssa-dce.c (find_control_dependence, find_pdom): Modified.

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

18 years ago * cppinit.c (sanity_checks): Avoid printf mismatch warnings.
aj [Tue, 21 May 2002 20:09:00 +0000 (20:09 +0000)]
* cppinit.c (sanity_checks): Avoid printf mismatch warnings.

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

18 years ago * reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use
rth [Tue, 21 May 2002 19:57:39 +0000 (19:57 +0000)]
    * reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use
        unspec names, not numbers.

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

18 years ago* g++.dg/other/copy2.C: New test.
aoliva [Tue, 21 May 2002 17:26:50 +0000 (17:26 +0000)]
* g++.dg/other/copy2.C: New test.

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

18 years ago* init.c (build_vec_init): Test for trivial copy-assignment when
aoliva [Tue, 21 May 2002 17:26:18 +0000 (17:26 +0000)]
* init.c (build_vec_init): Test for trivial copy-assignment when
copy-assigning arrays.

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

18 years ago * doc/sourcebuild.texi: Mention snapshot-README and
jsm28 [Tue, 21 May 2002 16:51:05 +0000 (16:51 +0000)]
* doc/sourcebuild.texi: Mention snapshot-README and
snapshot-index.html as needing updating for new front ends.

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

18 years ago * gcc_release: Do upload files when local.
jsm28 [Tue, 21 May 2002 16:36:11 +0000 (16:36 +0000)]
* gcc_release: Do upload files when local.

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

18 years ago * snapshot-README, snapshot-index.html: Remove chill.
jsm28 [Tue, 21 May 2002 16:34:01 +0000 (16:34 +0000)]
* snapshot-README, snapshot-index.html: Remove chill.

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

18 years ago * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when
ghazi [Tue, 21 May 2002 15:39:31 +0000 (15:39 +0000)]
* rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when
disabling checking, and avoid multiple evaluation of RTX.

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

18 years ago* bitmap.c (bitmap_find_bit): Return early if we have the correct
rearnsha [Tue, 21 May 2002 14:46:01 +0000 (14:46 +0000)]
* bitmap.c (bitmap_find_bit): Return early if we have the correct
element cached.

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

18 years ago * profile.c (gen_edge_profiler): Set alias set before the memory is
hubicka [Tue, 21 May 2002 08:54:21 +0000 (08:54 +0000)]
* profile.c (gen_edge_profiler):  Set alias set before the memory is
used.

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

18 years ago2002-05-20 David S. Miller <davem@redhat.com>
davem [Tue, 21 May 2002 07:55:22 +0000 (07:55 +0000)]
2002-05-20  David S. Miller  <davem@redhat.com>

* cselib.c (max_value_regs): New.
(cselib_lookup, cselib_invalidate_regno): Initialize it when
adding new entries to the REG_VALUES table and we are dealing with
a hard register.
(clear_table): Initialize it.
(cselib_invalidate_regno): Use it to determine which hard
registers to scan when mode is not VOIDmode.

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

18 years agoDaily bump.
gccadmin [Tue, 21 May 2002 07:21:41 +0000 (07:21 +0000)]
Daily bump.

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

18 years ago2002-05-20 Duraid Madina <duraid@fl.net.au>
zack [Tue, 21 May 2002 06:36:40 +0000 (06:36 +0000)]
2002-05-20  Duraid Madina   <duraid@fl.net.au>

* tradcpp.c (fixup_newlines): Use old-style function header.

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

18 years ago * reload1.c (reload_cse_simplify): Fix typo in rtx code check.
rth [Tue, 21 May 2002 00:18:23 +0000 (00:18 +0000)]
    * reload1.c (reload_cse_simplify): Fix typo in rtx code check.

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

18 years ago2002-05-20 H.J. Lu (hjl@gnu.org)
hjl [Mon, 20 May 2002 22:43:31 +0000 (22:43 +0000)]
2002-05-20  H.J. Lu  (hjl@gnu.org)

Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:

* config/mips/mips.h (DFMODE_NAN): Defined.
(SFMODE_NAN): Likewise.

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

18 years agoBack out my previous patch; causes bootstrap problem for Ada (86 Linux)
dalej [Mon, 20 May 2002 18:20:45 +0000 (18:20 +0000)]
Back out my previous patch; causes bootstrap problem for Ada (86 Linux)

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

18 years ago * params.c: Fix formatting.
kazu [Mon, 20 May 2002 18:06:55 +0000 (18:06 +0000)]
* params.c: Fix formatting.
* params.h: Likewise.
* predict.c: Likewise.
* prefix.c: Likewise.
* print-rtl.c: Likewise.
* print-tree.c: Likewise.
* profile.c: Likewise.

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

18 years ago2002-05-20 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 20 May 2002 17:55:14 +0000 (17:55 +0000)]
2002-05-20  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/faq/index.html (5.4):  Recommend against -I options for
finding the ext headers.
* docs/html/faq/index.txt:  Regenerate.

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

18 years ago2002-05-20 H.J. Lu (hjl@gnu.org)
hjl [Mon, 20 May 2002 17:11:53 +0000 (17:11 +0000)]
2002-05-20  H.J. Lu  (hjl@gnu.org)

* gcc/config/mips/linux.h (SDB_DEBUGGING_INFO): Undefine.

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

18 years ago * config/arm/arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march
nickc [Mon, 20 May 2002 17:07:04 +0000 (17:07 +0000)]
* config/arm/arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march
    switches straight on to the assembler, do not abbreviate them.
    * config/arm/elf.h (ASM_SPEC): As above.
    * config/arm/semi.h (ASM_SPEC): As above.
    * config/arm/unknown-elf-oabi.h (ASM_SPEC): As above.
    * config/arm/xscale-coff.h (SUBTARGET_ASM_SPEC): Pass
    -mcpu=xscale on to the assembler by default.
    * config/arm/xscale-elf.h (SUBTARGET_ASM_SPEC): As above.

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

18 years ago * libF77/Makefile.in (SHELL): Set to @SHELL@.
ghazi [Mon, 20 May 2002 17:05:51 +0000 (17:05 +0000)]
* libF77/Makefile.in (SHELL): Set to @SHELL@.
* libI77/Makefile.in (SHELL): Likewise.
* libU77/Makefile.in (SHELL): Likewise.

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

18 years ago * cse.c (canon_hash): Reorder do_not_record test. Always
rth [Mon, 20 May 2002 16:59:03 +0000 (16:59 +0000)]
    * cse.c (canon_hash): Reorder do_not_record test.  Always
        allow pic_offset_table_rtx.

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

18 years ago * Makefile.in (SHELL): Set to @SHELL@.
ghazi [Mon, 20 May 2002 16:35:19 +0000 (16:35 +0000)]
* Makefile.in (SHELL): Set to @SHELL@.
(WARN_CFLAGS): New.
(ALL_CFLAGS): Add $(WARN_CFLAGS).

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

18 years ago * init.c (build_default_init): Remove unused variable.
aj [Mon, 20 May 2002 14:28:01 +0000 (14:28 +0000)]
* init.c (build_default_init): Remove unused variable.

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

18 years ago2002-05-20 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Mon, 20 May 2002 13:51:34 +0000 (13:51 +0000)]
2002-05-20  Toon Moene  <toon@moene.indiv.nluug.nl>

* Makefile.in: Use @SHELL@, not /bin/sh for SHELL
definition.

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

18 years ago * gcc.c-torture/execute/memcpy-2.c (SEQUENCE_LENGTH): Define.
amylaar [Mon, 20 May 2002 10:57:31 +0000 (10:57 +0000)]
* gcc.c-torture/execute/memcpy-2.c (SEQUENCE_LENGTH): Define.
(MAX_COPY): Bump up to 10 times sizeof (long long).
(main): Use a pattern of SEQUENCE_LENGTH different characters to copy.

* gcc.c-torture/execute/memset-1.c (MAX_COPY): Bump up to 10 times
sizeof (long long).

* gcc.c-torture/execute/strcpy-1.c: New test.

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

18 years ago* g++.dg/ext/oper1.C: New test.
aoliva [Mon, 20 May 2002 10:33:31 +0000 (10:33 +0000)]
* g++.dg/ext/oper1.C: New test.

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

18 years ago* call.c (any_strictly_viable): New.
aoliva [Mon, 20 May 2002 10:31:38 +0000 (10:31 +0000)]
* call.c (any_strictly_viable): New.
(build_new_op): Use it for COMPOUND_EXPR and ADDR_EXPRs.

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

18 years ago2002-05-19 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Mon, 20 May 2002 08:30:03 +0000 (08:30 +0000)]
2002-05-19  Toon Moene  <toon@moene.indiv.nluug.nl>

* optabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p.
(expand_binop): Ditto (3 times).

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

18 years ago * Makefile.in (distclean): Remove QMTest stuff.
mmitchel [Mon, 20 May 2002 07:22:30 +0000 (07:22 +0000)]
* Makefile.in (distclean): Remove QMTest stuff.
(QMTEST_PATH): New variable.
(QMTESTFLAGS): Likewise.
(QMTESTRUNFLAGS): Likewise.
(QMTEST): Likewise.
(QMTEST_GPP_TESTS): Likewise.
(QMTEST_DIR): Likewise.
(QMTEST_DIR/context): New target.
(qmtest-g++): Likeise.
(qmtest-gui): Likewise.
(QMTEST_DIR/gpp-expected.qmr): Likewise.

* README.QMTEST: New file.

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

18 years agoDaily bump.
gccadmin [Mon, 20 May 2002 07:17:25 +0000 (07:17 +0000)]
Daily bump.

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

18 years ago * g++.dg/warn/Wshadow-1.C: Remove unncessary dg-error line.
mmitchel [Mon, 20 May 2002 04:56:25 +0000 (04:56 +0000)]
* g++.dg/warn/Wshadow-1.C: Remove unncessary dg-error line.

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

18 years ago2002-05-19 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 20 May 2002 02:31:24 +0000 (02:31 +0000)]
2002-05-19  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.h (FUNCTION_VALUE): Only return vectors in
        an altivec register if TARGET_ALTIVEC.

        * config/rs600/rs6000.c (rs6000_emit_move): Change VECTOR_MODE_P
        to ALTIVEC_VECTOR_MODE.
        (rs6000_va_arg): Only vectors of type AltiVec are 16 byte aligned.
        (rs6000_va_arg): Vectors may go in registers if they are not
        altivec vectors.

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

18 years ago * protoize.c: Fix formatting.
kazu [Mon, 20 May 2002 01:47:50 +0000 (01:47 +0000)]
* protoize.c: Fix formatting.

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

18 years ago * gensupport.c (init_include_reader): Merge into ...
rth [Mon, 20 May 2002 01:17:14 +0000 (01:17 +0000)]
    * gensupport.c (init_include_reader): Merge into ...
        (process_include): ... here.  Simplify composite path creation.
        Plug memory leaks.  Fix file/line number tracking.  Do not
        process_define_cond_exec.  Return void.
        (process_rtx): Don't check process_include return value.

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

18 years ago * basic_block.h (struct basic_block_def): Added prev_bb and next_bb
rakdver [Sun, 19 May 2002 22:25:49 +0000 (22:25 +0000)]
* basic_block.h (struct basic_block_def): Added prev_bb and next_bb
fields.
(FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
traversing basic block chain.
(create_basic_block_structure, create_basic_block): Declaration changed.
(link_block, unlink_block): Declare.
* cfg.c (entry_exit_blocks): Initialize new fields.
(link_block, unlink_block): New.
(expunge_block_nocompact): Unlink basic block.
(dump_flow_info): Print prev_bb/next_bb fields.
* cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Modified.
* cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Modified.
* cfglayout.c (fixup_reorder_chain, cfg_layout_duplicate_bb): Modified.
* cfgrtl.c (create_basic_block_structure, create_basic_block,
split_block, force_nonfallthru_and_redirect, split_edge): Modified.
(verify_flow_info): Check that list agrees with numbering.

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

18 years ago * c-common.c (preprocessing_asm): New macro.
neil [Sun, 19 May 2002 21:53:53 +0000 (21:53 +0000)]
* c-common.c (preprocessing_asm): New macro.
* c-lex.h (builtin_define, builtin_assert): Use pfile.
doc:
* tm.texi: Update.
config/alpha:
* alpha.h (CPLUSPLUS_CPP_SPEC): Remove.
(CPP_SPEC): Simplify.
(TARGET_CPU_CPP_BUILTINS): Update.
* freebsd.h (TARGET_OS_CPP_BUILTINS): New.
(CPP_SPEC): Simplify.
* linux.h (CPLUSPLUS_CPP_SPEC): Remove.
(TARGET_OS_CPP_BUILTINS): Update.
* osf.h (CPP_XFLOAT_SPEC): Kill.
(TARGET_OS_CPP_BUILTINS): Update.
(CPP_SUBTARGET_SPEC, SUBTARGET_EXTRA_SPECS): Simplify.
* osf5.h (CPP_XFLOAT_SPEC): Kill.
* vms.h (CPP_SUBTARGET_SPEC): Kill.
(TARGET_OS_CPP_BUILTINS): Update.

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

18 years ago * gcc.c-torture/execute/loop-2c.x: Remove, the test should pass
aj [Sun, 19 May 2002 20:59:48 +0000 (20:59 +0000)]
* gcc.c-torture/execute/loop-2c.x: Remove, the test should pass
now.
* gcc.c-torture/execute/loop-2d.x: Likewise.

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

18 years ago * varasm.c (default_binds_local_p): Fix typo.
rth [Sun, 19 May 2002 20:17:50 +0000 (20:17 +0000)]
    * varasm.c (default_binds_local_p): Fix typo.

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

18 years ago * config/avr/avr.c (machine_dependent_reorg): Sign extend the
marekm [Sun, 19 May 2002 20:08:12 +0000 (20:08 +0000)]
* config/avr/avr.c (machine_dependent_reorg): Sign extend the
CONST_INT operand to the correct mode after adding 1 to it.

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

18 years ago * irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
mmitchel [Sun, 19 May 2002 17:36:14 +0000 (17:36 +0000)]
* irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
(GC_pthread_create): Fix typo.
(GC_TRY_LOCK): Likewise.
* include/private/gc_locks.h (GC_test_and_set): Only take one
one argument.
(LOCK): Adjust appropriately.
* include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if
_SIGRTMIN is unavailable.

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

18 years ago * config.gcc (powerpc-wrs-windiss*): New target.
mmitchel [Sun, 19 May 2002 17:17:34 +0000 (17:17 +0000)]
* config.gcc (powerpc-wrs-windiss*): New target.

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

18 years ago 2002-05-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Sun, 19 May 2002 17:10:49 +0000 (17:10 +0000)]
2002-05-19  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* config/rs6000/rs6000.md (ashrdi3_no_power): New.
(ashrdi3): Use it.

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

18 years ago * configure.in (AC_CHECK_FUNCS): Add checks for scandir and
mmitchel [Sun, 19 May 2002 16:25:51 +0000 (16:25 +0000)]
* configure.in (AC_CHECK_FUNCS): Add checks for scandir and
alphasort.
* config.in: Regenerated.
* configure: Regenerated.

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

18 years agoFix a typo in a comment in my last checkin.
ghazi [Sun, 19 May 2002 15:23:06 +0000 (15:23 +0000)]
Fix a typo in a comment in my last checkin.

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

18 years ago * error.c (dump_type) [TYPEOF_TYPE]: Fix parenthesis printing.
lerdsuwa [Sun, 19 May 2002 10:58:39 +0000 (10:58 +0000)]
* error.c (dump_type) [TYPEOF_TYPE]: Fix parenthesis printing.

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

18 years ago PR c++/186, DR 259
lerdsuwa [Sun, 19 May 2002 10:11:50 +0000 (10:11 +0000)]
PR c++/186, DR 259
* pt.c (do_decl_instantiation): Don't complain explicit
instantiation after explicit specialization.
(do_type_instantiation): Likewise.

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

18 years ago * target-def.h (TARGET_BINDS_LOCAL_P): New.
rth [Sun, 19 May 2002 09:50:27 +0000 (09:50 +0000)]
* target-def.h (TARGET_BINDS_LOCAL_P): New.
* target.h (struct gcc_target): Move boolean fields to the end.
Add binds_local_p.
* varasm.c (default_binds_local_p): New.
* output.h: Declare it.

* config/alpha/alpha.c (alpha_encode_section_info): Use the new hook.
* config/cris/cris.c (cris_encode_section_info): Likewise.
* config/i386/i386.c (i386_encode_section_info): Likewise.
* config/ia64/ia64.c (ia64_encode_section_info): Likewise.
* config/sh/sh.c (sh_encode_section_info): Likewise.

* doc/tm.texi (TARGET_IN_SMALL_DATA_P): New.
(TARGET_BINDS_LOCAL_P): New.

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

18 years ago2002-05-19 Paolo Carlini <pcarlini@unitus.it>
paolo [Sun, 19 May 2002 09:16:21 +0000 (09:16 +0000)]
2002-05-19  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/23_containers/deque_operators.cc (test01):
Fix minor typo in last commit.

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

18 years ago * system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE,
rth [Sun, 19 May 2002 08:31:53 +0000 (08:31 +0000)]
* system.h (BLOCK_PROFILER, BLOCK_PROFILER_CODE,
FUNCTION_BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER_EXIT,
MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Poison.

* toplev.c (display_help): Kill -a -ax help.

* config/1750a/1750a.h, config/alpha/alpha.h,
config/clipper/clipper.h, config/dsp16xx/dsp16xx.h,
config/h8300/h8300.h, config/i960/i960.h, config/m68k/tower-as.h,
config/m88k/m88k.h, config/vax/vax.h, config/we32k/we32k.h:
(FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Kill.

* libgcc2.c [L_bb] (BLOCK_PROFILER_CODE): Kill.
* config/m68k/sun3.h (BLOCK_PROFILER_CODE): Kill.

* config/i386/i386-protos.h (ix86_output_block_profiler): Kill.
(ix86_output_function_block_profiler): Kill.
* config/m68hc11/m68hc11.c (m68hc11_block_profiler): Kill.
(m68hc11_function_block_profiler): Kill.
* config/m68hc11/m68hc11-protos.h: Update.
* config/m88k/m88k.c (output_block_profiler): Kill.
(output_function_block_profiler): Kill.
* config/m88k/m88k-protos.h: Update.

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

18 years ago * system.h (STRIP_NAME_ENCODING): Poison it.
rth [Sun, 19 May 2002 07:55:48 +0000 (07:55 +0000)]
* system.h (STRIP_NAME_ENCODING): Poison it.
* output.h (STRIP_NAME_ENCODING): Remove.
(default_strip_name_encoding): Declare.
* target-def.h (TARGET_STRIP_NAME_ENCODING): New.
* target.h (strip_name_encoding): New.
* varasm.c (default_strip_name_encoding): New.

* dwarf2asm.c, varasm.c, config/darwin.c, config/darwin.h,
config/alpha/alpha.c, config/arm/pe.c, config/avr/avr.c,
config/cris/cris.c, config/i386/cygwin.h, config/i386/interix.c,
config/i386/winnt.c, config/m32r/m32r.h, config/mcore/mcore-elf.h,
config/mcore/mcore-pe.h, config/mcore/mcore.c, config/mcore/mcore.h,
config/mips/mips.c, config/mn10200/mn10200.h, config/mn10300/mn10300.h,
config/pa/pa.c, config/pa/pa.h, config/pa/som.h,
config/rs6000/rs6000.c, config/rs6000/sysv4.h, config/rs6000/xcoff.h,
config/v850/v850.h: Use the hook, not the macro.

* config/darwin-protos.h, config/darwin.c, config/darwin.h,
config/alpha/alpha.c, config/alpha/alpha.h, config/h8300/h8300.c,
config/h8300/h8300.h, config/i386/cygwin.h, config/i386/i386-interix.h,
config/i386/i386-protos.h, config/i386/win32.h, config/i386/winnt.c,
config/ia64/ia64.c, config/ia64/ia64.h, config/m32r/m32r.c,
config/m32r/m32r.h, config/mcore/mcore.c, config/mcore/mcore.h,
config/pa/pa.c, config/rs6000/rs6000.c, config/rs6000/sysv4.h,
config/rs6000/xcoff.h, config/sh/sh.c, config/sh/sh.h,
config/v850/v850.c, config/v850/v850.h:
Move STRIP_NAME_ENCODING to out-of-line function and add
TARGET_STRIP_NAME_ENCODING.

* config/arm/arm.c, config/arm/arm.h, config/mmix/mmix-protos.h,
config/mmix/mmix.c, config/mmix/mmix.h: Replace STRIP_NAME_ENCODING
with TARGET_STRIP_NAME_ENCODING referencing existing function;
make function static.

* xcoffout.c: Include target.h
* Makefile.in (xcoffout.o): Update.

* config/avr/avr.c (avr_encode_section_info): Correct prototype.
* config/avr/avr.h (STRIP_NAME_ENCODING): Remove.
* config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Mark
reloc argument unused.
* config/sh/sh.c (TARGET_ENCODE_SECTION_INFO): New.

* doc/tm.texi (TARGET_STRIP_NAME_ENCODING): Update from previous
STRIP_NAME_ENCODING docs.

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

18 years agoDaily bump.
gccadmin [Sun, 19 May 2002 07:21:50 +0000 (07:21 +0000)]
Daily bump.

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

18 years ago * gengenrtl.c: Add prototype for excluded_rtx.
aj [Sun, 19 May 2002 06:04:22 +0000 (06:04 +0000)]
* gengenrtl.c: Add prototype for excluded_rtx.

* real.h: Add prototype for exact_real_truncate.

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

18 years ago * system.h (ENCODE_SECTION_INFO): Poison it.
rth [Sun, 19 May 2002 05:23:27 +0000 (05:23 +0000)]
* system.h (ENCODE_SECTION_INFO): Poison it.
* target-def.h (TARGET_ENCODE_SECTION_INFO): New.
* target.h (encode_section_info): New.
* varasm.c (make_decl_rtl, output_constant_def): Use it.
* hooks.c (hook_tree_int_void): New.
* hooks.h: Declare it.

* config/darwin.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
config/alpha/alpha.h, config/arm/pe.h, config/avr/avr-protos.h,
config/avr/avr.c, config/avr/avr.h, config/c4x/c4x-protos.h,
config/c4x/c4x.c, config/c4x/c4x.h, config/cris/cris-protos.h,
config/cris/cris.c, config/cris/cris.h, config/i386/cygwin.h,
config/i386/win32.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
config/ia64/ia64.h, config/m32r/m32r-protos.h, config/m32r/m32r.c,
config/m32r/m32r.h, config/m68hc11/m68hc11-protos.h,
config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h,
config/mcore/mcore-protos.h, config/mcore/mcore.c,
config/mcore/mcore.h, config/mmix/mmix-protos.h, config/mmix/mmix.c,
config/mmix/mmix.h, config/rs6000/rs6000-protos.h,
config/rs6000/sysv4.h, config/stormy16/stormy16-protos.h,
config/stormy16/stormy16.c, config/stormy16/stormy16.h:
Replace ENCODE_SECTION_INFO with TARGET_ENCODE_SECTION_INFO
referencing existing function.  Make function static.

* config/a29k/a29k.c, config/a29k/a29k.h, config/arc/arc.c,
config/arc/arc.h, config/arm/arm.c, config/arm/arm.h,
config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
config/i370/i370.h, config/i386/i386-interix.h, config/i386/i386.c,
config/i386/i386.h, config/i386/interix.c, config/m88k/m88k.c,
config/m88k/m88k.h, config/mips/mips.c, config/mips/mips.h,
config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa.c,
config/pa/pa.h, config/romp/romp.c, config/romp/romp.h,
config/rs6000/linux64.h, config/rs6000/xcoff.h, config/s390/s390.c,
config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
config/sparc/sparc.c, config/sparc/sparc.h, config/v850/v850.c,
config/v850/v850.h, config/vax/vax.c, config/vax/vms.h,
config/xtensa/xtensa.c, config/xtensa/xtensa.h:
Move ENCODE_SECTION_INFO to out-of-line function and add
TARGET_ENCODE_SECTION_INFO.

* config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Use hook, not macro.
(ASM_DECLARE_OBJECT_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.

* config/arm/pe.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Rename
from SUBTARGET_*
(switch_to_section): Replace in_rdata case with in_readonly_data.

* config/h8300/h8300.c (h8300_encode_label): Make static.
* config/h8300/h8300-protos.h: Update.

* config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Rename
from rs6000_encode_section_info; make static.
(rs6000_xcoff_encode_section_info): New.

* config/v850/v850.c (v850_encode_data_area): Make static.
* config/v850/v850-protos.h: Update.

* config/vax/vax.c: Include flags.h.
(vms_select_section): Fix typo.

* doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update from previous
ENCODE_SECTION_INFO docs.

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

18 years ago* cp-tree.h (complete_type_or_diagnostic): Changed prototype,
aoliva [Sun, 19 May 2002 05:15:12 +0000 (05:15 +0000)]
* cp-tree.h (complete_type_or_diagnostic): Changed prototype,
renamed from...
(complete_type_or_else): ... this.  Redefined as macro.
(cxx_incomplete_type_diagnostic): Declare.
(cxx_incomplete_type_error): Define as macro.
* init.c (build_delete): Warn about incomplete types other than
void, and use the built-in operator delete for them.
* typeck.c (complete_type_or_diagnostic): Renamed from
complete_type_or_else.  Added warn_only argument, passed to...
* typeck2.c (cxx_incomplete_type_diagnostic): ... this.  Print
warnings or errors depending on new warn_only argument.  Renamed
from...
(cxx_incomplete_type_error): ... this.  New implementation in
terms of cxx_incomplete_type_diagnostic.

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

18 years ago * config.gcc: Do not use rs6000-c.c on powerpc-darwin.
rth [Sun, 19 May 2002 02:42:37 +0000 (02:42 +0000)]
    * config.gcc: Do not use rs6000-c.c on powerpc-darwin.

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

18 years ago * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from
rth [Sun, 19 May 2002 02:31:35 +0000 (02:31 +0000)]
    * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Rename from
        REGISTER_TARGET_PRAGMAS.
        * config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Redefine.

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

18 years ago2002-05-19 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Sun, 19 May 2002 01:20:53 +0000 (01:20 +0000)]
2002-05-19  David Billinghurst <David.Billinghurst@riotinto.com>

* gcc.dg/weak-2.c:  xfail warnings for platforms that don't
support weak symbols.
* gcc.dg/weak-4.c: Likewise
* gcc.dg/weak-6.c: Likewise

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

18 years ago * system.h (SELECT_RTX_SECTION): Poison.
rth [Sat, 18 May 2002 23:47:22 +0000 (23:47 +0000)]
* system.h (SELECT_RTX_SECTION): Poison.
* target-def.h (TARGET_ASM_SELECT_RTX_SECTION): New.
* target.h (select_rtx_section): New.
* varasm.c (output_constant_pool): Use it.
(default_select_rtx_section, default_elf_select_rtx_section): New.
* output.h: Declare them.

* config/darwin.h (SELECT_RTX_SECTION): Move ...
* config/darwin.c (machopic_select_rtx_section): ... here.
* config/darwin-protos.h: Update.

* config/nextstep.h (SELECT_RTX_SECTION): Move ...
* config/nextstep.c (machopic_select_rtx_section): ... here.
(nextstep_select_section): Rename variable to avoid macro clash.
* config/nextstep-protos.h: Update.

* config/elfos.h, config/svr3.h, config/arm/aof.h, config/c4x/c4x.h,
config/i386/dgux.h, config/i386/osfrose.h, config/i386/sco5.h,
config/i386/svr3gas.h, config/i860/paragon.h, config/ia64/aix.h,
config/m32r/m32r.h, config/m68k/dpx2.h, config/m68k/lynx.h,
config/m68k/m68k.h, config/m68k/tower-as.h, config/m88k/dgux.h,
config/mcore/mcore-pe.h, config/mips/mips.h, config/mmix/mmix.h,
config/pa/pa-linux.h, config/pa/pa.h, config/romp/romp.h,
config/rs6000/lynx.h, config/rs6000/sysv4.h, config/s390/linux.h,
config/sparc/sysv4.h, config/xtensa/elf.h, config/xtensa/linux.h
(SELECT_RTX_SECTION): Remove.

* config/darwin.h, config/elfos.h, config/nextstep.h,
config/ia64/aix.h, config/ia64/sysv4.h, config/alpha/alpha.c,
config/mips/mips.c, config/romp/romp.c, config/rs6000/sysv4.h,
config/rs6000/xcoff.h, config/s390/s390.c, config/sparc/aout.h,
config/sparc/lynx.h, config/xtensa/xtensa.c
(TARGET_ASM_SELECT_RTX_SECTION): New.

* config/alpha/elf.h (SELECT_RTX_SECTION): Move ...
* config/alpha/alpha.c (alpha_elf_select_rtx_section): ... here.
* config/ia64/sysv4.h (SELECT_RTX_SECTION): Move ...
* config/ia64/ia64.c (ia64_select_rtx_section): ... here.
(ia64_aix_select_rtx_section): New.
* config/mips/iris6.h (READONLY_DATA_SECTION_ASM_OP): Undef before
redefining.
* config/mips/mips.c (mips_select_rtx_section): Make static.
Support ELF SHF_MERGE features.
* config/mips/mips-protos.h: Update.
* config/rs6000/xcoff.h (SELECT_RTX_SECTION): Move ...
* config/rs6000/rs6000.c (rs6000_xcoff_select_rtx_section): ... here.
(rs6000_elf_select_rtx_section): Rename from rs6000_select_rtx_section;
make static, fall back to default_elf_select_rtx_section.
* config/rs6000/rs6000-protos.h: Update.
* config/sparc/sparc.h (SELECT_RTX_SECTION): Move ...
* config/sparc/sparc.c (sparc_aout_select_rtx_section): ... here.
* config/sparc/sunos4.h (on_exit): Declare only if IN_LIBGCC2.
* config/romp/romp.c (romp_select_rtx_section): New.
* config/s390/s390.c (s390_select_rtx_section): New.
* config/xtensa/xtensa.c: Include output.h.  Shuffle local function
declarations before target macro definition.
(xtensa_emit_call): Use static buffer.
(xtensa_select_rtx_section): New.
* config/xtensa/xtensa.h (MAX_INT_TYPE_SIZE): Remove.
(IMPLICIT_FIX_EXPR, EASY_DIV_EXPR): Remove.
(ASM_OUTPUT_POOL_PROLOGUE): Update call to resolve_unique_section.

* doc/tm.texi (TARGET_ASM_SELECT_RTX_SECTION): Update from
SELECT_RTX_SECTION docs.

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

18 years ago.info build fix, add flag needed by c-common.c
timjosling [Sat, 18 May 2002 23:29:36 +0000 (23:29 +0000)]
.info build fix, add flag needed by c-common.c

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

18 years ago * i386.md (movsi/movdi): Fix template.
hubicka [Sat, 18 May 2002 22:26:33 +0000 (22:26 +0000)]
* i386.md (movsi/movdi): Fix template.
(sse2 patterns): Set attributes consistently.

* i386.md (pushqi2, ashrqi_*): Fix constraint.

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

18 years ago2002-05-18 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sat, 18 May 2002 19:45:18 +0000 (19:45 +0000)]
2002-05-18  Toon Moene  <toon@moene.indiv.nluug.nl>

* optabs.c (complex_part_zero_p): New.
* (expand_cmplxdiv_straight): Use it.
* (expand_cmplxdiv_wide): Ditto.
* (expand_binop): Ditto.

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

18 years ago * final.c (HAVE_READONLY_DATA_SECTION): New.
rth [Sat, 18 May 2002 19:27:52 +0000 (19:27 +0000)]
* final.c (HAVE_READONLY_DATA_SECTION): New.
(shorten_branches): Use it instead of ifdefs.
* varasm.c (enum in_section): Add in_readonly_data.
(text_section, data_section): Tidy.
(readonly_data_section): Use READONLY_DATA_SECTION_ASM_OP if present.

* config/darwin.h, config/nextstep.h, config/h8300/elf.h,
config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h
(READONLY_DATA_SECTION): Don't undef.

* config/alpha/unicosmk.h, config/h8300/elf.h, config/i386/aix386ng.h,
config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h,
config/rs6000/lynx.h (READONLY_DATA_SECTION_ASM_OP): Undef.

* config/elfos.h, config/svr3.h, config/alpha/alpha-interix.h,
config/alpha/elf.h, config/c4x/c4x.h, config/i386/i386-interix.h,
config/i386/sco5.h, config/i386/svr3gas.h, config/i860/sysv3.h,
config/m88k/m88k.h, config/pa/pa64-hpux.h (USE_CONST_SECTION): Remove.

* config/elfos.h, config/netware.h, config/alpha/alpha-interix.h,
config/alpha/elf.h, config/alpha/vms.h, config/arc/arc.h,
config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
config/i386/dgux.h, config/i386/i386-interix.h, config/i386/sco5.h,
config/ia64/hpux.h, config/m32r/m32r.h, config/m68k/tower-as.h,
config/m88k/m88k.h, config/mcore/mcore-pe.h, config/mips/iris6.h,
config/mips/mips.h, config/mmix/mmix.h, config/pa/pa64-hpux.h,
config/sparc/sysv4.h (READONLY_DATA_SECTION_ASM_OP): Rename from
CONST_SECTION_ASM_OP/READONLY_SECTION_ASM_OP/RDATA_SECTION_ASM_OP.

* config/elfos.h, config/netware.h, config/1750a/1750a.h,
config/a29k/a29k.h, config/alpha/alpha-interix.h, config/alpha/alpha.h,
config/arm/coff.h, config/h8300/h8300.h, config/i386/aix386ng.h,
config/i386/i386-interix.h, config/i386/osfrose.h, config/mmix/mmix.h,
config/pa/pa64-hpux.h, config/sparc/litecoff.h
(EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.

* config/elfos.h, config/netware.h, config/svr3.h,
config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
config/h8300/h8300.h, config/i386/i386-interix.h,
config/i386/osfrose.h, config/i386/svr3gas.h, config/mmix/mmix.h,
config/pa/pa64-hpux.h (READONLY_DATA_SECTION): Remove.

* config/elfos.h, config/netware.h, config/svr3.h,
config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
config/c4x/c4x.h, config/i386/aix386ng.h, config/i386/i386-interix.h,
config/i386/sco5.h, config/i386/svr3gas.h, config/mmix/mmix.h,
config/pa/pa64-hpux.h (CONST_SECTION_FUNCTION): Remove.

* config/lynx.h, config/svr3.h, config/alpha/elf.h, config/alpha/vms.h,
config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, config/i386/sco5.h,
config/i386/svr3gas.h, config/i860/sysv3.h, config/i860/sysv4.h,
config/ia64/sysv4.h, config/m32r/m32r.h, config/m88k/m88k.h,
config/mcore/mcore-elf.h, config/mcore/mcore-pe.h, config/mips/elf.h,
config/mips/elf64.h, config/mips/iris6.h, config/mips/linux.h,
config/mips/mips.h, config/mips/rtems64.h, config/mips/vxworks.h,
config/rs6000/sysv4.h, config/v850/v850.h
(EXTRA_SECTIONS): Remove in_const/in_rdata.
(EXTRA_SECTION_FUNCTIONS): Remove accompanying function.

* config/svr3.h, config/c4x/c4x.h, config/i386/dgux.h,
config/i386/sco5.h, config/i386/svr3gas.h, config/ia64/aix.h,
config/m88k/dgux.h, config/mcore/mcore-pe.h, config/mmix/mmix.h,
config/sparc/sysv4.h (SELECT_RTX_SECTION): Use readonly_data_section.
* config/alpha/alpha.c (alpha_start_function): Likewise.
(alpha_write_linkage): Likewise.
* config/m32r/m32r.c (m32r_select_section): Likewise.
* config/m88k/m88k.c (m88k_select_section): Likewise.
* config/mips/mips.c (mips_select_rtx_section): Likewise.
* config/rs6000/rs6000.c (rs6000_select_rtx_section): Likewise.
(rs6000_elf_select_section): Likewise.
* config/v850/v850.c (v850_select_section): Likewise.

* config/1750a/1750a.h, config/i860/sysv3.h
(READONLY_DATA_SECTION_ASM_OP): New.
READONLY_DATA_SECTION_ASM_OP.
* config/i386/interix.c, config/i386/winnt.c
(i386_pe_unique_section): Always use .rdata prefix.
* config/pa/som.h (readonly_data): Always switch to read-only section.
(READONLY_DATA_SECTION): Predicate on flag_pic.
* config/we32k/we32k.h (READONLY_DATA_SECTION): Remove parenthesis.
* doc/tm.texi (READONLY_DATA_SECTION_ASM_OP): New.
(READONLY_DATA_SECTION): Update.

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

18 years ago* c-common.c (c_common_post_options): Warn if -Wformat-zero-length
thorpej [Sat, 18 May 2002 19:02:03 +0000 (19:02 +0000)]
* c-common.c (c_common_post_options): Warn if -Wformat-zero-length
is used without -Wformat.
* c-common.h (warn_format_zero_length): Declare extern.
* c-decl.c (warn_options): Add "format-zero-length".
* c-format.c (warn_format_zero_length): Declare.
(set_Wformat): Set warn_format_zero_length for -Wformat.
(check_format_info): Only warn about zero-length formats if
warn_format_zero_length is true.  Include the format type
name in the warning message.
* doc/invoke.texi: Document -Wformat-zero-length.
* testsuite/gcc.dg/format/zero-length-1.c: New test.

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

18 years ago * timevar.c: Fix formatting.
kazu [Sat, 18 May 2002 15:16:25 +0000 (15:16 +0000)]
* timevar.c: Fix formatting.
* tlink.c: Likewise.
* toplev.c: Likewise.
* tree-dump.c: Likewise.
* tree-inline.c: Likewise.

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

18 years ago2002-05-18 Paolo Carlini <pcarlini@unitus.it>
paolo [Sat, 18 May 2002 15:10:24 +0000 (15:10 +0000)]
2002-05-18  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/6503
* include/bits/stl_deque.h (_Deque_iterator::operator==,
operator!=, operator<, operator>, operator>=, operator<=):
Make non-member functions, to allow comparing const and
non-const iterators in any order.
* testsuite/23_containers/deque_operators.cc: New testfile.

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

18 years agofix typo
jason [Sat, 18 May 2002 14:54:19 +0000 (14:54 +0000)]
fix typo

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

18 years ago * cppinit.c (cpp_post_options): If preprocessed, turn off
neil [Sat, 18 May 2002 08:23:20 +0000 (08:23 +0000)]
* cppinit.c (cpp_post_options): If preprocessed, turn off
traditional.  If traditional, turn off column numbers.
* cpplib.c (cpp_push_buffer): Lex from stage 3 if traditional.
* cpptrad.c (handle_newline): Update line_base.
(skip_comment): Handle -Wcomment.

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

18 years agoDaily bump.
gccadmin [Sat, 18 May 2002 07:16:50 +0000 (07:16 +0000)]
Daily bump.

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

18 years ago * decl2.c (import_export_decl): If we clear
jason [Sat, 18 May 2002 04:47:31 +0000 (04:47 +0000)]
    * decl2.c (import_export_decl): If we clear
        DECL_NOT_REALLY_EXTERN, make sure DECL_EXTERNAL is set.

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

18 years ago * cppinit.c (struct builtin): Remove unused fields.
zack [Sat, 18 May 2002 00:43:13 +0000 (00:43 +0000)]
* cppinit.c (struct builtin): Remove unused fields.
(CPLUS, BUILTIN, OPERATOR, O, builtin_array_end): Kill.
(operator_array): New - was second half of builtin_array.
(init_builtins): Simplify loop over builtin_array/operator_array.

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

18 years ago * defaults.h (UNIQUE_SECTION): Remove.
neil [Fri, 17 May 2002 23:25:19 +0000 (23:25 +0000)]
* defaults.h (UNIQUE_SECTION): Remove.
* system.h (UNIQUE_SECTION, SELECT_SECTION): Poison.

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

18 years ago * expr.c (init_expr_once): Don't use start/end_sequence.
rth [Fri, 17 May 2002 22:46:22 +0000 (22:46 +0000)]
    * expr.c (init_expr_once): Don't use start/end_sequence.
        Use rtx_alloc instead of emit_insn.
        * toplev.c (lang_dependent_init): Run init_expr_once here ...
        (lang_independent_init): ... not here.

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

18 years ago* config/sh/lib1funcs.asm (GLOBAL): Use __USER_LABEL_PREFIX__.
thorpej [Fri, 17 May 2002 21:05:32 +0000 (21:05 +0000)]
* config/sh/lib1funcs.asm (GLOBAL): Use __USER_LABEL_PREFIX__.

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

18 years ago * config/avr/avr.c (avr_regs_to_save): New function. Also check
marekm [Fri, 17 May 2002 20:19:47 +0000 (20:19 +0000)]
* config/avr/avr.c (avr_regs_to_save): New function.  Also check
for fixed registers, possibly used for global register variables.
(initial_elimination_offset, avr_output_function_prologue,
avr_output_function_epilogue):  Move common code to avr_regs_to_save.

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

18 years ago * Makefile.in: Update for cpptrad.c.
neil [Fri, 17 May 2002 20:16:48 +0000 (20:16 +0000)]
* Makefile.in: Update for cpptrad.c.
* cpphash.h (struct cpp_buffer): New members for buffer
overlays.
(struct cpp_reader): New members for traditional output.
(_cpp_read_logical_line, _cpp_overlay_buffer): New.
* cppinit.c (cpp_create_reader): Set trad_line.
(cpp_destroy): Free trad_out_base if used.
(cpp_read_main_file): Overlay an empty buffer if traditional.
(cpp_finish_options): Don't do builtins.
(COMMAND_LINE_OPTIONS): Add -traditional-cpp.
(cpp_handle_option): Handle it.
* cpplex.c (continue_after_nul): New.
(_cpp_lex_direct): Use handle_nul.
* cpplib.h (struct cpp_options): New traditional option.
* cpptrad.c: New file.

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

18 years ago * c-common.c (c_common_init_options): Use C89 for Objective-C,
neil [Fri, 17 May 2002 19:37:43 +0000 (19:37 +0000)]
* c-common.c (c_common_init_options): Use C89 for Objective-C,
and set the options flag.
* cppinit.c (lang_flags): Remove objc.
(lang_defaults): Remove OBJC and OBJCXX.
(set_lang): Update.
(COMMAND_LINE_OPTIONS): Remove -+ and -lang-objc++.
(cpp_handle_option): Remove -+ and -lang-objc++.
For ObjC, just set a flag.
(print_help): Update.
* cpplib.h (enum c_lang): Remove CLK_OBJC and CLK_OBJCXX.

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

18 years ago * doc/install.texi (Specific, mips-sgi-irix6): Document need to
ro [Fri, 17 May 2002 19:04:36 +0000 (19:04 +0000)]
* doc/install.texi (Specific, mips-sgi-irix6): Document need to
bootstrap with -mips3.

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

18 years ago * final.c: Fix formatting.
kazu [Fri, 17 May 2002 18:07:01 +0000 (18:07 +0000)]
* final.c: Fix formatting.
* fix-header.c: Likewise.
* flow.c: Likewise.
* fold-const.c: Likewise.
* function.c: Likewise.

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

18 years ago2002-05-17 David S. Miller <davem@redhat.com>
davem [Fri, 17 May 2002 17:01:06 +0000 (17:01 +0000)]
2002-05-17  David S. Miller  <davem@redhat.com>

PR c/6689, PR optimization/6615
* local-alloc.c (struct equivalence): Rename 'src' to 'src_p'
and make it a pointer to rtx.  Update comments.
(update_equiv_regs): When scanning for equivalences, record
address of SET_SRC (set) in reg_equiv[].src_p.  Dereference
it while making the equiv replacements.

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