Commit Graph

25074 Commits

Author SHA1 Message Date
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
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