Commit Graph

42987 Commits

Author SHA1 Message Date
Phil Edwards 844f9ba6ad stdio_filebuf.h: Add header guards.
2002-05-21  Phil Edwards  <pme@gcc.gnu.org>

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

From-SVN: r53699
2002-05-21 20:53:36 +00:00
Phil Edwards 59f801a0dc user.cfg.in (EXCLUDE): Add 'CVS'.
2002-05-21  Phil Edwards  <pme@gcc.gnu.org>

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

From-SVN: r53698
2002-05-21 20:45:00 +00:00
Zdenek Dvorak d29146f290 Changelog entry for my commit.
From-SVN: r53697
2002-05-21 20:41:32 +00:00
Phil Edwards e4c62b265d stl_vector.h: Reformat to follow C++STYLE.
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.

From-SVN: r53696
2002-05-21 20:41:06 +00:00
Zdenek Dvorak f6366fc7ad bb-reorder.c (make_reorder_chain_1): Modified.
* 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.

From-SVN: r53695
2002-05-21 20:37:43 +00:00
Andreas Jaeger 68bd6dd688 * cppinit.c (sanity_checks): Avoid printf mismatch warnings.
From-SVN: r53694
2002-05-21 22:09:00 +02:00
Richard Henderson 35a76aacf6 reg-stack.c (swap_rtx_condition, [...]): Use unspec names, not numbers.
* reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use
        unspec names, not numbers.

From-SVN: r53693
2002-05-21 12:57:39 -07:00
Brian R. Gaeke 32d3f6346a * g++.dg/other/copy2.C: New test.
From-SVN: r53692
2002-05-21 17:26:50 +00:00
Alexandre Oliva c8a3d8890e init.c (build_vec_init): Test for trivial copy-assignment when copy-assigning arrays.
* init.c (build_vec_init): Test for trivial copy-assignment when
copy-assigning arrays.

From-SVN: r53691
2002-05-21 17:26:18 +00:00
Joseph Myers 2870428fc8 sourcebuild.texi: Mention snapshot-README and snapshot-index.html as needing updating for new...
* doc/sourcebuild.texi: Mention snapshot-README and
	snapshot-index.html as needing updating for new front ends.

From-SVN: r53690
2002-05-21 17:51:05 +01:00
Joseph Myers 67aaa4819f * gcc_release: Do upload files when local.
From-SVN: r53689
2002-05-21 17:36:11 +01:00
Joseph Myers 5302a25df1 * snapshot-README, snapshot-index.html: Remove chill.
From-SVN: r53688
2002-05-21 17:34:01 +01:00
Kaveh R. Ghazi b0ad77d518 rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when disabling checking, and avoid multiple evaluation of RTX.
* rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when
	disabling checking, and avoid multiple evaluation of RTX.

From-SVN: r53687
2002-05-21 15:39:31 +00:00
Richard Earnshaw 279be7c8be bitmap.c (bitmap_find_bit): Return early if we have the correct element cached.
* bitmap.c (bitmap_find_bit): Return early if we have the correct
element cached.

From-SVN: r53686
2002-05-21 14:46:01 +00:00
Jan Hubicka 193a563a8b profile.c (gen_edge_profiler): Set alias set before the memory is used.
* profile.c (gen_edge_profiler):  Set alias set before the memory is
	used.

From-SVN: r53685
2002-05-21 08:54:21 +00:00
David S. Miller 31825e5755 cselib.c (max_value_regs): New.
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.

From-SVN: r53684
2002-05-21 00:55:22 -07:00
GCC Administrator 74e5c1f4ec Daily bump.
From-SVN: r53683
2002-05-21 07:21:41 +00:00
Duraid Madina 29d83d60cd tradcpp.c (fixup_newlines): Use old-style function header.
2002-05-20  Duraid Madina   <duraid@fl.net.au>

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

From-SVN: r53677
2002-05-21 06:36:40 +00:00
Krister Walfridsson e0a09fda9d * reload1.c (reload_cse_simplify): Fix typo in rtx code check.
From-SVN: r53675
2002-05-20 17:18:23 -07:00
H.J. Lu e0c13c70e2 Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:
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.

From-SVN: r53674
2002-05-20 15:43:31 -07:00
Dale Johannesen 4c11675d61 Back out my previous patch; causes bootstrap problem for Ada (86 Linux)
From-SVN: r53671
2002-05-20 18:20:45 +00:00
Kazu Hirata 6a4d67604e params.c: Fix formatting.
* params.c: Fix formatting.
	* params.h: Likewise.
	* predict.c: Likewise.
	* prefix.c: Likewise.
	* print-rtl.c: Likewise.
	* print-tree.c: Likewise.
	* profile.c: Likewise.

From-SVN: r53670
2002-05-20 18:06:55 +00:00
Phil Edwards fe1cc883cd index.html (5.4): Recommend against -I options for finding the ext headers.
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.

From-SVN: r53669
2002-05-20 17:55:14 +00:00
H.J. Lu 5715ca64e9 linux.h (SDB_DEBUGGING_INFO): Undefine.
2002-05-20  H.J. Lu  (hjl@gnu.org)

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

From-SVN: r53668
2002-05-20 10:11:53 -07:00
Nick Clifton 00b89f0133 arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march switches straight on to the assembler, do not abbreviate them.
* 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.

From-SVN: r53667
2002-05-20 17:07:04 +00:00
Kaveh R. Ghazi 4d426f4e46 Makefile.in (SHELL): Set to @SHELL@.
* libF77/Makefile.in (SHELL): Set to @SHELL@.
	* libI77/Makefile.in (SHELL): Likewise.
	* libU77/Makefile.in (SHELL): Likewise.

From-SVN: r53666
2002-05-20 17:05:51 +00:00
Richard Henderson 1441374bc9 cse.c (canon_hash): Reorder do_not_record test.
* cse.c (canon_hash): Reorder do_not_record test.  Always
        allow pic_offset_table_rtx.

From-SVN: r53665
2002-05-20 09:59:03 -07:00
Kaveh R. Ghazi 9aa338ece2 Makefile.in (SHELL): Set to @SHELL@.
* Makefile.in (SHELL): Set to @SHELL@.
	(WARN_CFLAGS): New.
	(ALL_CFLAGS): Add $(WARN_CFLAGS).

From-SVN: r53662
2002-05-20 16:35:19 +00:00
Andreas Jaeger 500abaa854 * init.c (build_default_init): Remove unused variable.
From-SVN: r53660
2002-05-20 16:28:01 +02:00
Toon Moene ffd56a64d7 Makefile.in: Use @SHELL@, not /bin/sh for SHELL definition.
2002-05-20  Toon Moene  <toon@moene.indiv.nluug.nl>

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

From-SVN: r53659
2002-05-20 13:51:34 +00:00
J"orn Rennecke 02116b3dec memcpy-2.c (SEQUENCE_LENGTH): Define.
* 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.

From-SVN: r53658
2002-05-20 11:57:31 +01:00
David Billinghurst b3f47c787c * g++.dg/ext/oper1.C: New test.
From-SVN: r53657
2002-05-20 10:33:31 +00:00
Alexandre Oliva ecc42c14a7 call.c (any_strictly_viable): New.
* call.c (any_strictly_viable): New.
(build_new_op): Use it for COMPOUND_EXPR and ADDR_EXPRs.

From-SVN: r53656
2002-05-20 10:31:38 +00:00
Toon Moene c0fe508e8b optabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p.
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).

From-SVN: r53655
2002-05-20 08:30:03 +00:00
Mark Mitchell f362c7623d Makefile.in (distclean): Remove QMTest stuff.
* 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.

From-SVN: r53654
2002-05-20 07:22:30 +00:00
GCC Administrator 8b46e4a5d4 Daily bump.
From-SVN: r53653
2002-05-20 07:17:25 +00:00
Mark Mitchell 851c06dd46 * g++.dg/warn/Wshadow-1.C: Remove unncessary dg-error line.
From-SVN: r53648
2002-05-20 04:56:25 +00:00
Aldy Hernandez 16861f33d2 rs6000.h (FUNCTION_VALUE): Only return vectors in an altivec register if TARGET_ALTIVEC.
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.

From-SVN: r53645
2002-05-20 02:31:24 +00:00
Kazu Hirata 23459e152d * protoize.c: Fix formatting.
From-SVN: r53644
2002-05-20 01:47:50 +00:00
Richard Henderson 174cc7d127 gensupport.c (init_include_reader): Merge into ...
* 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.

From-SVN: r53643
2002-05-19 18:17:14 -07:00
Zdenek Dvorak 918ed612a1 basic_block.h (struct basic_block_def): Added prev_bb and next_bb fields.
* 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.

From-SVN: r53642
2002-05-19 22:25:49 +00:00
Neil Booth e0322d5ca5 c-common.c (preprocessing_asm): New macro.
* 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.

From-SVN: r53641
2002-05-19 21:53:53 +00:00
Andreas Jaeger e3227f2c44 loop-2c.x: Remove, the test should pass now.
* gcc.c-torture/execute/loop-2c.x: Remove, the test should pass
	now.
	* gcc.c-torture/execute/loop-2d.x: Likewise.

From-SVN: r53640
2002-05-19 22:59:48 +02:00
Richard Henderson 121f5c2c13 * varasm.c (default_binds_local_p): Fix typo.
From-SVN: r53639
2002-05-19 13:17:50 -07:00
Marek Michalkiewicz 651c5ed94a avr.c (machine_dependent_reorg): Sign extend the CONST_INT operand to the correct mode after adding 1 to it.
* config/avr/avr.c (machine_dependent_reorg): Sign extend the
	CONST_INT operand to the correct mode after adding 1 to it.

From-SVN: r53638
2002-05-19 20:08:12 +00:00
Mark Mitchell 61039cd09e irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
* 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.

From-SVN: r53636
2002-05-19 17:36:14 +00:00
Mark Mitchell bce0deb2b6 * config.gcc (powerpc-wrs-windiss*): New target.
From-SVN: r53635
2002-05-19 17:17:34 +00:00
Franz Sirl 4aa74a4f5a rs6000.md (ashrdi3_no_power): New.
2002-05-19  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

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

From-SVN: r53634
2002-05-19 17:10:49 +00:00
Mark Mitchell a15135c91a configure.in (AC_CHECK_FUNCS): Add checks for scandir and alphasort.
* configure.in (AC_CHECK_FUNCS): Add checks for scandir and
	alphasort.
	* config.in: Regenerated.
	* configure: Regenerated.

From-SVN: r53633
2002-05-19 16:25:51 +00:00
Kaveh Ghazi a1ab4696ab Fix a typo in a comment in my last checkin.
From-SVN: r53631
2002-05-19 15:23:06 +00:00