gcc.git
24 years agoExpect error messages from cross targets as well as native targets.
Nick Clifton [Fri, 5 Nov 1999 09:58:18 +0000 (09:58 +0000)]
Expect error messages from cross targets as well as native targets.

From-SVN: r30413

24 years agoMakefile.in (typeck2.o): Depend on output.h.
Mark Mitchell [Fri, 5 Nov 1999 09:26:11 +0000 (09:26 +0000)]
Makefile.in (typeck2.o): Depend on output.h.

* Makefile.in (typeck2.o): Depend on output.h.
* typeck2.c: Include output.h.

* decl.c (flag_ansi): Remove declaration.

* pt.c (tinst_level_tick): Make it static.
(last_template_error_tick): Likewise.

* cp-tree.h (mapcar): Remove declaration.
(search_tree): Likewise.
(walk_tree_fn): New typedef.
(walk_tree): New function.
* tree.c (bot_manip): Change prototype.  Adjust to be called via
walk_tree.
(bot_replace): Likewise.
(no_linkage_helper): Likewise.
(copy_tree_r): New function.
(search_tree): Rename, and adjust, to become ...
(walk_tree): New function.
(mapcar): Remove.
(target_remap): Remove.
(target_remap_count): Likewise.
(break_out_target_exprs): Use walk_tree.
* decl.c (local_variable_p): Change prototype.
(check_default_argument): Use walk_tree.
* pt.c (for_each_template_parm_r): New function, split out from ...
(for_each_template_parm): Here.  Use it, via walk_tree.

From-SVN: r30412

24 years agoMakefile.in (typeck2.o): Depend on output.h.
Mark Mitchell [Fri, 5 Nov 1999 09:21:53 +0000 (09:21 +0000)]
Makefile.in (typeck2.o): Depend on output.h.

* Makefile.in (typeck2.o): Depend on output.h.
* typeck2.c: Include output.h.

From-SVN: r30411

24 years agogenoutput.c (null_operand =): Initialize all fields.
Andreas Jaeger [Fri, 5 Nov 1999 09:12:56 +0000 (10:12 +0100)]
genoutput.c (null_operand =): Initialize all fields.

        * genoutput.c (null_operand =): Initialize all fields.

        * errors.h: Add extern to prototypes.

From-SVN: r30410

24 years agoconfigure.in (m68k-next-nextstep4): Handle Openstep 4.2.
Jeffrey A Law [Fri, 5 Nov 1999 08:50:01 +0000 (08:50 +0000)]
configure.in (m68k-next-nextstep4): Handle Openstep 4.2.

        * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
        * configure: Rebuilt.

From-SVN: r30409

24 years agoDaily bump.
Jeff Law [Fri, 5 Nov 1999 08:45:06 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r30408

24 years ago[multiple changes]
Jeff Law [Fri, 5 Nov 1999 08:31:48 +0000 (01:31 -0700)]
[multiple changes]

Fri Nov  5 01:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>

        * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
        (mirror_conflicts): New function.
        (global_alloc): Call it.
        (expand_preferences): Remove redundant CONFLICTP test.
        (find_reg, dump_conflicts): Likewise.
        (prune_preferences): Process conflicts one word at a time.

Fri Nov  5 01:05:21 1999  Richard Henderson <rth@cygnus.com>

        * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
        instead of an explicit loop.

From-SVN: r30407

24 years agoFix cse bug that broke the ia64 port.
Jim Wilson [Fri, 5 Nov 1999 07:08:13 +0000 (07:08 +0000)]
Fix cse bug that broke the ia64 port.

* cse.c (cse_insn): Revert Oct 31 change.  When computing src_elt,
if REG_RETVAL check succeeds, then put classp in src_elt.

From-SVN: r30406

24 years agofunction.c (pad_to_arg_alignment): Only update argument_pad if the argument's alignme...
Jeffrey A Law [Fri, 5 Nov 1999 06:49:38 +0000 (06:49 +0000)]
function.c (pad_to_arg_alignment): Only update argument_pad if the argument's alignment is greater than STACK_BOUNDARY.

        * function.c (pad_to_arg_alignment): Only update argument_pad
        if the argument's alignment is greater than STACK_BOUNDARY.

From-SVN: r30405

24 years agobitmap.h (BITMAP_XFREE): New.
Richard Henderson [Fri, 5 Nov 1999 00:49:03 +0000 (16:49 -0800)]
bitmap.h (BITMAP_XFREE): New.

        * bitmap.h (BITMAP_XFREE): New.
        * flow.c (life_analysis): Use it.
        (life_analysis_1): Free blocks.

        * combine.c (undo_commit): New.
        (try_combine): Use it.  Don't zap undobuf.undos.
        (combine_instructions): Don't zap undobuf.undos; free the
        undobuf.frees list.

        * local-alloc.c (local_alloc): Free qty_phys_num_sugg.

        * stmt.c (cost_table_): New.
        (estimate_case_costs): Use it instead of xmalloc.

        * toplev.c (compile_file): Reuse dumpname memory instead
        of strdup'ing it.

From-SVN: r30404

24 years agohaifa-sched.c (init_rgn_data_dependences): Correctly size bb_pending_lists_length...
Richard Henderson [Fri, 5 Nov 1999 00:41:11 +0000 (16:41 -0800)]
haifa-sched.c (init_rgn_data_dependences): Correctly size bb_pending_lists_length when zeroing.

        * haifa-sched.c (init_rgn_data_dependences): Correctly
        size bb_pending_lists_length when zeroing.

From-SVN: r30403

24 years agoreg-stack.c (convert_regs_1): Initialize target_stack->top after verifying an EH...
Richard Henderson [Fri, 5 Nov 1999 00:37:48 +0000 (16:37 -0800)]
reg-stack.c (convert_regs_1): Initialize target_stack->top after verifying an EH edge.

        * reg-stack.c (convert_regs_1): Initialize target_stack->top
        after verifying an EH edge.

From-SVN: r30402

24 years agofunction.c (diddle_return_value): New.
Richard Henderson [Fri, 5 Nov 1999 00:35:10 +0000 (16:35 -0800)]
function.c (diddle_return_value): New.

        * function.c (diddle_return_value): New.
        (expand_function_end): Use it.
        * stmt.c (expand_null_return): Likewise.
        (expand_value_return): Likewise.

        * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.

        * reload1.c (reload): Don't remove return value clobbers.

From-SVN: r30401

24 years ago* rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
Richard Henderson [Thu, 4 Nov 1999 21:35:22 +0000 (13:35 -0800)]
* rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.

From-SVN: r30400

24 years agocse.c (cse_main): Use xmalloc, not alloca.
Richard Henderson [Thu, 4 Nov 1999 20:51:04 +0000 (12:51 -0800)]
cse.c (cse_main): Use xmalloc, not alloca.

        * cse.c (cse_main): Use xmalloc, not alloca.
        (cse_basic_block): Likewise.
        * local-alloc.c (local_alloc): Likewise.

From-SVN: r30399

24 years agortl.c: Include toplev.h.
David Billinghurst [Thu, 4 Nov 1999 19:51:48 +0000 (19:51 +0000)]
rtl.c: Include toplev.h.

* rtl.c: Include toplev.h.
(fatal): Remove declaration.

From-SVN: r30398

24 years agonatClass.cc (method_cache_count): Removed.
Tom Tromey [Thu, 4 Nov 1999 19:47:01 +0000 (19:47 +0000)]
natClass.cc (method_cache_count): Removed.

* java/lang/natClass.cc (method_cache_count): Removed.
(_Jv_FindMethodInCache): Don't loop looking for the hash entry.
(_Jv_AddMethodToCache): Don't loop.

From-SVN: r30397

24 years agoMakefile.in: Rebuilt.
Tom Tromey [Thu, 4 Nov 1999 19:39:50 +0000 (19:39 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.

From-SVN: r30396

24 years agomisc.c (GC_init_inner): Don't call GC_init_linuxppc().
Tom Tromey [Thu, 4 Nov 1999 18:53:24 +0000 (18:53 +0000)]
misc.c (GC_init_inner): Don't call GC_init_linuxppc().

* misc.c (GC_init_inner): Don't call GC_init_linuxppc().
(GC_thr_init): Don't declare.

From-SVN: r30395

24 years agoconfigure: Rebuilt.
Tom Tromey [Thu, 4 Nov 1999 17:25:07 +0000 (17:25 +0000)]
configure: Rebuilt.

* configure: Rebuilt.
* configure.in: Removed qt threads case.
* dyn_load.c: Don't mention QUICK_THREADS.
* os_dep.c: Don't mention QUICK_THREADS.
* misc.c: Don't mention QUICK_THREADS.
* gcconfig.h: Don't mention QUICK_THREADS.
* gc_priv.h: Removed QUICK_THREADS code.
* quick_threads.c: Removed.

From-SVN: r30394

24 years agoconfigure.in: Removed `qt' threads case.
Tom Tromey [Thu, 4 Nov 1999 17:12:25 +0000 (17:12 +0000)]
configure.in: Removed `qt' threads case.

* configure.in: Removed `qt' threads case.
* include/quick-threads.h: Removed.
* quick-threads.cc: Removed.

From-SVN: r30393

24 years agoquick-threads.h (_Jv_ThreadCancel): Removed.
Tom Tromey [Thu, 4 Nov 1999 16:45:11 +0000 (16:45 +0000)]
quick-threads.h (_Jv_ThreadCancel): Removed.

* include/quick-threads.h (_Jv_ThreadCancel): Removed.
(_Jv_ThreadDestroy): Likewise.
* include/no-threads.h (_Jv_ThreadCancel): Removed.
(_Jv_ThreadDestroy): Likewise.
* include/posix-threads.h (struct _Jv_Thread_t): Removed
`exception' field.
(_Jv_ThreadCancel): Removed decl.
(_Jv_ThreadDestroy): Removed.
* posix-threads.cc (_Jv_ThreadCancel): Removed.
(throw_cleanup): Removed.
(really_start): Don't push or pop cleanup.
(_Jv_ThreadInitData): Don't initialize `exception' field.
* java/lang/Thread.java (stop): Officially unimplemented.
* java/lang/natThread.cc (stop): Officially unimplemented.

From-SVN: r30392

24 years agoAllow for systems that do not have S_IR* defined values
Bruce Korb [Thu, 4 Nov 1999 14:50:44 +0000 (14:50 +0000)]
Allow for systems that do not have S_IR* defined values
Do not call realloc with a NULL pointer

From-SVN: r30391

24 years ago* haifa-sched.c (schedule_block): Fix thinko.
Jeffrey A Law [Thu, 4 Nov 1999 13:39:28 +0000 (13:39 +0000)]
* haifa-sched.c (schedule_block): Fix thinko.

From-SVN: r30390

24 years agoDaily bump.
Jeff Law [Thu, 4 Nov 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r30389

24 years agoflags.h (flag_renumber_insns): Declare.
Mark Mitchell [Thu, 4 Nov 1999 07:23:58 +0000 (07:23 +0000)]
flags.h (flag_renumber_insns): Declare.

* flags.h (flag_renumber_insns): Declare.
* emit-rtl.c (renumber_insns): Check flag_renumber_insns.  Print
renumbering table.
* rtl.h (renumber_insns): Change prototype.
* toplev.c (flag_renumber_insns): Define.
(rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.

From-SVN: r30388

24 years agortl.h (renumber_insns): New function.
Mark Mitchell [Thu, 4 Nov 1999 06:44:29 +0000 (06:44 +0000)]
rtl.h (renumber_insns): New function.

* rtl.h (renumber_insns): New function.
(remove_unnecessary_notes): Likewise.
* emit-rtl.c (renumber_insns): Define.
(remove_unncessary_notes): Likewise.
* toplev.c (rest_of_compilation): Remove dead code.
Use renumber_insns and remove_unncessary_notes.

From-SVN: r30387

24 years ago[multiple changes]
David S. Miller [Wed, 3 Nov 1999 23:25:02 +0000 (15:25 -0800)]
[multiple changes]

Wed Nov  3 15:11:27 1999  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
and fpsqrtd.  Use them and create fdiv function unit to more
accurately represent fpu sqrt pipeline semantics on UltraSparc.
* config/sparc/sparc.c: Account for fpsqrt{s,d} changes.

Wed Nov  3 15:11:27 1999  Matteo Frigo <athena@fftw.org>

* config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
3 on UltraSparc.
* config/sparc/sparc.c (ultra_schedule_insn): Insert launched
insn into ready list, do not use just a raw swap.

From-SVN: r30386

24 years agortl.h (renumber_insns): New function.
Mark Mitchell [Wed, 3 Nov 1999 23:18:57 +0000 (23:18 +0000)]
rtl.h (renumber_insns): New function.

* rtl.h (renumber_insns): New function.
(remove_unnecessary_notes): Likewise.
* emit-rtl.c (renumber_insns): Define.
(remove_unncessary_notes): Likewise.
* toplev.c (rest_of_compilation): Remove dead code.
Use renumber_insns and remove_unncessary_notes.

From-SVN: r30385

24 years agogcse.c (struct null_pointer_info): New type.
Mark Mitchell [Wed, 3 Nov 1999 22:45:45 +0000 (22:45 +0000)]
gcse.c (struct null_pointer_info): New type.

* gcse.c (struct null_pointer_info): New type.
(get_bitmap_width): New function.
(current_block): Remove.
(nonnull_local): Likewise.
(nonnull_killed): Likewise.
(invalidate_nonnull_info): Take a null_pointer_info as input.
(delete_null_pointer_checks_1): New function.
(delete_null_pointer_checks): Use it.

From-SVN: r30384

24 years agohaifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
Mark Mitchell [Wed, 3 Nov 1999 22:44:10 +0000 (22:44 +0000)]
haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.

* haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
(split_edges): Likewise.
(schedule_block): Likewise.
(compute_block_backward_dependencies): Likewise.
(schedule_region): Likewise.
(schedule_insns): Likewise.

From-SVN: r30383

24 years agodefaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
Catherine Moore [Wed, 3 Nov 1999 21:55:51 +0000 (21:55 +0000)]
defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.

        * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
        * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
        * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
        * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
        * jump.c (delete_unreferenced_labels): Don't delete if
        LABEL_ALTERNATE_NAME is set.
        * print-rtl.c (print_rtx): Dump alternate name.
        * rtl.def (CODE_LABEL): Change format to "iuuis00s".
        * rtl.h (LABEL_ALTERNATE_NAME): Define.
        * rtl.texi (LABEL_ALTERNATE_NAME): Document.
        * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.

From-SVN: r30382

24 years agoclass.c (check_bitfield_decl): New function, split out from finish_stuct_1.
Mark Mitchell [Wed, 3 Nov 1999 21:34:04 +0000 (21:34 +0000)]
class.c (check_bitfield_decl): New function, split out from finish_stuct_1.

* class.c (check_bitfield_decl): New function, split out from
finish_stuct_1.
(check_field_decl): Likewise.  Recursively examine members of
anonymous structs.
(finish_struct_1): Use them.
* cp-tree.h (ANON_UNION_TYPE_P): New macro.

From-SVN: r30381

24 years agofix-header.c (recognized_extern, [...]): Constify a char*.
Kaveh R. Ghazi [Wed, 3 Nov 1999 20:40:32 +0000 (20:40 +0000)]
fix-header.c (recognized_extern, [...]): Constify a char*.

        * fix-header.c (recognized_extern, recognized_function): Constify
        a char*.

        * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
        (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
        (compute_available): Remove unused variable `last'.
        (compute_nearerout): Remove unused variable `temp_bitmap'.
        (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
        Remove unused variable `x'.

        * scan.h (recognized_function, recognized_extern): Constify a
        char*.

        * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.

From-SVN: r30380

24 years agoActually removed files which were supposedly
Tom Tromey [Wed, 3 Nov 1999 19:25:13 +0000 (19:25 +0000)]
Actually removed files which were supposedly
removed a long time ago.

From-SVN: r30379

24 years agovarasm.c (decode_rtx_const): Use XSTR to access the string of a SYMBOL_REF.
Franz Sirl [Wed, 3 Nov 1999 18:42:17 +0000 (10:42 -0800)]
varasm.c (decode_rtx_const): Use XSTR to access the string of a SYMBOL_REF.

         * varasm.c (decode_rtx_const): Use XSTR to access the string
         of a SYMBOL_REF.

From-SVN: r30378

24 years ago* c-decl.c (duplicate_decls): Copy DECL_MODE too.
Richard Henderson [Wed, 3 Nov 1999 18:11:23 +0000 (10:11 -0800)]
* c-decl.c (duplicate_decls): Copy DECL_MODE too.

From-SVN: r30377

24 years ago* gcconfig.h: Merged in local changes from old config.h.
Tom Tromey [Wed, 3 Nov 1999 17:26:59 +0000 (17:26 +0000)]
* gcconfig.h: Merged in local changes from old config.h.

From-SVN: r30376

24 years agopa.c (ireg_operand): New function.
Jeffrey A Law [Wed, 3 Nov 1999 13:25:17 +0000 (13:25 +0000)]
pa.c (ireg_operand): New function.

        * pa.c (ireg_operand): New function.
        * pa.h (PREDICATE_CODES): Handle ireg_operand.
        * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
        Fix out of date comment.

From-SVN: r30375

24 years ago* pa.md (negdi2): Turn into expander + anonymous pattern.
Jeffrey A Law [Wed, 3 Nov 1999 12:45:21 +0000 (12:45 +0000)]
* pa.md (negdi2): Turn into expander + anonymous pattern.

From-SVN: r30374

24 years ago* reload.c (find_reloads): Fix typos in recent change.
Jeffrey A Law [Wed, 3 Nov 1999 12:43:35 +0000 (12:43 +0000)]
* reload.c (find_reloads): Fix typos in recent change.

From-SVN: r30373

24 years agoCopy reg notes in eliminate_regs_in_insn.
Bernd Schmidt [Wed, 3 Nov 1999 11:23:27 +0000 (11:23 +0000)]
Copy reg notes in eliminate_regs_in_insn.

From-SVN: r30372

24 years ago* dwarf2out.c: Do not include ctype.h.
Jeffrey A Law [Wed, 3 Nov 1999 10:28:30 +0000 (10:28 +0000)]
* dwarf2out.c: Do not include ctype.h.

From-SVN: r30371

24 years agoDaily bump.
Jeff Law [Wed, 3 Nov 1999 08:45:39 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r30369

24 years ago* decl.c (grokfndecl): Remove dead code.
Mark Mitchell [Wed, 3 Nov 1999 06:58:48 +0000 (06:58 +0000)]
* decl.c (grokfndecl): Remove dead code.

From-SVN: r30368

24 years ago* dump.c (dequeue_and_dump): Fix thinko for catch-clauses.
Mark Mitchell [Wed, 3 Nov 1999 06:54:37 +0000 (06:54 +0000)]
* dump.c (dequeue_and_dump): Fix thinko for catch-clauses.

From-SVN: r30367

24 years agodecl2.c (build_expr_from_tree): Handle REALPART_EXPR and IMAGPART_EXPR.
Scott Snyder [Wed, 3 Nov 1999 06:52:46 +0000 (06:52 +0000)]
decl2.c (build_expr_from_tree): Handle REALPART_EXPR and IMAGPART_EXPR.

1999-11-02  Scott Snyder  <snyder@fnal.gov>

        * decl2.c (build_expr_from_tree): Handle REALPART_EXPR and
        IMAGPART_EXPR.
* pt.c (tsubst_copy): Likewise.

From-SVN: r30366

24 years agoposix-threads.cc: Don't include boehm-config.h.
Bryce McKinlay [Wed, 3 Nov 1999 03:10:22 +0000 (03:10 +0000)]
posix-threads.cc: Don't include boehm-config.h.

1999-11-02  Bryce McKinlay  <bryce@albatross.co.nz>

        * posix-threads.cc: Don't include boehm-config.h. Include gcconfig.h
        instead.

From-SVN: r30365

24 years agogcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
Bryce McKinlay [Wed, 3 Nov 1999 03:04:52 +0000 (03:04 +0000)]
gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.

1999-11-02  Bryce McKinlay  <bryce@albatross.co.nz>

        * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.

From-SVN: r30364

24 years agoregclass.c (record_reg_classes): Always use may_move_cost when seeing how operand...
Richard Kenner [Wed, 3 Nov 1999 02:52:18 +0000 (02:52 +0000)]
regclass.c (record_reg_classes): Always use may_move_cost when seeing how operand fits with various register classes.

* regclass.c (record_reg_classes): Always use may_move_cost when
seeing how operand fits with various register classes.

From-SVN: r30362

24 years agoposix-threads.cc: Don't include boehm-config.h.
Bryce McKinlay [Wed, 3 Nov 1999 02:13:40 +0000 (02:13 +0000)]
posix-threads.cc: Don't include boehm-config.h.

1999-11-02  Bryce McKinlay  <bryce@albatross.co.nz>

        * posix-threads.cc: Don't include boehm-config.h.

From-SVN: r30361

24 years ago* quick_threads.c: Include gcconfig.h, not boehm-config.h.
Tom Tromey [Wed, 3 Nov 1999 01:26:31 +0000 (01:26 +0000)]
* quick_threads.c: Include gcconfig.h, not boehm-config.h.

From-SVN: r30360

24 years ago* boehm.cc: Don't include boehm-config.h.
Tom Tromey [Wed, 3 Nov 1999 01:15:40 +0000 (01:15 +0000)]
* boehm.cc: Don't include boehm-config.h.

From-SVN: r30359

24 years agoconfigure: Rebuilt.
Tom Tromey [Wed, 3 Nov 1999 01:11:03 +0000 (01:11 +0000)]
configure: Rebuilt.

* configure: Rebuilt.
* configure.in: Don't create boehm-config.h.
* Makefile.in: Rebuilt.
* Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
config.h.
($(all_objs)): Depend on gcconfig.h.
* gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
* gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
* config.h: Removed.

From-SVN: r30358

24 years agoresource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
Richard Henderson [Tue, 2 Nov 1999 23:43:44 +0000 (15:43 -0800)]
resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.

        * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
        * toplev.c: Revert Nov 1 13:22 change.

From-SVN: r30357

24 years agoultrasp1.c: Removed xfail.
Alexandre Oliva [Tue, 2 Nov 1999 21:08:34 +0000 (21:08 +0000)]
ultrasp1.c: Removed xfail.

* gcc.dg/ultrasp1.c: Removed xfail.
* gcc.dg/struct-ret-2.c: Likewise.
* gcc.dg/array-1.c: Likewise.

From-SVN: r30356

24 years agopa.md (height reduction patterns): Add checks for overlapping operands to avoid seman...
Jason Eckhardt [Tue, 2 Nov 1999 20:29:50 +0000 (20:29 +0000)]
pa.md (height reduction patterns): Add checks for overlapping operands to avoid semantic-destroying splits for...

Tue Nov  2 14:21:37 1999  Jason Eckhardt  <jle@cygnus.com>

        * config/pa/pa.md (height reduction patterns): Add checks for
        overlapping operands to avoid semantic-destroying splits for
        height reduction patterns.

From-SVN: r30355

24 years agoconfigure.in (m68k-hp-hpux*, [...]): The underscore should have been an hyphen, fixed.
Alexandre Oliva [Tue, 2 Nov 1999 17:46:16 +0000 (17:46 +0000)]
configure.in (m68k-hp-hpux*, [...]): The underscore should have been an hyphen, fixed.

* configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
have been an hyphen, fixed.
* configure: Rebuilt.

From-SVN: r30354

24 years agoFix compile time warnings
Nick Clifton [Tue, 2 Nov 1999 17:06:24 +0000 (17:06 +0000)]
Fix compile time warnings

From-SVN: r30353

24 years agojump.c (jump_optimize_1): Swap the incscc and the conditional mode detection code
Jan Hubicka [Tue, 2 Nov 1999 16:37:23 +0000 (17:37 +0100)]
jump.c (jump_optimize_1): Swap the incscc and the conditional mode detection code

        * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
        detection code

        * unroll.c (unroll_loop): Remove LOOP notes when loop is
        completely unrolled.

From-SVN: r30352

24 years agoDelete two useless declarations.
Bernd Schmidt [Tue, 2 Nov 1999 16:00:03 +0000 (16:00 +0000)]
Delete two useless declarations.

From-SVN: r30351

24 years agoMakefile.in (genattrtab): Don't use (HOST_RTLANAL).
Catherine Moore [Tue, 2 Nov 1999 15:48:26 +0000 (15:48 +0000)]
Makefile.in (genattrtab): Don't use (HOST_RTLANAL).

        * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
        * rtl.h (rtx_equal_p): Move prototype.
        * rtl.c (rtx_equal_function_value_matters): Move from
        rtlanal.c
        (rtx_equal_p): Likewise.
        * rtlanal.c (rtx_equal_function_value_matters): Delete.
        (rtx_equal_p): Likewise.

From-SVN: r30350

24 years agoresource.c (mark_target_live_regs): For unconditional branches...
Diego Novillo [Tue, 2 Nov 1999 14:41:16 +0000 (14:41 +0000)]
resource.c (mark_target_live_regs): For unconditional branches...

* resource.c (mark_target_live_regs): For unconditional branches,
the resources found at the branch target should be added to the
resources found so far, not intersected.

From-SVN: r30349

24 years ago* xstrdup (sys/types.h): Include this file.
Philippe De Muyter [Tue, 2 Nov 1999 10:25:28 +0000 (11:25 +0100)]
* xstrdup (sys/types.h): Include this file.

From-SVN: r30347

24 years ago* gcc.1 (PA options): Remove obsolete -mshared-libs options.
Jeffrey A Law [Tue, 2 Nov 1999 10:23:46 +0000 (10:23 +0000)]
* gcc.1 (PA options): Remove obsolete -mshared-libs options.

From-SVN: r30346

24 years ago* pa.h (ADDR_VEC_ALIGN): Define.
Jeffrey A Law [Tue, 2 Nov 1999 08:50:55 +0000 (08:50 +0000)]
* pa.h (ADDR_VEC_ALIGN): Define.

From-SVN: r30345

24 years agoDaily bump.
Jeff Law [Tue, 2 Nov 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r30344

24 years agoparse.y (method_header:): Issue error message for rule `type error'.
Alexandre Petit-Bianco [Tue, 2 Nov 1999 07:51:19 +0000 (07:51 +0000)]
parse.y (method_header:): Issue error message for rule `type error'.

Mon Nov  1 23:42:00 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (method_header:): Issue error message for rule `type
  error'.
(synchronized:): Error report when not using synchronized.

From-SVN: r30343

24 years agodecl2.c (maybe_make_one_only): Always make things comdat on ELF targets, too.
Jason Merrill [Tue, 2 Nov 1999 07:33:05 +0000 (07:33 +0000)]
decl2.c (maybe_make_one_only): Always make things comdat on ELF targets, too.

* decl2.c (maybe_make_one_only): Always make things comdat on
ELF targets, too.

From-SVN: r30341

24 years agotweak comment
Jason Merrill [Tue, 2 Nov 1999 07:26:47 +0000 (02:26 -0500)]
tweak comment

From-SVN: r30340

24 years agolibgcc2.c (__do_global_dtors): Only do EH frame stuff if ! HAS_INIT_SECTION.
Jason Merrill [Tue, 2 Nov 1999 07:24:27 +0000 (07:24 +0000)]
libgcc2.c (__do_global_dtors): Only do EH frame stuff if ! HAS_INIT_SECTION.

* libgcc2.c (__do_global_dtors): Only do EH frame stuff if
! HAS_INIT_SECTION.

From-SVN: r30339

24 years agojump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT notes when presented...
Jeffrey A Law [Tue, 2 Nov 1999 07:22:47 +0000 (07:22 +0000)]
jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT notes when presented with "if (foo) break...

        * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
        notes when presented with "if (foo) break; end_of_loop" and
        the break sequence gets moved out of the loop.

From-SVN: r30338

24 years agounroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
Jeffrey A Law [Tue, 2 Nov 1999 06:39:04 +0000 (06:39 +0000)]
unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.

        * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
        Remove explicit zero initializations of entries within MAP.

From-SVN: r30337

24 years ago* reg-stack.c (convert_regs_1): Handle EH edges specially.
Richard Henderson [Tue, 2 Nov 1999 02:09:55 +0000 (18:09 -0800)]
* reg-stack.c (convert_regs_1): Handle EH edges specially.

From-SVN: r30336

24 years agoboehm.cc (_Jv_InitGC): Set GC_java_finalization.
Tom Tromey [Tue, 2 Nov 1999 00:12:10 +0000 (00:12 +0000)]
boehm.cc (_Jv_InitGC): Set GC_java_finalization.

* boehm.cc (_Jv_InitGC): Set GC_java_finalization.
(sum_blocks): Removed.
(_Jv_GCFreeMemory): Use GC_get_free_bytes.

From-SVN: r30335

24 years agoRemove duplicate of friend18.C
Mark Mitchell [Mon, 1 Nov 1999 23:38:57 +0000 (23:38 +0000)]
Remove duplicate of friend18.C

From-SVN: r30334

24 years agobitmap.h (BITMAP_XMALLOC): New macro.
Mark Mitchell [Mon, 1 Nov 1999 23:19:44 +0000 (23:19 +0000)]
bitmap.h (BITMAP_XMALLOC): New macro.

* bitmap.h (BITMAP_XMALLOC): New macro.
* flow.c (CLEAN_ALLOCA): Remove.
(delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
(life_analysis): Likewise.
(update_life_info): Don't use CLEAN_ALLOCA.
(life_analysis_1): Use xmalloc/xcalloc instead of alloca.
(calculate_global_regs_live): Likewise.
(print_rtl_with_bb): Likewise.
(verify_flow_info): Likewise.
* global.c (global_alloc): Likewise.
(global_conflicts): Likewise.
* integrate.c (save_for_inline_nocopy): Likewise.
(expand_inline_function): Likewise.
* jump.c (jump_optimize_1): Likewise.
(duplicate_loop_exit_test): Likewise.
(thread_jumps): Likewise.
* loop.c (loop_optimize): Likewise.
(combine_givs): Likewise.
(recombine_givs): Likewise.
* reorg.c (dbr_schedule): Likewise.
* unroll.c (unroll_loop): Likewise.

From-SVN: r30333

24 years agoMerged GC 5.0alpha4 with local changes, plus:
Tom Tromey [Mon, 1 Nov 1999 23:15:51 +0000 (23:15 +0000)]
Merged GC 5.0alpha4 with local changes, plus:

* Makefile.in: Rebuilt.
* Makefile.am (gctest_LDADD): Added THREADLIB.
(TESTS): New macro.
* configure: Rebuilt.
* configure.in (INCLUDES): New subst.

From-SVN: r30332

24 years ago* combine.c (combine_instructions): Use xmalloc instead of alloca.
Mark Mitchell [Mon, 1 Nov 1999 22:42:01 +0000 (22:42 +0000)]
* combine.c (combine_instructions): Use xmalloc instead of alloca.

From-SVN: r30331

24 years agotoplev.c (rest_of_compilation): Don't optimize the CFG when rebuilding, just before...
Richard Henderson [Mon, 1 Nov 1999 21:22:59 +0000 (13:22 -0800)]
toplev.c (rest_of_compilation): Don't optimize the CFG when rebuilding, just before dbr.

        * toplev.c (rest_of_compilation): Don't optimize the CFG
        when rebuilding, just before dbr.

From-SVN: r30330

24 years agoThis commit was generated by cvs2svn to compensate for changes in r30327,
Tom Tromey [Mon, 1 Nov 1999 20:48:52 +0000 (20:48 +0000)]
This commit was generated by cvs2svn to compensate for changes in r30327,

which included commits to RCS files with non-trunk default branches.

From-SVN: r30328

24 years agoInitial revision
Tom Tromey [Mon, 1 Nov 1999 20:48:50 +0000 (20:48 +0000)]
Initial revision

From-SVN: r30324

24 years ago* output.h (assemble_end_function, assemble_destructor,
Kaveh R. Ghazi [Mon, 1 Nov 1999 19:38:06 +0000 (19:38 +0000)]
* output.h (assemble_end_function, assemble_destructor,

        assemble_constructor, assemble_gc_entry, assemble_global,
        assemble_label, output_constant_pool) Constify a char*.

        * varasm.c (assemble_destructor, assemble_constructor,
        assemble_gc_entry, assemble_end_function, assemble_global,
        assemble_label, output_constant_pool): Likewise.

From-SVN: r30323

24 years agoPatch from Philippe De Muyter <phdm@macqel.be>
Philippe De Muyter [Mon, 1 Nov 1999 18:14:50 +0000 (19:14 +0100)]
Patch from Philippe De Muyter  <phdm@macqel.be>

From-SVN: r30322

24 years agoAdd comments explaining what thumb_expand_prologue() does.
Nick Clifton [Mon, 1 Nov 1999 14:23:53 +0000 (14:23 +0000)]
Add comments explaining what thumb_expand_prologue() does.

From-SVN: r30321

24 years agoregclass.c (record_reg_classes): In matching case, recompute costs since the directio...
Richard Kenner [Mon, 1 Nov 1999 12:57:38 +0000 (12:57 +0000)]
regclass.c (record_reg_classes): In matching case, recompute costs since the direction of movement is different.

* regclass.c (record_reg_classes): In matching case, recompute
costs since the direction of movement is different.

From-SVN: r30319

24 years agoparse.y (resolve_qualified_expression_name): Prevent `this' from being used before...
Alexandre Petit-Bianco [Mon, 1 Nov 1999 09:48:46 +0000 (01:48 -0800)]
parse.y (resolve_qualified_expression_name): Prevent `this' from being used before the superclass constructor has been called.

Mon Nov  1 01:32:48 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (resolve_qualified_expression_name): Prevent `this' from
  being used before the superclass constructor has been called.
(complete_function_arguments): Use CALL_EXPLICIT_CONSTRUCTOR_P
  instead of `CALL_THIS_CONSTRUCTOR_P'.

(Fixed the incomplete last ChangeLog entry.)

From-SVN: r30318

24 years agore GNATS gcj/48 (Compiler fails to catch constructor problem)
Alexandre Petit-Bianco [Mon, 1 Nov 1999 09:45:18 +0000 (09:45 +0000)]
re GNATS gcj/48 (Compiler fails to catch constructor problem)

Mon Nov  1 01:32:48 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (resolve_qualified_expression_name): Prevent `this'
  from being before the superclass constructor has been called.

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

From-SVN: r30317

24 years ago* flow.c (calculate_global_regs_live): Fix thinko.
Jeffrey A Law [Mon, 1 Nov 1999 08:53:40 +0000 (08:53 +0000)]
* flow.c (calculate_global_regs_live): Fix thinko.

From-SVN: r30316

24 years agoDaily bump.
Jeff Law [Mon, 1 Nov 1999 08:45:06 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r30315

24 years agoggc-page.c (struct page_entry): Remove save_num_free_objects.
Mark Mitchell [Mon, 1 Nov 1999 06:57:01 +0000 (06:57 +0000)]
ggc-page.c (struct page_entry): Remove save_num_free_objects.

* ggc-page.c (struct page_entry): Remove save_num_free_objects.
(DIV_ROUND_UP): Robustify.
(ggc_recalculate_in_use_p): New function.
(release_pages): Don't inline it.
(ggc_alloc_obj): Don't refuse to allocate objects on pages for
outer contexts.
(ggc_pop_context): Use ggc_recalculate_in_use_p.
(clear_marks): Always save in_use_p.
(sweep_pages): Use ggc_recalculate_in_use_p.
(ggc_page_print_statistics): Avoid signed/unsigned comparisons.
Release pages before counting statistics.

From-SVN: r30314

24 years agotoplev.c (rest_of_compilation): Fix thinko in this change:
Mark Mitchell [Mon, 1 Nov 1999 06:42:00 +0000 (06:42 +0000)]
toplev.c (rest_of_compilation): Fix thinko in this change:

* toplev.c (rest_of_compilation): Fix thinko in this change:

Fri Oct 29 15:25:07 1999  Arnaud Charlet  <charlet@ACT-Europe.FR>

(rest_of_compilation): If inside an inlined external function,
pretend we are just being declared.

From-SVN: r30313

24 years agointegrate.c (expand_inline_function): Fix bugs in previous change from Oct 28, 1999.
Jeffrey A Law [Mon, 1 Nov 1999 06:04:59 +0000 (06:04 +0000)]
integrate.c (expand_inline_function): Fix bugs in previous change from Oct 28, 1999.

        * integrate.c (expand_inline_function): Fix bugs in previous
        change from Oct 28, 1999.

From-SVN: r30312

24 years agoMakefile.in (convert.o, typeck.o): Depend on output.h
Jeffrey A Law [Mon, 1 Nov 1999 05:35:03 +0000 (05:35 +0000)]
Makefile.in (convert.o, typeck.o): Depend on output.h

        * Makefile.in (convert.o, typeck.o): Depend on output.h
        * convert.c: Include output.h.
        * typeck.c: Include output.h.
        (initializer_constant_valid_p): Delete fucntion.
        * ch-tree.h (initializer_constant_valid_p): Delete prototype.

From-SVN: r30311

24 years ago* gcc.dg/struct-ret-2.c: New test.
Alexandre Oliva [Mon, 1 Nov 1999 05:19:07 +0000 (05:19 +0000)]
* gcc.dg/struct-ret-2.c: New test.

From-SVN: r30310

24 years ago* gcc.dg/array-1.c: New test.
Alexandre Oliva [Mon, 1 Nov 1999 05:18:17 +0000 (05:18 +0000)]
* gcc.dg/array-1.c: New test.

From-SVN: r30309

24 years agostmt.c (expand_value_return): Fix typo in this change:
Mark Mitchell [Mon, 1 Nov 1999 04:24:33 +0000 (04:24 +0000)]
stmt.c (expand_value_return): Fix typo in this change:

* stmt.c (expand_value_return): Fix typo in this change:

Thu Oct 28 18:06:50 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
(expand_value_return): Correctly convert VAL when promoting function
return; support RETURN_REG being a PARALLEL.

From-SVN: r30308

24 years ago* stmt.c (expand_value_return): Fix typo in this change:
Mark Mitchell [Mon, 1 Nov 1999 04:23:27 +0000 (04:23 +0000)]
* stmt.c (expand_value_return): Fix typo in this change:

From-SVN: r30307

24 years ago* expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
Mark Mitchell [Mon, 1 Nov 1999 04:08:54 +0000 (04:08 +0000)]
* expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.

From-SVN: r30306

24 years agocse.c (cse_insn): If an insn has only a single set...
Jeffrey A Law [Mon, 1 Nov 1999 02:19:25 +0000 (02:19 +0000)]
cse.c (cse_insn): If an insn has only a single set...

        * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
        is nonzero and the single set does not have an elt, then assign
        it an elt.

From-SVN: r30304