Commit Graph

24937 Commits

Author SHA1 Message Date
Richard Henderson e7749837ca 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
1999-11-04 16:49:03 -08:00
Richard Henderson 920a303df9 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
1999-11-04 16:41:11 -08:00
Richard Henderson a6028d444a 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
1999-11-04 16:37:48 -08:00
Richard Henderson bd695e1e9d 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
1999-11-04 16:35:10 -08:00
Richard Henderson 49886fe1ce * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
From-SVN: r30400
1999-11-04 13:35:22 -08:00
Richard Henderson 75c6bd46fe 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
1999-11-04 12:51:04 -08:00
David Billinghurst 17074a35df rtl.c: Include toplev.h.
* rtl.c: Include toplev.h.
(fatal): Remove declaration.

From-SVN: r30398
1999-11-04 19:51:48 +00:00
Tom Tromey 397f674e7f 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
1999-11-04 19:47:01 +00:00
Tom Tromey 3442c71cfc Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.

From-SVN: r30396
1999-11-04 19:39:50 +00:00
Tom Tromey a57e0ef582 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
1999-11-04 18:53:24 +00:00
Tom Tromey 81976f93fe 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
1999-11-04 17:25:07 +00:00
Tom Tromey 7f80fbe501 configure.in: Removed `qt' threads case.
* configure.in: Removed `qt' threads case.
	* include/quick-threads.h: Removed.
	* quick-threads.cc: Removed.

From-SVN: r30393
1999-11-04 17:12:25 +00:00
Tom Tromey 16f39e241a 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
1999-11-04 16:45:11 +00:00
Bruce Korb 063174eeda Allow for systems that do not have S_IR* defined values
Do not call realloc with a NULL pointer

From-SVN: r30391
1999-11-04 14:50:44 +00:00
Jeffrey A Law eae48b73bd * haifa-sched.c (schedule_block): Fix thinko.
From-SVN: r30390
1999-11-04 06:39:28 -07:00
Jeff Law 725474abee Daily bump.
From-SVN: r30389
1999-11-04 01:45:07 -07:00
Mark Mitchell 673b5311a9 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
1999-11-04 07:23:58 +00:00
Mark Mitchell d211953910 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
1999-11-04 06:44:29 +00:00
David S. Miller c0ec7a7575 [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
1999-11-03 15:25:02 -08:00
Mark Mitchell aeeeda0391 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
1999-11-03 23:18:57 +00:00
Mark Mitchell 0511851c7b 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
1999-11-03 22:45:45 +00:00
Mark Mitchell 989037420d 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
1999-11-03 22:44:10 +00:00
Catherine Moore 8cd0faaf32 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
1999-11-03 16:55:51 -05:00
Mark Mitchell 1e30f9b4da 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
1999-11-03 21:34:04 +00:00
Kaveh R. Ghazi 4b66e1c091 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
1999-11-03 20:40:32 +00:00
Tom Tromey f0447047c4 Actually removed files which were supposedly
removed a long time ago.

From-SVN: r30379
1999-11-03 19:25:13 +00:00
Franz Sirl 241a1bcc87 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
1999-11-03 10:42:17 -08:00
Richard Henderson efd67b425a * c-decl.c (duplicate_decls): Copy DECL_MODE too.
From-SVN: r30377
1999-11-03 10:11:23 -08:00
Tom Tromey d83e44be33 * gcconfig.h: Merged in local changes from old config.h.
From-SVN: r30376
1999-11-03 17:26:59 +00:00
Jeffrey A Law eb5a48980d 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
1999-11-03 06:25:17 -07:00
Jeffrey A Law 4aa95f0d43 * pa.md (negdi2): Turn into expander + anonymous pattern.
From-SVN: r30374
1999-11-03 05:45:21 -07:00
Jeffrey A Law 6f04382aaa * reload.c (find_reloads): Fix typos in recent change.
From-SVN: r30373
1999-11-03 05:43:35 -07:00
Bernd Schmidt 1b3b576549 Copy reg notes in eliminate_regs_in_insn.
From-SVN: r30372
1999-11-03 11:23:27 +00:00
Jeffrey A Law 77355bd5f2 * dwarf2out.c: Do not include ctype.h.
From-SVN: r30371
1999-11-03 03:28:30 -07:00
Jeff Law 35a44d1875 Daily bump.
From-SVN: r30369
1999-11-03 01:45:39 -07:00
Mark Mitchell 5fa38924e7 * decl.c (grokfndecl): Remove dead code.
From-SVN: r30368
1999-11-03 06:58:48 +00:00
Mark Mitchell 9581dc651f * dump.c (dequeue_and_dump): Fix thinko for catch-clauses.
From-SVN: r30367
1999-11-03 06:54:37 +00:00
Scott Snyder f5733617e3 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
1999-11-03 06:52:46 +00:00
Bryce McKinlay 8fbe2d958a 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
1999-11-03 03:10:22 +00:00
Bryce McKinlay 765de7ea98 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
1999-11-03 03:04:52 +00:00
Richard Kenner 6457af891a 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
1999-11-02 21:52:18 -05:00
Bryce McKinlay 5e4f217316 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
1999-11-03 02:13:40 +00:00
Tom Tromey a3feaa92e0 * quick_threads.c: Include gcconfig.h, not boehm-config.h.
From-SVN: r30360
1999-11-03 01:26:31 +00:00
Tom Tromey 965fe4f16f * boehm.cc: Don't include boehm-config.h.
From-SVN: r30359
1999-11-03 01:15:40 +00:00
Tom Tromey 89de952f8f 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
1999-11-03 01:11:03 +00:00
Richard Henderson 925fa22749 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
1999-11-02 15:43:44 -08:00
Alexandre Oliva da0182574f 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
1999-11-02 21:08:34 +00:00
Jason Eckhardt b21534148c 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
1999-11-02 20:29:50 +00:00
Alexandre Oliva 1a87de8db5 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
1999-11-02 17:46:16 +00:00
Nick Clifton b020fd9210 Fix compile time warnings
From-SVN: r30353
1999-11-02 17:06:24 +00:00