Commit Graph

24824 Commits

Author SHA1 Message Date
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
Mark Mitchell
81631c486e Makefile.in (ggc-common.o): Depend on genrtl.h.
* Makefile.in (ggc-common.o): Depend on genrtl.h.
	(ggc-simple.o): Likewise.
	(ggc-page.o): Likewise.

From-SVN: r30057
1999-10-17 17:59:07 +00:00
Mark Mitchell
7192e1387b dump.c (dequeue_and_dump): Handle CLEANUP_POINT_EXPR.
* dump.c (dequeue_and_dump): Handle CLEANUP_POINT_EXPR.

	* ir.texi: Clean up documentation of RETURN_INIT.

From-SVN: r30056
1999-10-17 17:40:12 +00:00
Andrew MacLeod
a42cd96552 basic-block.h (pre_edge_lcm, [...]): Prototype for exported functions.
* basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
        Prototype for exported functions.
        (pre_lcm, pre_rev_lcm): Remove prototypes.
        * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
        (compute_available): Move to lcm.c, and change parameter order.
        (one_classic_gcse_pass): Call compute_ae_kill with parameters.
        (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
        (gcse_main): No longer call compute_preds_succs.  Rebuild the
        set table after reach pre pass.
        (pre_insert_map, pre_delete_map, edge_list): New.
        (alloc_pre_mem): Allocate edge vectors.
        (free_pre_mem): Delete edge vectors.
        (compute_pre_data): Call new edge based lcm routines.
        (process_insert_insn): New function.
        (insert_insn_end_bb): Use it.
        (pre_edge_insert): New function.
        (pre_insert_copy_insn): Formatting fixes.  Update BLOCK_END as
        needed.
        (pre_insert_copies): Revamp using new edge based lcm outputs.
        (pre_delete): Likewise.
        (one_pre_gcse_pass): Insert & remove fake edges to the exit
        block.
        (compute_code_hoist_vbeinout): New new edge based routines.
        * lcm.c: Remove all the old LCM functions.  Replace with new ones
        that work with the new cfg datastructures and work with edges
        instead of blocks.

From-SVN: r30055
1999-10-17 03:21:25 -06:00
Andrew MacLeod
3cce638b2b * gcse.c (hash_scan_set): Remove incorrect ! optimize_size check.
From-SVN: r30054
1999-10-17 02:53:48 -06:00
Jeff Law
1e875952c8 Fix typo in last change.
From-SVN: r30053
1999-10-17 02:19:37 -06:00
Jeff Law
f002736bd3 Daily bump.
From-SVN: r30052
1999-10-17 01:45:06 -06:00
Bernd Schmidt
8ec450a4de reload.h (struct reload): Add new fields "mode" and "nregs".
* reload.h (struct reload): Add new fields "mode" and "nregs".
        * reload1.c: Change all occurrences of reload_mode and reload_nregs
        to reference the "mode" and "nregs" field within struct reload.

From-SVN: r30051
1999-10-17 00:47:27 -06:00
Jeffrey A Law
356edbd763 haifa-sched.c (true_dependency_cache): New.
* haifa-sched.c (true_dependency_cache): New.
        (add_dependence): Use the true dependency cache to avoid expensive
        walks down the LOG_LINKS dependency list.  Add entries to the
        cache as necessary.
        (remove_dependence): Remove entries from the true dependency cache
        as needed.
        (schedule_insns): Allocate and initialize and free the true
        dependency cache.

From-SVN: r30050
1999-10-17 00:28:22 -06:00
Jeffrey A Law
e75f2df7e5 haifa-sched.c (schedule_insns): Do not remove inter-block dependencies anymore.
* haifa-sched.c (schedule_insns): Do not remove inter-block
        dependencies anymore.

From-SVN: r30049
1999-10-16 21:50:21 -06:00
Anthony Green
6c413a50e6 ClassLoader.java (getSystemResource): Use getSystemClassLoader instead of ClassLoader.system.
* java/lang/ClassLoader.java (getSystemResource): Use
        getSystemClassLoader instead of ClassLoader.system.
        (getSystemResourceAsStream): Ditto.

        * java/lang/natClassLoader.cc (redirect): Make static and
        remove #ifdef INTERPRETER so it is always defined.
        (getVMClassLoader0): Remove #ifdef INTERPRETER so it always
        returns a VMClassLoader.

        * java/util/ResourceBundle.java (trySomeGetBundle): Create a
        PropertyResourceBundle if a properties file is found before a
        ResourceBundle class.

From-SVN: r30048
1999-10-17 03:11:50 +00:00
Richard Henderson
1b284f05ac t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
* i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
        * i386/t-winnt: Likewise.

From-SVN: r30045
1999-10-16 11:22:29 -07:00
Manfred Hollstein
28fe2fb748 Makefile.in (LANGUAGES): Omit "proto".
* Makefile.in (LANGUAGES): Omit "proto".
	(clean): Remove stale comment about removing unprotoize.c.

From-SVN: r30044
1999-10-16 15:52:04 +00:00