Commit Graph

26048 Commits

Author SHA1 Message Date
Kaveh R. Ghazi
2b046bda6e arc-protos.h: New file.
* arc-protos.h: New file.

	* arc.c: Include tm_p.h.  Add static prototypes.  Fix compile
	time warnings.

	* arc.h: Move prototypes to arc-protos.h.  Fix compile time
	warnings.

	* arc.md: Likewise.

From-SVN: r31417
2000-01-14 16:21:46 +00:00
Kaveh R. Ghazi
699851185a dsp16xx-protos.h: New file.
* dsp16xx-protos.h: New file.

	* dsp16xx.c: Include tm_p.h.  Add static prototypes.  Fix compile
	time warnings.

	* dsp16xx.h: Move prototypes to dsp16xx-protos.h.  Fix compile time
	warnings.

	* dsp16xx.md: Likewise.

From-SVN: r31416
2000-01-14 16:16:46 +00:00
Kaveh R. Ghazi
6b995286d6 convex-protos.h: New file.
* convex-protos.h: New file.

	* convex.c: Include tm_p.h.  Add static prototypes.  Fix compile
	time warnings.

	* convex.h: Move prototypes to convex-protos.h.  Fix compile time
	warnings.

From-SVN: r31415
2000-01-14 16:04:32 +00:00
Kaveh R. Ghazi
ab52604591 elxsi-protos.h: New file.
* elxsi-protos.h: New file.

	* elxsi.c: Include tm_p.h.  Add static prototypes.  Fix compile
	time warnings.

	* elxsi.h: Move prototypes to elxsi-protos.h.  Fix compile time
	warnings.

	* elxsi.md: Likewise.

From-SVN: r31414
2000-01-14 16:00:37 +00:00
Clinton Popetz
4790d87842 mips.h (REGISTER_MOVE_COST): Remove redundant case for moving from HI/LO/HI_LO_REG.
* config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
        case for moving from HI/LO/HI_LO_REG.  This makes the behavior
        match the comment for MIPS16.

From-SVN: r31413
2000-01-14 09:31:43 -05:00
Gabriel Dos Reis
eff3ac4619 Commit the change corresponding to the ChangeLog entry:
2000-01-12  Gabriel Dos Reis  <gdr@codesourcery.com>

From-SVN: r31412
2000-01-14 11:51:14 +00:00
Nathan Sidwell
084871173a Commit ChangeLog entries 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com> corresponding to commit of configure.in 1.324...
Commit ChangeLog entries 2000-01-13  Nathan Sidwell  <sidwell@codesourcery.com>
corresponding to commit of configure.in 1.324, acconfig.h 1.41,
Makefile.in 1.364, cp/g++spec.c 1.19, cp/Make-lang.in 1.42
ChangeLog:
	* configure.in (--enable-new-gxx-abi): New option.
	* acconfig.h (ENABLE_NEW_GXX_ABI): New define.
	* Makefile.in (GXX_ABI_FLAG): New variable.
	* configure: Regenerate.
cp/ChangeLog:
	* g++spec.c (lang_specific_driver): Add -fnew-abi if
	ENABLE_NEW_GXX_ABI defined.
	* Make-lang.in (tinfo.o, tinfo2.o, exception.o, new.o,
	opnew.o, opnewnt.o, opvnew.o, opvnewnt.o, opdel.o, opdelnt.o,
	opvdel.o, opvdelnt.o): Use GXX_ABI_FLAG switch.

From-SVN: r31411
2000-01-14 11:22:56 +00:00
Jeffrey A Law
414094ded1 flow.c (split_edge): Do not call set_block_for_insn if we do not have a basic_block_for_insn structure.
* flow.c (split_edge): Do not call set_block_for_insn if we
        do not have a basic_block_for_insn structure.

From-SVN: r31410
2000-01-14 04:21:22 -07:00
Jeffrey A Law
254a8f0dbe fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain and destination functions are 32bit aligned...
* fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
        and destination functions are 32bit aligned within the trampoline.
        (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
        (TRAMPOLINE_ALIGNMENT): Define.

From-SVN: r31409
2000-01-14 02:28:10 -07:00
Jeff Law
b2eadaa201 Daily bump.
From-SVN: r31408
2000-01-14 01:45:06 -07:00
Jeffrey A Law
516ff948a7 cse.c (cse_insn): When changing (set (pc) (reg)) to (set (pc) (label_ref))...
* cse.c (cse_insn): When changing (set (pc) (reg)) to
        (set (pc) (label_ref)), verify the change creates a valid insn.

From-SVN: r31407
2000-01-14 01:35:56 -07:00
Jeff Law
66ec088841 Copyright dates.
From-SVN: r31406
2000-01-14 01:21:53 -07:00
Jeffrey A Law
6e11d5e9ae fr30.c (call_operand): Tighten and rework to match rules for call RTL expressions.
* fr30.c (call_operand): Tighten and rework to match rules for
        call RTL expressions.
        * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
        * fr30.md (call patterns): Improve constraints.

From-SVN: r31405
2000-01-14 00:29:20 -07:00
Richard Henderson
c99df6842d fr30.c (fr30_expand_epilogue): Revert last change.
* fr30.c (fr30_expand_epilogue): Revert last change.
        Use emit_jump_insn for the return insn.

From-SVN: r31404
2000-01-13 23:45:23 -07:00
Mark Mitchell
1c2278974c pt.c (tsubst_friend_function): Improve comment.
* pt.c (tsubst_friend_function): Improve comment.
	(instantiate_decl): Avoid crashing when a "nested" function is
	instantiated from the top level.

From-SVN: r31403
2000-01-14 05:45:52 +00:00
Jason Eckhardt
f1ebdfc52a predict.c: New file.
Thu Jan 13 14:46:03 2000  Jason Eckhardt  <jle@cygnus.com>
                          Stan Cox  <scox@cygnus.com>

	* predict.c: New file. Preliminary infrastructure work for static
	branch prediction and basic block reordering.
	* basic-block.h: Add prototype for estimate_probability.
	* Makefile.in: Add rules for predict.o.

Co-Authored-By: Stan Cox <scox@cygnus.com>

From-SVN: r31402
2000-01-14 02:01:21 +00:00
Jason Merrill
91baa91841 fixincludes (va_list): Use __not_va_list__ for the dummy.
* fixincludes (va_list): Use __not_va_list__ for the dummy.
	* fixinc/*: Likewise.

From-SVN: r31401
2000-01-13 20:46:49 -05:00
Joern Rennecke
17ca0d816a Happy new year!
From-SVN: r31400
2000-01-14 01:37:48 +00:00
Kaveh R. Ghazi
83d2b3b9dc cccp.c: PROTO -> PARAMS.
* cccp.c: PROTO -> PARAMS.
	* cexp.y: Likewise.
	* collect2.c: Likewise.
	* combine.c: Likewise.
	* convert.h: Likewise.
	* cse.c: Likewise.
	* dbxout.c: Likewise.
	* dbxout.h: Likewise.
	* diagnostic.c: Likewise.
	* doprint.c: Likewise.
	* dwarf2out.c: Likewise.
	* dwarf2out.h: Likewise.
	* dwarfout.c: Likewise.
	* dwarfout.h: Likewise.
	* dyn-string.h: Likewise.

From-SVN: r31399
2000-01-14 00:46:57 +00:00
Kaveh R. Ghazi
57bed15271 calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in macro conditionals guarding use.
* calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
        macro conditionals guarding use.

        * dwarf2out.c: Include "tm_p.h".

        * function.c (locate_and_pad_parm): Mark parameter with
        ATTRIBUTE_UNUSED.
        (expand_function_end): Likewise for variable `context'.

        * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.

cp:
        * call.c: If GATHER_STATISTICS, declare `n_build_method_call'.

From-SVN: r31398
2000-01-13 23:43:55 +00:00
Nick Clifton
ff17f16403 fix compile time warnings about unused epilogue instructions
From-SVN: r31397
2000-01-13 23:01:59 +00:00
Zack Weinberg
2a0e04e247 longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv' to avoid -Wtraditional warning.
* longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
	to avoid -Wtraditional warning.

From-SVN: r31396
2000-01-13 18:18:10 +00:00
Tom Tromey
357100a3ef natClassLoader.cc (_Jv_FindClass): Register `loader', not system loader, as initiating loader.
* java/lang/natClassLoader.cc (_Jv_FindClass): Register `loader',
	not system loader, as initiating loader.

From-SVN: r31395
2000-01-13 18:13:31 +00:00
Kaveh R. Ghazi
7ea0e99c7c 1750a-protos.h: New file.
* 1750a-protos.h: New file.

	* 1750a.c: Include tm_p.h.  Add static prototypes.  Fix compile
	time warnings.

	* 1750a.h: Move prototypes to 1750a-protos.h.  Fix compile time
	warnings.

	* 1750a.md: Likewise.

From-SVN: r31394
2000-01-13 18:04:22 +00:00
Kaveh R. Ghazi
ff82ca233e a29k-protos.h: New file.
* a29k-protos.h: New file.

	* a29k.c: Include tm_p.h.  Add static prototypes.  Fix compile
	time warnings.

	* a29k.h: Move prototypes to a29k-protos.h.  Fix compile time
	warnings.

From-SVN: r31393
2000-01-13 17:57:45 +00:00
Kaveh R. Ghazi
bcc6049ca6 clipper-protos.h: New file.
* clipper-protos.h: New file.

	* clipper.c: Include tm_p.h.  Add static prototypes.  Fix compile
	time warnings.

	* clipper.h: Move prototypes to clipper-protos.h.  Fix compile time
	warnings.

From-SVN: r31392
2000-01-13 17:48:08 +00:00
J"orn Rennecke
54ed0905ec * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
From-SVN: r31389
2000-01-13 16:05:03 +00:00
Nathan Sidwell
eeb109f2cf g++spec.c (lang_specific_driver): Add -fnew-abi if ENABLE_NEW_GXX_ABI defined.
* g++spec.c (lang_specific_driver): Add -fnew-abi if
	ENABLE_NEW_GXX_ABI defined.
	* Make-lang.in (tinfo.o, tinfo2.o, exception.o, new.o,
	opnew.o, opnewnt.o, opvnew.o, opvnewnt.o, opdel.o, opdelnt.o,
	opvdel.o, opvdelnt.o): Use GXX_ABI_FLAG switch.

From-SVN: r31388
2000-01-13 15:37:03 +00:00
Nathan Sidwell
7441a35271 configure.in (--enable-new-gxx-abi): New option.
* configure.in (--enable-new-gxx-abi): New option.
	* acconfig.h (ENABLE_NEW_GXX_ABI): New define.
	* Makefile.in (GXX_ABI_FLAG): New variable.
	* configure: Regenerate.

From-SVN: r31387
2000-01-13 15:36:24 +00:00
Michael Hayes
7f7680a9a4 stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
* stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
	* tm.texi (FORCE_STRUCT_BLK): Document.
	* config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.

From-SVN: r31385
2000-01-13 10:43:35 +00:00
Hans-Peter Nilsson
8f496bc2d5 ns32k.md: Revert Jan 9 change.
* config/ns32k/ns32k.md: Revert Jan 9 change.

	* genrecog.c (maybe_both_true_2): Do not compare a predicate-test
	to a mode-test, if the predicate is address_operand.

From-SVN: r31384
2000-01-13 10:19:39 +00:00
Jeffrey A Law
668bcf76c4 combine.c (if_then_else_cond): Be careful about what kinds of RTL expressions are passed to operand_subword.
* combine.c (if_then_else_cond): Be careful about what kinds
	of RTL expressions are passed to operand_subword.

From-SVN: r31383
2000-01-13 02:36:29 -07:00
Jeffrey A Law
ca4cd7abfd * gcc.c-torture/execute/20000113-1.c: New test.
From-SVN: r31382
2000-01-13 02:30:08 -07:00
Jeff Law
efb8436e0c Daily bump.
From-SVN: r31381
2000-01-13 01:45:06 -07:00
Jeffrey A Law
08520ad8d6 flow.c (split_edge): If we have to insert a new jump, make sure to associate it with a basic block.
* flow.c (split_edge): If we have to insert a new jump, make
	sure to associate it with a basic block.

	* flow.c (commit_one_edge_insertion): A block with one successor
	can end in a JUMP_INSN that is not a simplejump.

From-SVN: r31380
2000-01-12 22:41:44 -07:00
Robert Lipe
499bf451e3 sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
2000-01-12  Robert Lipe  <robertl@sco.com>

        * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
        (BUILD_VA_LIST_TYPE): Define.
        (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
        with crtstuff.c.

From-SVN: r31379
2000-01-13 03:36:00 +00:00
Jeffrey A Law
7a2a27a50a * gcc.c-torture/execute/20000112-1.c: New test.
From-SVN: r31378
2000-01-12 20:31:41 -07:00
Robert Lipe
e886c40fa3 sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
2000-01-12  Robert Lipe  <robertl@sco.com>
        * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
        (BUILD_VA_LIST_TYPE): Define.
        (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact                  with crtstuff.c.

From-SVN: r31377
2000-01-13 02:57:43 +00:00
Mark Mitchell
09ed39ad87 * decl.c (start_cleanup_fn): Call pushdecl.
From-SVN: r31376
2000-01-13 02:04:25 +00:00
Fred Fish
24618f4902 configure.in (*-*-beos*): Recognize.
* configure.in (*-*-beos*): Recognize.
        * config/beos.mt: New file.

From-SVN: r31374
2000-01-12 20:37:57 -05:00
Fred Fish
0753683c0a Makefile.in (SHOPT): New macro, flag to ld to create shared library.
* Makefile.in (SHOPT): New macro, flag to ld to create
        shared library.  Defaults to "-shared".
        (SHLIB): Use new SHOPT rather than hardcoded "-shared".
        * configure.in: While configuring for *-*-beos*, if
        --enable-shared is given, add beos.ml to list of makefile
        frags.
        * config/beos.ml: New file.

From-SVN: r31373
2000-01-12 20:37:38 -05:00
Mark Mitchell
c135ea3910 * configure.in: Fix typo in last change.
From-SVN: r31372
2000-01-13 01:00:59 +00:00
Jason Merrill
149bb76305 * cccp.c (do_pragma): Add cast to (char *).
From-SVN: r31371
2000-01-12 19:49:57 -05:00
Jason Merrill
11950183bc regenerate
From-SVN: r31370
2000-01-12 19:48:27 -05:00
Jason Merrill
73204d8e70 BeOS port
From-SVN: r31369
2000-01-12 19:48:09 -05:00
Richard Henderson
0da3b5a7af * configure.in: Don't build some bits for beos.
From-SVN: r31368
2000-01-12 19:47:44 -05:00
Jason Merrill
512b62fb1b configure.in (i?86-*-beos{pe,elf,}*): Recognize.
* configure.in (i?86-*-beos{pe,elf,}*): Recognize.
        * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
        * i386/beos-elf.h, i386/beos-pe.h: New files.

        * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
        * cross-make (SYSTEM_HEADER_DIR): Define using
        CROSS_SYSTEM_HEADER_DIR.

        * gcc.c (LIBRARY_PATH_ENV): Provide default.
        (process_command): Use it.
        (main): Likewise.  Kill trailing = from env vars.
        (build_search_list): Put it back.
        * collect2.c (main): Use LIBRARY_PATH_ENV.

        * configure.in (GCC_NEED_DECLARATIONS): Add environ.
        * toplev.c: Use NEED_DECLARATION_ENVIRON.

        * tm.texi (Frame Layout): Document SMALL_STACK.
        * c-common.c (c_common_nodes_and_builtins): Check it.

        * system.h: Undef alloca after including glibc's <stdlib.h>,
        if USE_C_ALLOCA is defined.

        * gcc.c (set_input): New fn.
        (main): After all input files are compiled, reset the input file
        info to the first.

        * aclocal.m4 (rindex, index): If already defined, don't attempt
        to redefine.

        * ginclude/varargs.h: (__va_list__): Define ifndef.
        * ginclude/stdarg.h: Likewise.

        * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
        instead of unsigned char.

        * hash.h (true, false, boolean): Undef before enum.

From-SVN: r31366
2000-01-12 19:37:06 -05:00
Jason Merrill
6bb88f3be6 delete stray semicolon
From-SVN: r31365
2000-01-12 19:35:38 -05:00
Kaveh R. Ghazi
80cca0e191 svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
* svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.

	* recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.

	* regclass.c (choose_hard_reg_mode): Likewise.

	* reload.c (find_valid_class, strict_memory_address_p): Likewise.

	* reorg.c (optimize_skip): Wrap prototype in macro conditionals.

From-SVN: r31364
2000-01-13 00:17:33 +00:00
Mark Mitchell
07c88314a3 call.c (convert_class_to_reference): Fix typos.
* call.c (convert_class_to_reference): Fix typos.
	(build_conditional_expr): Handle errors gracefully.
	* class.c (push_nested_class): Likewise.
	* cp-tree.h (VAR_FUNCTION_OR_PARM_DECL_CHECK): New macro.
	(DECL_THIS_EXTERN): Use it.
	(DECL_THIS_STATIC): Likewise.
	* cvt.c (convert_to_void): Handle errors gracefully.
	(build_expr_type_conversion): Likewise.
	* decl.c (maybe_push_decl): Likewise.
	(start_decl_1): Likewise.
	(require_complete_types_for_parms): Likewise.
	* parse.y (structsp): Likewise.
	(base_class): Likewise.
	* parse.c: Regenerated.
	* pt.c (finish_member_template_decl): Likewise.

From-SVN: r31363
2000-01-12 23:27:46 +00:00