Commit Graph

24586 Commits

Author SHA1 Message Date
Jeff Law 070cd782ac Daily bump.
From-SVN: r30117
1999-10-21 01:45:06 -06:00
Mark Mitchell 699ed0ce1f cp-tree.def (EMPTY_CLASS_EXPR): New tree node.
* cp-tree.def (EMPTY_CLASS_EXPR): New tree node.
	* call.c (build_call): Use EMPTY_CLASS_EXPR instead of RTL_EXPR.
	* expr.c (cplus_expand_expr): Expand it.
	* ir.texi: Document EMPTY_CLASS_EXPR.

From-SVN: r30116
1999-10-21 07:10:36 +00:00
Jeffrey A Law e54635a2f3 sparc.md (movsf_const_intreg): If splitting, length must be > 1.
* sparc.md (movsf_const_intreg): If splitting, length must be > 1.
        (movdf_const_intreg_sp64): Similarly.

From-SVN: r30112
1999-10-20 23:33:20 -06:00
Jeffrey A Law b768aa38c2 local-alloc.c (update_equiv_regs): Check the correct insn for pre-existing REG_EQUIV notes.
* local-alloc.c (update_equiv_regs): Check the correct insn
        for pre-existing REG_EQUIV notes.

From-SVN: r30111
1999-10-20 23:01:02 -06:00
Mark Mitchell 16b702cd43 cse.c (cse_end_of_basic_block): Don't return the end of a basic block reached by a branch if...
* cse.c (cse_end_of_basic_block): Don't return the end of a basic
	block reached by a branch if we're not going to actually process
	this block

From-SVN: r30109
1999-10-21 03:37:33 +00:00
Jim Wilson 56d410bbc0 Fix noncompile/940510-1.c testsuite failures.
* noncompile/noncompile.exp: For 940510-1.c, change compiler_output
	to look for one error message instead of two.

From-SVN: r30108
1999-10-20 16:20:01 -07:00
Jim Wilson 417d348c5a Fix numerous -O3 -g testsuite failures for DWARF2 targets.
* integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
	a local extern function declaration.

From-SVN: r30107
1999-10-20 15:19:06 -07:00
Richard Henderson 276ab4a49c i386.c (ix86_expand_prologue): Properly wrap USE around reg for CALL_INSN_FUNCTION_USAGE.
* i386.c (ix86_expand_prologue): Properly wrap USE around
        reg for CALL_INSN_FUNCTION_USAGE.

From-SVN: r30106
1999-10-20 13:58:29 -07:00
Andrew Haley c26040ee1e mips.md (movdf_internal1a): Allow floating-point move between GP_REGs.
Thu Oct 14 18:51:37 1999  Andrew Haley  <aph@cygnus.com>

        * config/mips/mips.md (movdf_internal1a): Allow floating-point
        move between GP_REGs.

From-SVN: r30105
1999-10-20 18:29:09 +00:00
Andrew Haley 7086004dd0 thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of the mode size when finding out if an offset is legal.
Wed Oct 20 15:36:11 1999  Andrew Haley  <aph@cygnus.com>

	* config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
	the mode size when finding out if an offset is legal.

From-SVN: r30104
1999-10-20 15:36:33 +00:00
Richard Henderson 49c3bb1275 basic-block.h (PROP_*): Move constants from ...
* basic-block.h (PROP_*): Move constants from ...
        * flow.c: ... here.
        (compute_bb_for_insn): Free the array before reallocating.
        (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
        (allocate_reg_life_data): Reset all reg variables collected by
        propagate_block.
        (get_block_head_tail): Don't convert from bb to block.
        (get_bb_head_tail): New.  Update all callers of get_block_head_tail.
        (find_insn_reg_weight): Take block not bb.
        (schedule_block): Don't set block num for moved insns.
        (schedule_region): Don't update_life_info or find_insn_reg_weight.
        (schedule_insns): Do it here instead.
        * combine.c (combine_instructions): Invoke compute_bb_for_insn
        before update_life_info.
        * recog.c (split_all_insns, peephole2_optimize): Update for
        new arg to update_life_info.
        * rtlanal.c (remove_note): Cope with NULL note.
        * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
        if we did sched1.

From-SVN: r30103
1999-10-20 07:04:12 -07:00
Richard Earnshaw 5b9188072e * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
From-SVN: r30102
1999-10-20 12:53:23 +00:00
Richard Earnshaw 506f9fbf42 (split_edge): Handle casesi insns.
From-SVN: r30101
1999-10-20 12:45:22 +00:00
Richard Earnshaw ee7b8369c2 (merge_blocks_move_predecessor_nojumps): Re-order the basic block records so...
(merge_blocks_move_predecessor_nojumps): Re-order the basic
block records so that merge_blocks_nomove will clean up correctly.

From-SVN: r30100
1999-10-20 12:39:01 +00:00
Richard Earnshaw dc9e9f3f88 (jump_optimize_1): More accurately detect casesi insns.
From-SVN: r30099
1999-10-20 10:21:47 +00:00
Jeff Law 2cd6f3b397 Daily bump.
From-SVN: r30098
1999-10-20 01:45:06 -06:00
Mark Mitchell 4f71f6300a cp-tree.h (DECL_NAMESPACE_SCOPE_P): Don't treat template parameters as having namespace scope.
* cp-tree.h (DECL_NAMESPACE_SCOPE_P): Don't treat template
	parameters as having namespace scope.

From-SVN: r30097
1999-10-20 07:02:30 +00:00
Jeffrey A Law 7978192f77 pa.md (call, call_value): Do not emit a blockage after restoring the PIC register.
* pa.md (call, call_value): Do not emit a blockage after restoring
        the PIC register.

From-SVN: r30096
1999-10-19 23:45:09 -06:00
Mark Mitchell 1bef1e7c43 * c-typeck.c (c_expand_asm_operands): Fix typo.
From-SVN: r30095
1999-10-20 00:18:10 +00:00
Bryce McKinlay 921150153a Test code for GNATS gcj/71 and GNATS gcj/72.
1999-10-19  Bryce McKinlay  <bryce@albatross.co.nz>

        * libjava.compile/invokeinterface: New directory.
        * libjava.compile/invokeinterface/Test.java: New file. Test code for
        PR gcj/71 and PR gcj/72.
        * libjava.compile/invokeinterface/A.java: New file.
        * libjava.compile/invokeinterface/B.java: New file.

From-SVN: r30094
1999-10-20 01:09:33 +01:00
Tom Tromey 51ae407148 jcf-parse.c (parse_source_file): Call jcf_dependency_add_file.
* jcf-parse.c (parse_source_file): Call jcf_dependency_add_file.
	From Mike Moreton <mike@pillim.demon.co.uk>.

From-SVN: r30093
1999-10-19 23:05:28 +00:00
Gabriel Dos Reis 172d33bca7 valarray_meta.h: (_BinClos::_BinClos): Fix typo.
1999-10-19  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>

        * std/valarray_meta.h: (_BinClos::_BinClos): Fix typo.

From-SVN: r30092
1999-10-19 22:10:36 +00:00
Mark Mitchell b60fe4a75b cplus-dem.c (INTBUF_SIZE): New macro.
* cplus-dem.c (INTBUF_SIZE): New macro.
	(string_append_template_idx): New function.
	(demangle_expression): Likewise.
	(demangle_integral_value): Use it.
	(demangle_real_value): New function, split out from ...
	(demangle_template_value_parm): ... here.  Use
	string_append_template_idx.  Use demangle_real_value.
	(demangle_template): Use string_append_template_idx.
	(demangle_qualified): Use consume_count_with_underscores.
	(get_count): Tweak formatting.
	(do_type): Use string_append_template_idx.

From-SVN: r30091
1999-10-19 17:52:52 +00:00
Mark Mitchell 858a0ff109 method.c (PARM_CAN_BE_ARRAY_TYPE): Remove.
* method.c (PARM_CAN_BE_ARRAY_TYPE): Remove.
	(mangling_flags): New type.
	(build_overload_int): Change prototype.
	(build_overload_value): Likewise.
	(numeric_output_need_bar): Improve comment.
	(mangle_expression): New function, broken out from ...
	(build_overload_int): Here.
	(build_overload_value): Adjust for use of mangling flags.  Don't
	warn about real-valued template parameters here.  Do handle
	complex expressions involving real-valued template parameters.
	(build_template_parm_names): Encase non-type template parameters
	in underscores, if necessary.
	(process_overload_item): Remove conditional on
	PARM_CAN_BE_ARRAY_TYPE.

From-SVN: r30090
1999-10-19 17:40:48 +00:00
Bernd Schmidt 9ce71c6fbd arm.c: Verify modes on operands in predicates
From-SVN: r30088
1999-10-19 16:47:23 +00:00
Richard Earnshaw 3a2ea2588f Fix APCS violation.
From-SVN: r30087
1999-10-19 14:27:00 +00:00
Bruce Korb db025289c4 use genfixes within Makefile.in and move comments to README
From-SVN: r30086
1999-10-19 13:22:45 +00:00
Nick Clifton 0c70c30f29 Do not generate error message about unrecognised command line switches of
other languages.

From-SVN: r30085
1999-10-19 13:02:39 +00:00
Mumit Khan 61e8b354cf Applied Mumit Khan's patch to fix #pragma push/pop handling.
From-SVN: r30084
1999-10-19 10:44:30 +00:00
Jeffrey A Law f099b1c909 reg-stack.c (stack_result): Aggregates are not returned in stack registers.
* reg-stack.c (stack_result): Aggregates are not returned in
        stack registers.

From-SVN: r30081
1999-10-19 02:12:30 -06:00
Jeffrey A Law 5603a4873d * gcc.c-torture/execute/991016-1.c: New test.
From-SVN: r30080
1999-10-19 02:11:05 -06:00
Jeff Law b392db7b3c Daily bump.
From-SVN: r30078
1999-10-19 01:45:07 -06:00
Alasdair Baird 2af3e5fb95 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
From-SVN: r30077
1999-10-19 01:26:59 -06:00
Jeffrey A Law b61a6c8113 cse.c (invalidate_for_call): Do not remove memory references from the table here.
* cse.c (invalidate_for_call): Do not remove memory references from
        the table here.  It's handled elsewhere.

From-SVN: r30076
1999-10-18 17:05:03 -06:00
Tom Tromey 4b84737d47 VMClassLoader.java (getVMClassLoader): New method.
* gnu/gcj/runtime/VMClassLoader.java (getVMClassLoader): New
	method.
	(redirect): New static field.
	* java/lang/ClassLoader.java (getSystemClassLoader): Now
	native
	(getVMClassLoader0): Removed.
	* java/lang/natClassLoader.cc (getVMClassLoader0): Removed.
	(redirect): Removed.
	(getSystemClassLoader): Implemented.

From-SVN: r30075
1999-10-18 22:57:07 +00:00
Jeffrey A Law 35c95c5a65 haifa-sched.c (add_dependence): Protect references to the true dependency cache with #ifdef INSN_SCHEDULING.
* haifa-sched.c (add_dependence): Protect references to the
        true dependency cache with #ifdef INSN_SCHEDULING.
        (remove_dependence): Similarly.

From-SVN: r30074
1999-10-18 16:37:30 -06:00
Richard Henderson c88e820682 basic-block.h (set_block_num): Declare.
* basic-block.h (set_block_num): Declare.
        * flow.c (update_life_info): Don't call compute_bb_for_insn
        or free_basic_block_vars.
        * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
        (insn_orig_block): Remove.
        (INSN_BLOCK): Remove.  Update all callers to use BLOCK_NUM.
        (schedule_block): Keep BLOCK_NUM up-to-date.
        (schedule_insns): Use compute_bb_for_insn.
        * recog.c (split_all_insns): Likewise.
        (peephole2_optimize): Likewise.

From-SVN: r30073
1999-10-18 15:20:27 -07:00
Jeffrey A Law 87b5c7e5e4 mn10200.md (outline_epilogue_jump): Embed a (return) to indicate to the cfg code that this is a return instruction.
* mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
        to the cfg code that this is a return instruction.
        * mn10300.md (return_internal): Similarly.

From-SVN: r30072
1999-10-18 13:59:48 -06:00
Andreas Schwab d3f4f2d6fe m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word if the pic register is used.
* config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
	if the pic register is used.

From-SVN: r30071
1999-10-18 16:49:22 +00:00
Richard Henderson 1b3e142338 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
From-SVN: r30070
1999-10-18 09:38:40 -07:00
Kaveh R. Ghazi 3da5522a60 * calloc.c: Add a public domain notice.
From-SVN: r30069
1999-10-18 15:25:01 +00:00
Bernd Schmidt e3d2508d72 c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
* c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
        (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
        if that tests TREE_PERMANENT.

From-SVN: r30068
1999-10-18 02:40:20 -06:00
Philippe De Muyter d7d36ea879 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
From-SVN: r30067
1999-10-18 02:36:29 -06:00
Manfred Hollstein e43cc14299 * POTFILES.in: Track files recently added/deleted/moved.
From-SVN: r30066
1999-10-18 01:55:17 -06:00
Jeff Law 878bfb79f0 Daily bump.
From-SVN: r30063
1999-10-18 01:45:07 -06:00
Jeffrey A Law ca4cd906cb combine.c (get_last_value): If the last set of a register is after subst_low_cuid...
* combine.c (get_last_value): If the last set of a register
        is after subst_low_cuid, then we can not use it to determine
        the register's last value.

From-SVN: r30062
1999-10-18 01:44:13 -06:00
Mark Mitchell d336e5046c * Makefile.in: Back out previous change.
From-SVN: r30061
1999-10-18 04:07:28 +00:00
Jeffrey A Law 7739ebae53 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
From-SVN: r30060
1999-10-17 17:08:36 -06:00
Jeff Law 60588660d0 Typo.
From-SVN: r30059
1999-10-17 15:46:36 -06:00
Jeffrey A Law aae0390e20 haifa-sched.c (add_dependence): Only check/update the cache if it exists.
* haifa-sched.c (add_dependence): Only check/update the cache
        if it exists.
        (remove_dependence): Likewise.
        (schedule_insns): Only create the true_dependency_cache if the
        average number of instructions in a basic block is very large.

From-SVN: r30058
1999-10-17 15:27:56 -06:00