]> gcc.gnu.org Git - gcc.git/log
gcc.git
24 years agore GNATS gcj/37 (gcj fails to compile "jBYTEmark" from source code when optimization...
Alexandre Petit-Bianco [Fri, 22 Oct 1999 05:27:34 +0000 (05:27 +0000)]
re GNATS gcj/37 (gcj fails to compile "jBYTEmark" from source code when optimization is used)

Wed Oct 20 01:41:47 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (java_complete_tree): fold_constant_for_init to work on
  permanent_obstack.
(java_complete_lhs): Likewise.
(array_constructor_check_entry): Complete an initializer element
  on permanent_obstack.

This patch fixes the net PR #37
(http://sourceware.cygnus.com/ml/java-prs/1999-q3/msg00043.html)

From-SVN: r30126

24 years agoMakefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.
Jeffrey A Law [Fri, 22 Oct 1999 02:38:57 +0000 (02:38 +0000)]
Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.

        * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h.  Also
        depend on ggc.h.

From-SVN: r30125

24 years ago* gcc.1: Document exit codes.
Matthias Klose [Fri, 22 Oct 1999 02:32:26 +0000 (02:32 +0000)]
* gcc.1: Document exit codes.

From-SVN: r30124

24 years agodump.c (dequeue_and_dump): Replace several uses of queue_and_dump_index with dump_child.
Mark Mitchell [Fri, 22 Oct 1999 01:40:30 +0000 (01:40 +0000)]
dump.c (dequeue_and_dump): Replace several uses of queue_and_dump_index with dump_child.

1999-10-21  Mark Mitchell  <mark@codesourcery.com>

* dump.c (dequeue_and_dump): Replace several uses of
queue_and_dump_index with dump_child.

From-SVN: r30123

24 years agocalls.c: Include tm_p.h later, so everything we need is defined.
Kaveh R. Ghazi [Thu, 21 Oct 1999 16:58:33 +0000 (16:58 +0000)]
calls.c: Include tm_p.h later, so everything we need is defined.

        * calls.c: Include tm_p.h later, so everything we need is defined.
        * expr.c: Likewise.
        * function.c: Likewise.

        * except.c: Include tm_p.h.

        * sparc.c: Likewise.
        (dwarf2out_cfi_label): Don't prototype.
        (check_return_regs, epilogue_renumber,
        ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
        ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
        ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
        ultra_schedule_insn): Add static prototype.
        (data_segment_operand, text_segment_operand): Call itself with the
        proper number of arguments.
        (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.

        * sparc.h: Move all declarations to sparc-protos.h.
        (SELECT_RTX_SECTION):  Pass a missing MODE argument to
        symbolic_operand.

        * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.

        * config/svr4.h (text_section, ctors_section, dtors_section): Add
        Prototypes.
        (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
        ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
        ASM_OUTPUT_ASCII): Constify a char*.

        * sparc-protos.h: New file for sparc prototypes.

cp:
        * expr.c: Include tm_p.h.

From-SVN: r30122

24 years agofunction.c (record_insns, contains): Always declare and define.
Kaveh R. Ghazi [Thu, 21 Oct 1999 16:26:42 +0000 (16:26 +0000)]
function.c (record_insns, contains): Always declare and define.

       * function.c (record_insns, contains): Always declare and define.
       (record_insns): Mark with ATTRIBUTE_UNUSED.

From-SVN: r30121

24 years agoApply patches submitted by eCos team.
Jonathan Larmour [Thu, 21 Oct 1999 12:05:58 +0000 (12:05 +0000)]
Apply patches submitted by eCos team.

From-SVN: r30120

24 years agoAllos suppression of some ARM multilibs
Nick Clifton [Thu, 21 Oct 1999 10:54:53 +0000 (10:54 +0000)]
Allos suppression of some ARM multilibs

From-SVN: r30119

24 years agocp-tree.h (SCOPE_PARTIAL_P): New macro.
Mark Mitchell [Thu, 21 Oct 1999 08:05:57 +0000 (08:05 +0000)]
cp-tree.h (SCOPE_PARTIAL_P): New macro.

* cp-tree.h (SCOPE_PARTIAL_P): New macro.
(pushlevel_temporary): Remove.
(add_scope_stmt): New function.
* decl.c (pushlevel_temporary): Remove.
(poplevel): Use add_scope_stmt.
(start_decl_1): Likewise.
* semantics.c (add_scope_stmt): New function.
(do_pushlevel): Use it.
(do_poplevel): Use it.
(expand_stmt): Check SCOPE_PARTIAL_P.

From-SVN: r30118

24 years agoDaily bump.
Jeff Law [Thu, 21 Oct 1999 07:45:06 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r30117

24 years agocp-tree.def (EMPTY_CLASS_EXPR): New tree node.
Mark Mitchell [Thu, 21 Oct 1999 07:10:36 +0000 (07:10 +0000)]
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

24 years agosparc.md (movsf_const_intreg): If splitting, length must be > 1.
Jeffrey A Law [Thu, 21 Oct 1999 05:33:20 +0000 (05:33 +0000)]
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

24 years agolocal-alloc.c (update_equiv_regs): Check the correct insn for pre-existing REG_EQUIV...
Jeffrey A Law [Thu, 21 Oct 1999 05:01:02 +0000 (05:01 +0000)]
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

24 years agocse.c (cse_end_of_basic_block): Don't return the end of a basic block reached by...
Mark Mitchell [Thu, 21 Oct 1999 03:37:33 +0000 (03:37 +0000)]
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

24 years agoFix noncompile/940510-1.c testsuite failures.
Jim Wilson [Wed, 20 Oct 1999 23:20:01 +0000 (23:20 +0000)]
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

24 years agoFix numerous -O3 -g testsuite failures for DWARF2 targets.
Jim Wilson [Wed, 20 Oct 1999 22:19:06 +0000 (22:19 +0000)]
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

24 years agoi386.c (ix86_expand_prologue): Properly wrap USE around reg for CALL_INSN_FUNCTION_USAGE.
Richard Henderson [Wed, 20 Oct 1999 20:58:29 +0000 (13:58 -0700)]
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

24 years agomips.md (movdf_internal1a): Allow floating-point move between GP_REGs.
Andrew Haley [Wed, 20 Oct 1999 18:29:09 +0000 (18:29 +0000)]
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

24 years agothumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of the mode size when finding out...
Andrew Haley [Wed, 20 Oct 1999 15:36:33 +0000 (15:36 +0000)]
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

24 years agobasic-block.h (PROP_*): Move constants from ...
Richard Henderson [Wed, 20 Oct 1999 14:04:12 +0000 (07:04 -0700)]
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

24 years ago* gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
Richard Earnshaw [Wed, 20 Oct 1999 12:53:23 +0000 (12:53 +0000)]
* gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.

From-SVN: r30102

24 years ago(split_edge): Handle casesi insns.
Richard Earnshaw [Wed, 20 Oct 1999 12:45:22 +0000 (12:45 +0000)]
(split_edge): Handle casesi insns.

From-SVN: r30101

24 years ago(merge_blocks_move_predecessor_nojumps): Re-order the basic block records so...
Richard Earnshaw [Wed, 20 Oct 1999 12:39:01 +0000 (12:39 +0000)]
(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

24 years ago(jump_optimize_1): More accurately detect casesi insns.
Richard Earnshaw [Wed, 20 Oct 1999 10:21:47 +0000 (10:21 +0000)]
(jump_optimize_1): More accurately detect casesi insns.

From-SVN: r30099

24 years agoDaily bump.
Jeff Law [Wed, 20 Oct 1999 07:45:06 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r30098

24 years agocp-tree.h (DECL_NAMESPACE_SCOPE_P): Don't treat template parameters as having namespa...
Mark Mitchell [Wed, 20 Oct 1999 07:02:30 +0000 (07:02 +0000)]
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

24 years agopa.md (call, call_value): Do not emit a blockage after restoring the PIC register.
Jeffrey A Law [Wed, 20 Oct 1999 05:45:09 +0000 (05:45 +0000)]
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

24 years ago* c-typeck.c (c_expand_asm_operands): Fix typo.
Mark Mitchell [Wed, 20 Oct 1999 00:18:10 +0000 (00:18 +0000)]
* c-typeck.c (c_expand_asm_operands): Fix typo.

From-SVN: r30095

24 years agoTest code for GNATS gcj/71 and GNATS gcj/72.
Bryce McKinlay [Wed, 20 Oct 1999 00:09:33 +0000 (00:09 +0000)]
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

24 years agojcf-parse.c (parse_source_file): Call jcf_dependency_add_file.
Tom Tromey [Tue, 19 Oct 1999 23:05:28 +0000 (23:05 +0000)]
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

24 years agovalarray_meta.h: (_BinClos::_BinClos): Fix typo.
Gabriel Dos Reis [Tue, 19 Oct 1999 22:10:36 +0000 (00:10 +0200)]
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

24 years agocplus-dem.c (INTBUF_SIZE): New macro.
Mark Mitchell [Tue, 19 Oct 1999 17:52:52 +0000 (17:52 +0000)]
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

24 years agomethod.c (PARM_CAN_BE_ARRAY_TYPE): Remove.
Mark Mitchell [Tue, 19 Oct 1999 17:40:48 +0000 (17:40 +0000)]
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

24 years agoarm.c: Verify modes on operands in predicates
Bernd Schmidt [Tue, 19 Oct 1999 16:47:23 +0000 (16:47 +0000)]
arm.c: Verify modes on operands in predicates

From-SVN: r30088

24 years agoFix APCS violation.
Richard Earnshaw [Tue, 19 Oct 1999 14:27:00 +0000 (14:27 +0000)]
Fix APCS violation.

From-SVN: r30087

24 years agouse genfixes within Makefile.in and move comments to README
Bruce Korb [Tue, 19 Oct 1999 13:22:45 +0000 (13:22 +0000)]
use genfixes within Makefile.in and move comments to README

From-SVN: r30086

24 years agoDo not generate error message about unrecognised command line switches of
Nick Clifton [Tue, 19 Oct 1999 13:02:39 +0000 (13:02 +0000)]
Do not generate error message about unrecognised command line switches of
other languages.

From-SVN: r30085

24 years agoApplied Mumit Khan's patch to fix #pragma push/pop handling.
Mumit Khan [Tue, 19 Oct 1999 10:44:30 +0000 (10:44 +0000)]
Applied Mumit Khan's patch to fix #pragma push/pop handling.

From-SVN: r30084

24 years agoreg-stack.c (stack_result): Aggregates are not returned in stack registers.
Jeffrey A Law [Tue, 19 Oct 1999 08:12:30 +0000 (08:12 +0000)]
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

24 years ago* gcc.c-torture/execute/991016-1.c: New test.
Jeffrey A Law [Tue, 19 Oct 1999 08:11:05 +0000 (08:11 +0000)]
* gcc.c-torture/execute/991016-1.c: New test.

From-SVN: r30080

24 years agoDaily bump.
Jeff Law [Tue, 19 Oct 1999 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r30078

24 years ago* fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
Alasdair Baird [Tue, 19 Oct 1999 07:26:59 +0000 (07:26 +0000)]
* fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.

From-SVN: r30077

24 years agocse.c (invalidate_for_call): Do not remove memory references from the table here.
Jeffrey A Law [Mon, 18 Oct 1999 23:05:03 +0000 (23:05 +0000)]
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

24 years agoVMClassLoader.java (getVMClassLoader): New method.
Tom Tromey [Mon, 18 Oct 1999 22:57:07 +0000 (22:57 +0000)]
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

24 years agohaifa-sched.c (add_dependence): Protect references to the true dependency cache with...
Jeffrey A Law [Mon, 18 Oct 1999 22:37:30 +0000 (22:37 +0000)]
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

24 years agobasic-block.h (set_block_num): Declare.
Richard Henderson [Mon, 18 Oct 1999 22:20:27 +0000 (15:20 -0700)]
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

24 years agomn10200.md (outline_epilogue_jump): Embed a (return) to indicate to the cfg code...
Jeffrey A Law [Mon, 18 Oct 1999 19:59:48 +0000 (19:59 +0000)]
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

24 years agom68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word if the pic register is used.
Andreas Schwab [Mon, 18 Oct 1999 16:49:22 +0000 (16:49 +0000)]
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

24 years ago* ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
Richard Henderson [Mon, 18 Oct 1999 16:38:40 +0000 (09:38 -0700)]
* ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.

From-SVN: r30070

24 years ago* calloc.c: Add a public domain notice.
Kaveh R. Ghazi [Mon, 18 Oct 1999 15:25:01 +0000 (15:25 +0000)]
* calloc.c: Add a public domain notice.

From-SVN: r30069

24 years agoc-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
Bernd Schmidt [Mon, 18 Oct 1999 08:40:20 +0000 (08:40 +0000)]
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

24 years ago* setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
Philippe De Muyter [Mon, 18 Oct 1999 08:36:29 +0000 (10:36 +0200)]
* setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.

From-SVN: r30067

24 years ago* POTFILES.in: Track files recently added/deleted/moved.
Manfred Hollstein [Mon, 18 Oct 1999 07:55:17 +0000 (07:55 +0000)]
* POTFILES.in: Track files recently added/deleted/moved.

From-SVN: r30066

24 years agoDaily bump.
Jeff Law [Mon, 18 Oct 1999 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r30063

24 years agocombine.c (get_last_value): If the last set of a register is after subst_low_cuid...
Jeffrey A Law [Mon, 18 Oct 1999 07:44:13 +0000 (07:44 +0000)]
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

24 years ago* Makefile.in: Back out previous change.
Mark Mitchell [Mon, 18 Oct 1999 04:07:28 +0000 (04:07 +0000)]
* Makefile.in: Back out previous change.

From-SVN: r30061

24 years ago* pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
Jeffrey A Law [Sun, 17 Oct 1999 23:08:36 +0000 (23:08 +0000)]
* pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).

From-SVN: r30060

24 years agoTypo.
Jeff Law [Sun, 17 Oct 1999 21:46:36 +0000 (15:46 -0600)]
Typo.

From-SVN: r30059

24 years agohaifa-sched.c (add_dependence): Only check/update the cache if it exists.
Jeffrey A Law [Sun, 17 Oct 1999 21:27:56 +0000 (21:27 +0000)]
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

24 years agoMakefile.in (ggc-common.o): Depend on genrtl.h.
Mark Mitchell [Sun, 17 Oct 1999 17:59:07 +0000 (17:59 +0000)]
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

24 years agodump.c (dequeue_and_dump): Handle CLEANUP_POINT_EXPR.
Mark Mitchell [Sun, 17 Oct 1999 17:40:12 +0000 (17:40 +0000)]
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

24 years agobasic-block.h (pre_edge_lcm, [...]): Prototype for exported functions.
Andrew MacLeod [Sun, 17 Oct 1999 09:21:25 +0000 (09:21 +0000)]
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

24 years ago* gcse.c (hash_scan_set): Remove incorrect ! optimize_size check.
Andrew MacLeod [Sun, 17 Oct 1999 08:53:48 +0000 (08:53 +0000)]
* gcse.c (hash_scan_set): Remove incorrect ! optimize_size check.

From-SVN: r30054

24 years agoFix typo in last change.
Jeff Law [Sun, 17 Oct 1999 08:19:37 +0000 (02:19 -0600)]
Fix typo in last change.

From-SVN: r30053

24 years agoDaily bump.
Jeff Law [Sun, 17 Oct 1999 07:45:06 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r30052

24 years agoreload.h (struct reload): Add new fields "mode" and "nregs".
Bernd Schmidt [Sun, 17 Oct 1999 06:47:27 +0000 (06:47 +0000)]
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

24 years agohaifa-sched.c (true_dependency_cache): New.
Jeffrey A Law [Sun, 17 Oct 1999 06:28:22 +0000 (06:28 +0000)]
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

24 years agohaifa-sched.c (schedule_insns): Do not remove inter-block dependencies anymore.
Jeffrey A Law [Sun, 17 Oct 1999 03:50:21 +0000 (03:50 +0000)]
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

24 years agoClassLoader.java (getSystemResource): Use getSystemClassLoader instead of ClassLoader...
Anthony Green [Sun, 17 Oct 1999 03:11:50 +0000 (03:11 +0000)]
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

24 years agot-cygwin (winnt.o): Depend on RTL_H and TREE_H.
Richard Henderson [Sat, 16 Oct 1999 18:22:29 +0000 (11:22 -0700)]
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

24 years agoMakefile.in (LANGUAGES): Omit "proto".
Manfred Hollstein [Sat, 16 Oct 1999 15:52:04 +0000 (15:52 +0000)]
Makefile.in (LANGUAGES): Omit "proto".

* Makefile.in (LANGUAGES): Omit "proto".
(clean): Remove stale comment about removing unprotoize.c.

From-SVN: r30044

24 years agoprotoize.c (safe_read, safe_write): Avoid the gcc extension of using arithmetic on...
Kaveh R. Ghazi [Sat, 16 Oct 1999 15:32:00 +0000 (15:32 +0000)]
protoize.c (safe_read, safe_write): Avoid the gcc extension of using arithmetic on void pointers.

        * protoize.c (safe_read, safe_write): Avoid the gcc extension of
        using arithmetic on void pointers.

From-SVN: r30043

24 years agohaifa-sched.c (compute_block_forward_dependencies): Only check for notes, deleted...
Jeffrey A Law [Sat, 16 Oct 1999 08:54:07 +0000 (08:54 +0000)]
haifa-sched.c (compute_block_forward_dependencies): Only check for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.

  * haifa-sched.c (compute_block_forward_dependencies): Only check
for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.

From-SVN: r30042

24 years agoDaily bump.
Jeff Law [Sat, 16 Oct 1999 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r30041

24 years ago* gcc.c-torture/execute/991016-1.c: New test.
Richard Henderson [Sat, 16 Oct 1999 07:08:45 +0000 (00:08 -0700)]
* gcc.c-torture/execute/991016-1.c: New test.

From-SVN: r30040

24 years agogcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
Richard Henderson [Sat, 16 Oct 1999 07:08:27 +0000 (00:08 -0700)]
gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.

        * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
        (expr_equiv_p): Reject memories with different alias sets.

From-SVN: r30039

24 years agolex.c (lang_init_options): Set flag_bounds_check as "unspecified".
Greg McGary [Sat, 16 Oct 1999 01:27:32 +0000 (01:27 +0000)]
lex.c (lang_init_options): Set flag_bounds_check as "unspecified".

* lex.c (lang_init_options): Set flag_bounds_check as "unspecified".
(lang_init): Set default for flag_bounds_check if still "unspecified".

From-SVN: r30038

24 years agotop.h (ffe_is_subscript_check_): Remove extern decl.
Greg McGary [Sat, 16 Oct 1999 01:26:10 +0000 (01:26 +0000)]
top.h (ffe_is_subscript_check_): Remove extern decl.

* top.h (ffe_is_subscript_check_): Remove extern decl.
(ffe_is_subscript_check, ffe_set_is_subscript_check): Remove macros.
* top.c (ffe_is_subscript_check_): Remove global variable.
(ffe_decode_option): Remove "(no-)bounds-check" flag handling.
Set flag_bounds_check for "(no-)fortran-bounds-check".
* com.c
(ffecom_arrayref_): s/ffe_is_subscript_check ()/flag_bounds_check/
(ffecom_char_args_x_): Ditto.

From-SVN: r30037

24 years agojava-tree.h (flag_bounds_check): Remove extern decl.
Greg McGary [Sat, 16 Oct 1999 01:25:52 +0000 (01:25 +0000)]
java-tree.h (flag_bounds_check): Remove extern decl.

* java-tree.h (flag_bounds_check): Remove extern decl.
* lang.c (flag_bounds_check): Remove global variable.
(lang_f_options): Remove "bounds-check" entry.
(lang_init_options): Default flag_bounds_check to "on".

From-SVN: r30036

24 years agoflags.h (flag_bounds_check, [...]): New extern decls.
Greg McGary [Sat, 16 Oct 1999 01:25:01 +0000 (01:25 +0000)]
flags.h (flag_bounds_check, [...]): New extern decls.

* flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
* toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
(f_options): Add "bounded-pointers" and "bounds-check" entries.
* c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
(lang_init): Set default for flag_bounds_check if still "unspecified".

From-SVN: r30035

24 years ago* config/c4x/c4x.md (HF mode patterns): Add missing modes.
Michael Hayes [Sat, 16 Oct 1999 00:43:59 +0000 (00:43 +0000)]
* config/c4x/c4x.md (HF mode patterns):  Add missing modes.

From-SVN: r30034

24 years agoc4x.md (movstrqi_small): Utilise parallel move instructions.
Michael Hayes [Sat, 16 Oct 1999 00:39:15 +0000 (00:39 +0000)]
c4x.md (movstrqi_small): Utilise parallel move instructions.

* config/c4x/c4x.md (movstrqi_small): Utilise parallel move
instructions.

From-SVN: r30033

24 years agoTry again!?
Michael Hayes [Sat, 16 Oct 1999 00:31:18 +0000 (00:31 +0000)]
Try again!?

From-SVN: r30032

24 years ago* config/c4x/c4x.md (*db_noclobber,
Michael Hayes [Sat, 16 Oct 1999 00:29:20 +0000 (00:29 +0000)]
* config/c4x/c4x.md (*db_noclobber,

*decrement_and_branch_until_zero_noclobber): New patterns and
associated splitters.

From-SVN: r30031

24 years agoc4x.md (parallel instruction patterns): Rework constraints to keep reload happy.
Michael Hayes [Sat, 16 Oct 1999 00:15:44 +0000 (00:15 +0000)]
c4x.md (parallel instruction patterns): Rework constraints to keep reload happy.

* config/c4x/c4x.md (parallel instruction patterns): Rework
constraints to keep reload happy.

From-SVN: r30030

24 years ago* config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
Michael Hayes [Sat, 16 Oct 1999 00:09:36 +0000 (00:09 +0000)]
* config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,

*one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
*andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
Add new patterns and associated post-reload splitters.

From-SVN: r30029

24 years ago* config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
Michael Hayes [Fri, 15 Oct 1999 23:46:06 +0000 (23:46 +0000)]
* config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.

From-SVN: r30028

24 years agoc4x.c (c4x_rptb_insert): Emit rpts_top pattern if appropriate.
Michael Hayes [Fri, 15 Oct 1999 23:37:53 +0000 (23:37 +0000)]
c4x.c (c4x_rptb_insert): Emit rpts_top pattern if appropriate.

* config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
if appropriate.
* config/c4x/c4x.md (rpts_top): New pattern and splitter.

From-SVN: r30027

24 years agoc4x.c (src_operand): Check SYMBOL_REF and LABEL_REF memory mode.
Michael Hayes [Fri, 15 Oct 1999 23:29:00 +0000 (23:29 +0000)]
c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF memory mode.

* config/c4x/c4x.c (src_operand):  Check SYMBOL_REF and LABEL_REF
memory mode.

From-SVN: r30026

24 years agopa.c (move_operand): Rely on memory_address_p to determine the validity of non-indexe...
Jeffrey A Law [Fri, 15 Oct 1999 23:04:06 +0000 (23:04 +0000)]
pa.c (move_operand): Rely on memory_address_p to determine the validity of non-indexed memory addresses.

        * pa.c (move_operand): Rely on memory_address_p to determine the
        validity of non-indexed memory addresses.
        * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
        operand in DFmode and SFmode when generating PA2.0 code.

From-SVN: r30025

24 years ago* print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
Richard Henderson [Fri, 15 Oct 1999 21:26:33 +0000 (14:26 -0700)]
* print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.

From-SVN: r30024

24 years agomips.c (function_prologue): Fix argument types.
Richard Henderson [Fri, 15 Oct 1999 20:51:10 +0000 (13:51 -0700)]
mips.c (function_prologue): Fix argument types.

        * mips.c (function_prologue): Fix argument types.
        * mips.md (casesi): Use emit_jump_insn for casesi_internal.
        (casesi_internal): Write to the scratch register.

From-SVN: r30023

24 years agocppexp.c (cpp_parse_escape): Make static.
Zack Weinberg [Fri, 15 Oct 1999 18:18:46 +0000 (18:18 +0000)]
cppexp.c (cpp_parse_escape): Make static.

1999-10-15 11:16 -0700  Zack Weinberg  <zack@bitmover.com>

* cppexp.c (cpp_parse_escape): Make static.  Change second arg
to U_CHAR **.
(parse_charconst): Delete unnecessary cast when calling
cpp_parse_escape.
(cpplib.h): Kill prototype of cpp_parse_escape.

From-SVN: r30022

24 years agoBased on patch from Michael Gschwind <mikeg@watson.ibm.com>:
Richard Henderson [Fri, 15 Oct 1999 18:07:48 +0000 (11:07 -0700)]
Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:

        * unroll.c (unroll_loop): Cast return value of alloca.
        * i370/i370.c: Include function.h and toplev.h.
        (i370_label_scan): Remove c++ commented abort.
        * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
        (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
        * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
        * i370/xm-mvs.h, i370/xm-oe.h: Likewise.

From-SVN: r30021

24 years agogij.cc (main): Formatting fixes.
Tom Tromey [Fri, 15 Oct 1999 16:53:41 +0000 (16:53 +0000)]
gij.cc (main): Formatting fixes.

* gij.cc (main): Formatting fixes.
(_Jv_Compiler_Properties): Define.
* java/lang/natSystem.cc (_Jv_Environment_Properties): Don't
declare.
(init_properties): Set properites from _Jv_Compiler_Properties.
* include/java-props.h (_Jv_Compiler_Properties,
_Jv_Environment_Properties): Declare.

From-SVN: r30020

24 years agojvgenmain.c (usage): New function.
Tom Tromey [Fri, 15 Oct 1999 16:45:31 +0000 (16:45 +0000)]
jvgenmain.c (usage): New function.

* jvgenmain.c (usage): New function.
(main): Use it.  Also, handle `-D' options.
* jvspec.c (lang_specific_driver): Recognize -D.
(jvgenmain_spec): Added `%{D*}' to jvgenmain invocation.

From-SVN: r30019

24 years ago* include/java-props.h: Added copyright.
Tom Tromey [Fri, 15 Oct 1999 15:42:26 +0000 (15:42 +0000)]
* include/java-props.h: Added copyright.

From-SVN: r30018

24 years agot-freebsd: Do not override USER_H.
Loren J. Rittle [Fri, 15 Oct 1999 09:04:53 +0000 (03:04 -0600)]
t-freebsd: Do not override USER_H.

        * config/t-freebsd: Do not override USER_H.
        * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.

From-SVN: r30017

24 years agoc-parse.in (component_decl): Support anonymous struct/union.
Alastair J. Houghton [Fri, 15 Oct 1999 08:42:02 +0000 (08:42 +0000)]
c-parse.in (component_decl): Support anonymous struct/union.

        * c-parse.in (component_decl): Support anonymous struct/union.
        (%expect): Update.
        * c-parse.y: Regenerate.
        * c-parse.c: Likewise.
        * objc/objc-parse.y: Likewise.
        * objc/objc-parse.c: Likewise.
        * c-decl.c (finish_struct): Don't sort the fields.
        (field_decl_cmp): Delete unused function.

Co-Authored-By: Mumit Khan <khan@xraylith.wisc.edu>
From-SVN: r30016

24 years agosparc.md (movsf_const_intreg): Revert last constraint change.
Richard Henderson [Fri, 15 Oct 1999 08:25:13 +0000 (01:25 -0700)]
sparc.md (movsf_const_intreg): Revert last constraint change.

        * sparc.md (movsf_const_intreg): Revert last constraint change.
        (movdf_const_intreg_sp32): Likewise.

From-SVN: r30015

This page took 0.098938 seconds and 5 git commands to generate.