Commit Graph

24792 Commits

Author SHA1 Message Date
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
Jan Hubicka
f5da5c8714 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
1999-11-02 09:37:23 -07:00
Bernd Schmidt
c3dfacf03a Delete two useless declarations.
From-SVN: r30351
1999-11-02 16:00:03 +00:00
Catherine Moore
b5ee778900 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
1999-11-02 10:48:26 -05:00
Diego Novillo
96e9c98d59 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
1999-11-02 09:41:16 -05:00
Philippe De Muyter
df548dfc02 * xstrdup (sys/types.h): Include this file.
From-SVN: r30347
1999-11-02 03:25:28 -07:00
Jeffrey A Law
952470882e * gcc.1 (PA options): Remove obsolete -mshared-libs options.
From-SVN: r30346
1999-11-02 03:23:46 -07:00
Jeffrey A Law
937ac3f98c * pa.h (ADDR_VEC_ALIGN): Define.
From-SVN: r30345
1999-11-02 01:50:55 -07:00
Jeff Law
7ee424ed73 Daily bump.
From-SVN: r30344
1999-11-02 01:45:07 -07:00
Alexandre Petit-Bianco
efa0a23fc2 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
1999-11-01 23:51:19 -08:00
Jason Merrill
b78121f657 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
1999-11-02 02:33:05 -05:00
Jason Merrill
c4d6cee389 tweak comment
From-SVN: r30340
1999-11-02 02:26:47 -05:00
Jason Merrill
bf279c4e1a 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
1999-11-02 02:24:27 -05:00
Jeffrey A Law
a5a06a788d 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
1999-11-02 00:22:47 -07:00
Jeffrey A Law
d269eb53b1 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
1999-11-01 23:39:04 -07:00
Richard Henderson
f6d204868a * reg-stack.c (convert_regs_1): Handle EH edges specially.
From-SVN: r30336
1999-11-01 18:09:55 -08:00
Tom Tromey
e40217a763 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
1999-11-02 00:12:10 +00:00
Mark Mitchell
3d43c0742f Remove duplicate of friend18.C
From-SVN: r30334
1999-11-01 23:38:57 +00:00
Mark Mitchell
67289ea639 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
1999-11-01 23:19:44 +00:00
Tom Tromey
20bbd3cd53 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
1999-11-01 23:15:51 +00:00
Mark Mitchell
c05ddfa745 * combine.c (combine_instructions): Use xmalloc instead of alloca.
From-SVN: r30331
1999-11-01 22:42:01 +00:00
Richard Henderson
9fd4e3280e 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
1999-11-01 13:22:59 -08:00
Tom Tromey
85f29b3bb5 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
1999-11-01 20:48:52 +00:00
Tom Tromey
fd6a6309db Initial revision
From-SVN: r30324
1999-11-01 20:48:50 +00:00
Kaveh R. Ghazi
d9bba9c3ed * 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
1999-11-01 19:38:06 +00:00
Philippe De Muyter
99d525c9a0 Patch from Philippe De Muyter <phdm@macqel.be>
From-SVN: r30322
1999-11-01 18:14:50 +00:00
Nick Clifton
9074519dd4 Add comments explaining what thumb_expand_prologue() does.
From-SVN: r30321
1999-11-01 14:23:53 +00:00
Richard Kenner
da2c02192b 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
1999-11-01 07:57:38 -05:00
Alexandre Petit-Bianco
ffa669ea3c 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
1999-11-01 01:48:46 -08:00
Alexandre Petit-Bianco
f63991a86a 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
1999-11-01 01:45:18 -08:00
Jeffrey A Law
e5de8c7283 * flow.c (calculate_global_regs_live): Fix thinko.
From-SVN: r30316
1999-11-01 01:53:40 -07:00
Jeff Law
ddc8c96c23 Daily bump.
From-SVN: r30315
1999-11-01 01:45:06 -07:00
Mark Mitchell
4934cc537b 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
1999-11-01 06:57:01 +00:00
Mark Mitchell
3e038608ac 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
1999-11-01 06:42:00 +00:00
Jeffrey A Law
36a1fa96c3 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
1999-10-31 23:04:59 -07:00
Jeffrey A Law
64b6368a9a 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
1999-10-31 22:35:03 -07:00
Alexandre Oliva
7b6cbff4ca * gcc.dg/struct-ret-2.c: New test.
From-SVN: r30310
1999-11-01 05:19:07 +00:00
Alexandre Oliva
2792392c2f * gcc.dg/array-1.c: New test.
From-SVN: r30309
1999-11-01 05:18:17 +00:00
Mark Mitchell
37877eb0a9 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
1999-11-01 04:24:33 +00:00
Mark Mitchell
8988b217fb * stmt.c (expand_value_return): Fix typo in this change:
From-SVN: r30307
1999-11-01 04:23:27 +00:00
Mark Mitchell
77fd6d104a * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
From-SVN: r30306
1999-11-01 04:08:54 +00:00
Jeffrey A Law
e26ef527af 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
1999-10-31 19:19:25 -07:00
Kaveh R. Ghazi
99f44eba5f hard-reg-set.h (reg_names): Constify a char*.
* hard-reg-set.h (reg_names): Constify a char*.

	* regclass.c  (reg_names): Likewise.

	* regs.h (reg_names): Likewise

	* a29k/a29k.c (reg_names): Delete declaration.

	* a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.

	* arc/arc.c (arc_save_restore, arc_output_function_prologue,
	arc_output_function_epilogue): Likewise.

	* elxsi/elxsi.c (reg_names): Likewise.

	* gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.

	* m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
	Likewise.

	* m88k/m88k.c (output_function_profiler): Likewise.

	* sparc/sparc.c (sparc_flat_output_function_prologue,
	sparc_flat_output_function_epilogue): Likewise.

From-SVN: r30303
1999-11-01 01:47:41 +00:00
Mark Mitchell
f7faca78d6 decl.c (finish_function): Call free_after_parsing for functions we are not immediately turning into RTL.
* decl.c (finish_function): Call free_after_parsing for functions
	we are not immediately turning into RTL.

From-SVN: r30302
1999-11-01 01:46:29 +00:00
Richard Kenner
57a21fbd25 Fix error in last change.
From-SVN: r30301
1999-10-31 20:18:04 -05:00
Bryce McKinlay
6b5ba2ce34 PrintStream (PrintStream): Fix illegal usage of "this" before "super".
1999-11-01  Bryce McKinlay  <bryce@albatross.co.nz>

        * java/io/PrintStream (PrintStream): Fix illegal usage of "this"
          before "super".
        * java/io/OutputStreamWriter (OutputStreamWriter): ditto.
        * java/io/InputStreamReader (InputStreamReader): ditto.

From-SVN: r30300
1999-11-01 01:15:37 +00:00