Commit Graph

20493 Commits

Author SHA1 Message Date
Kaveh R. Ghazi 9b3142b340 final.c (bb_str): Qualify a char* with the keyword `const'.
* final.c (bb_str): Qualify a char* with the keyword `const'.
        (add_bb_string, final_scan_insn, output_asm_insn): Likewise.
        * fix-header.c (read_scan_file): Likewise.
        * genoutput.c (output_epilogue, process_template): Likewise.
        * local-alloc.c (requires_inout, block_alloc): Likewise.
        * output.h (output_asm_insn, assemble_string): Likewise.
        * recog.c (recog_constraints, check_asm_operands,
        decode_asm_operands, extract_insn, preprocess_constraints,
        constrain_operands): Likewise.
        * recog.h (operand_alternative, recog_constraints, insn_template,
        insn_outfun, insn_operand_constraint, insn_name): Likewise.
        * regclass.c (record_reg_classes, scan_one_insn): Likewise.
        * regmove.c (find_matches): Likewise.
        * reload.c (alternative_allows_memconst): Likewise.
        * reload1.c (constraint_accepts_reg_p,
        reload_cse_simplify_operands): Likewise.
        * rtl.h (decode_asm_operands): Likewise.
        * scan.h (fn_decl): Likewise.
        * varasm.c (assemble_string): Likewise.

From-SVN: r24834
1999-01-23 19:45:50 +00:00
Jeffrey A Law 5949a9fc20 configure.in (gcc_tooldir): Handle case where exec_prefix has not been explicitly set.
* configure.in (gcc_tooldir): Handle case where exec_prefix has
        not been explicitly set.
        * configure: Rebuilt.
Check it in now that it's tested.

From-SVN: r24831
1999-01-23 05:07:37 -07:00
Jeffrey A Law ac4d524db2 fold-const.c (lshift_double): Mark 'prec' arguments as possibly unused.
* fold-const.c (lshift_double): Mark 'prec' arguments as possibly
        unused.

From-SVN: r24830
1999-01-22 18:57:51 -07:00
Jeff Law 967ce1c002 Copyright update.
From-SVN: r24829
1999-01-22 18:50:19 -07:00
Jeffrey A Law 83fb95ed11 bitmap.h (bitmap_head_def): Make indx field unsigned.
* bitmap.h (bitmap_head_def): Make indx field unsigned.
Fixes a couple minor warnings.

From-SVN: r24828
1999-01-22 18:49:56 -07:00
Jeff Law 975f9e9047 Daily bump.
From-SVN: r24825
1999-01-22 17:45:03 -07:00
Jeffrey A Law 82cbf8f7bd configure.in (gcc_tooldir): When not making a relative gcc_tooldir...
* configure.in (gcc_tooldir): When not making a relative gcc_tooldir,
        use $exec_prefix/$target_alias for gcc_tooldir.

From-SVN: r24824
1999-01-22 17:43:38 -07:00
Richard Henderson 09d83d2522 cppp.c (xrealloc): Fix typo last change.
* cppp.c (xrealloc): Fix typo last change.
        * cppalloc.c, gcc.c, genattr.c, genattrtab.c, gencodes.c: Likewise.
        * genconfig.c, genemit.c, genextract.c, genflags.c: Likewise.
        * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.

From-SVN: r24823
1999-01-22 03:52:05 -08:00
Zack Weinberg 2747111309 cpp-if1.c: New test - torture test of preprocessor's number conversion in #if directives.
* cpp-if1.c: New test - torture test of preprocessor's number conversion
  in #if directives.
* cpp-if2.c: New test - torture test of preprocessor's character constant
  conversion in #if directives.
Both these tests are entirely my own invention.

From-SVN: r24822
1999-01-22 10:33:38 +00:00
Michael Meissner 815cdc524f Use alternate crs if cr0 not available
From-SVN: r24821
1999-01-22 09:30:07 +00:00
Jeffrey A Law d062c30479 Makefile.in (gcc_tooldir): Move before first reference.
* Makefile.in (gcc_tooldir): Move before first reference.
        Let autoconf substitute in a value.
        * configure.in (gcc_tooldir): Only use a relative path to the
        tool directory if $exec_prefix == $prefix.
        * configure: Rebuilt.

From-SVN: r24820
1999-01-22 00:17:21 -07:00
Jeffrey A Law 91c7bd9b41 * Makefile.in (tooldir): Replace with gcc_tooldir.
From-SVN: r24819
1999-01-21 23:46:43 -07:00
Jeff Law 49b136dcac Daily bump.
From-SVN: r24818
1999-01-21 17:45:02 -07:00
Richard Henderson ad6843d72d Update sparc -mcpu= documentation.
From-SVN: r24817
1999-01-21 14:52:33 -08:00
Richard Henderson 34627ce670 Update copyright.
From-SVN: r24816
1999-01-21 14:42:21 -08:00
Jeffrey A Law c2ad275ae9 m68k.md (ashldi_const): Disable for !TARGET_5200.
* m68k.md (ashldi_const): Disable for !TARGET_5200.  Fix indention.
        (ashldi3 expander): Similarly.  Update comments.
        (ashrdi_const, lshrdi_const): Fix indention.
        (ashrdi3, lshrdi3): FIx indention.  Update comments.

From-SVN: r24814
1999-01-21 15:29:14 -07:00
Richard Henderson 238860155d * emit-rtl.c (try_split): Don't try to split non-instructions.
From-SVN: r24813
1999-01-21 13:54:47 -08:00
Mark Mitchell 7bdbfa05db cp-tree.h (PUSH_GLOBAL): New macro.
* cp-tree.h (PUSH_GLOBAL): New macro.
	(PUSH_LOCAL): Likewise.
	(PUSH_USING): Likewise.
	(namespace_bindings_p): Declare.
	(push_overloaded_decl): Likewise.
	* decl.c (push_overloaded_decl): Don't make it static.  Check for
	illegal declarations after using declarations here.
	(namespace_bindings_p): Likewise.
	(duplicate_decls): Don't consider declarations from different
	namespaces to be the same.
	(pushdecl): Use symbolic PUSH_ constants in calls to
	push_overloaded_decl.
	(push_overloaded_decl_1): Likewise.
	* decl2.c (validate_nonmember_using_decl): Tweak `std' handling.
	(do_nonmember_using_decl): Check for illegal using declarations
	after ordinary declarations here.
	(do_local_using_decl): Call pushdecl to insert declarations.

From-SVN: r24812
1999-01-21 21:16:22 +00:00
Andrew MacLeod 15914757c6 * expr.c (emit_push_insn): Fix Dumb Typo.
From-SVN: r24811
1999-01-21 20:50:56 +00:00
Richard Henderson c8ab99010f rs6000.h (LEGITIMIZE_RELOAD_ADDRESS): Recognize and accept transformations that we have performed earlier.
* rs6000.h (LEGITIMIZE_RELOAD_ADDRESS): Recognize and accept
        transformations that we have performed earlier.
        * alpha.h (LEGITIMIZE_RELOAD_ADDRESS): Likewise.

From-SVN: r24809
1999-01-21 12:32:52 -08:00
Richard Henderson 73d288ba27 alpha.md (prologue_stack_probe_loop): Don't do our own label handling, call gen_label_rtx instead.
* alpha.md (prologue_stack_probe_loop): Don't do our own label
        handling, call gen_label_rtx instead.

From-SVN: r24808
1999-01-21 12:32:21 -08:00
Jason Merrill e9359c7128 * decl.c (grokdeclarator): Fix lang_c -> lang_name_c typo.
From-SVN: r24807
1999-01-21 13:39:29 -05:00
Richard Henderson 470b68c0a9 cccp.c (xrealloc): Call malloc given a NULL old pointer.
* cccp.c (xrealloc): Call malloc given a NULL old pointer.
        * collect2.c, cppalloc.c, gcc.c, genattr.c, genattrtab.c: Likewise.
        * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
        * genflags.c, genopinit.c, genoutput.c, genpeep.c: Likewise.
        * genrecog.c, mips-tfile.c, protoize.c: Likewise.

From-SVN: r24806
1999-01-21 09:47:36 -08:00
Richard Henderson d202e8aa05 * configure.in ({rs6000|powerpc}-ibm-aix4.[12]*): Add missing `then'.
From-SVN: r24805
1999-01-21 09:46:43 -08:00
Michael Meissner 20fced2c95 --with-gnu-ld uses different x- fiile under aix 4.1
From-SVN: r24804
1999-01-21 16:52:47 +00:00
Mark Mitchell 297e73d807 cp-tree.h (PARM_DECL_EXPR): Delete.
* cp-tree.h (PARM_DECL_EXPR): Delete.
	(convert_default_arg): Change prototype.
	(check_default_argument): Declare.
	(search_tree): Likewise.
	* call.c (convert_default_arg): Take the function to which the
	default argument belongs as a parameter, and do any necessary
	instantiation here, instead of ...
	(build_over_call): Here.
	* decl.c (local_variable_p): New function.
	(check_default_argument): Likewise, split out and tidied from ...
	(grokparms): Here.
	* error.c (dump_expr): Don't set PARM_DECL_EXPR.
	* pt.c (tsubst_call_declarator_parms): New function.
	(for_each_template_parm): Handle ARRAY_REFs.  Do the obvious thing
	with CALL_EXPRs, rather than trying to be clever.
	(tsubst): Use tsubst_call_declarator_parms.
	* tree.c (search_tree): Don't make it static.
	* typeck.c (convert_arguments): Use new interface to
	convert_default_arg.

From-SVN: r24803
1999-01-21 14:29:33 +00:00
Dave Brolley 939b4a73db cppexp.c (cpp_lex): Allocate token_buffer dynamically.
Thu Jan 21 15:48:03 1999  Dave Brolley  <brolley@cygnus.com>
	* cppexp.c (cpp_lex): Allocate token_buffer dynamically.

From-SVN: r24802
1999-01-21 07:58:38 -05:00
Andrew MacLeod fbe1758db2 expr.c (MOVE_BY_PIECES_P): Define condition for deciding to use move_by_pieces.
* expr.c (MOVE_BY_PIECES_P): Define condition for deciding to use
	move_by_pieces.
	(MOVE_MAX_PIECES): Define maximum number of bytes to move at once.
	(USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_DECREMENT): Define defaults.
	(USE_STORE_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Define defaults.
	(move_by_pieces): Use new macros.
	(emit_block_move): Use new macros.
	(clear_by_pieces): Use new macros.
	(clear_storage): Use new macros.
	(emit_push_insn): Use new macros.
	(expand_expr): Use new macros.
	* config/sh/sh.h (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_DECREMENT):
	Define.
	(USE_STORE_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Define.
	(MOVE_BY_PIECES_P): Define based on alignment and TARGET_SMALLCODE.
	(MOVE_MAX_PIECES): move 8 bytes on SH4.
	* tm.texi(MOVE_BY_PIECES_P, MOVE_MAX_PIECES, USE_LOAD_POST_INCREMENT,
	USE_LOAD_PRE_DECREMENT, USE_STORE_POST_INCREMENT,
	USE_STORE_PRE_DECREMENT): Describe new macros.

From-SVN: r24801
1999-01-21 11:33:44 +00:00
Vladimir N. Makarov 0003feb203 varasm.c (output_constant_pool): Use floor_log2 instead of exact_log2 for ASM_OUTPUT_ALIGN.
Thu Jan 21 14:13:31 1999  Vladimir N. Makarov  <vmakarov@cygnus.com>
        * varasm.c (output_constant_pool): Use floor_log2 instead of
	exact_log2 for ASM_OUTPUT_ALIGN.
	* stor-layout.c (layout_type): Do machine-dependent extra alignment.
	* emit-rtl.c (operand_subword): Handle case when a subword outside
	the operand.
	* tm.texi (ROUND_TYPE_{SIZE,ALIGN}): More accurate descriptions of
	the macros.

From-SVN: r24800
1999-01-21 11:20:09 +00:00
Gerald Pfeifer 7fcbfb22d5 Makefile.am (SUBDIRS): Include util again in order to generate install-info.
* Makefile.am (SUBDIRS): Include util again in order to generate
	install-info.
	* Makefile.in: Rebuild.

From-SVN: r24799
1999-01-21 10:39:11 +00:00
Gerald Pfeifer de5c8e4969 Remove obsolete file, whose contents has moved to the web pages as
readings.html.

From-SVN: r24798
1999-01-21 10:23:11 +00:00
Andrew Haley fff02f07b7 [multiple changes]
Thu Jan 21 16:00:06 1999  Andrew Haley  <aph@cygnus.com>
	* typeck.c (convert): Allow conversions to void type: some
 	optimizations in gcc do this.
Thu Jan 21 15:21:49 1999  Andrew Haley  <aph@cygnus.com>
	* typeck.c (convert_ieee_real_to_integer): New function.
	(convert): When not using fast-math and using hardware fp, convert
 	an IEEE NaN to zero.

From-SVN: r24797
1999-01-21 08:50:06 +00:00
Richard Henderson ee5332b81a cse.c (fold_rtx): Revert 29 Dec change.
* cse.c (fold_rtx): Revert 29 Dec change.
        (cse_insn): Revert 12 Jan change.
        * expr.c (expand_builtin): Don't emit CONST around CONSTANT_P_RTX.
        * regclass.c (reg_scan_mark_refs): Revert 29 Dec change.
        * rtl.def: Likewise.
        * rtl.h (CONSTANT_P): Likewise.
        * expr.c (emit_move_insn): Never try to flush CONSTANT_P_RTX
        to memory.
        * recog.c (immediate_operand): Accept CONSTANT_P_RTX.
        * alpha.c (input_operand): Likewise.
        * c4x.c (const_operand): Likewise.
        * explow.c (allocate_dynamic_stack_space): Use register_operand
        instead of arith_operand, which does not exist.
        * 1750a.h: Fix comment closure.
        * a29k.c (a29k_set_memflags): Fix typo in 19 Jan change.
        * arc.md (one_cmplsi2_set_cc_insn): Fix set mode mismatch.
        * arm.h (TARGET_SWITCHES): Fix typo.
        * i370.md (anon mult and div patterns): Fix set mode mismatch.
        * i860.c (output_delayed_branch): Fix operands to constrain_operands.
        (output_delay_insn): Likewise.
        * m88k.md (anon rotate insns): Fix set mode mismatch.
        (anon BLKmode moves): Commonize and fix set mode mismatches.
        * ns32k.md (udivmoddi[shq]i4_internal): Fix mode mismatch.
        * romp.md (movdf): Fix typo.

From-SVN: r24796
1999-01-20 18:21:28 -08:00
Jeff Law 898df643ab Daily bump.
From-SVN: r24795
1999-01-20 17:45:03 -07:00
Nathan Sidwell f1cc886f77 Makefile.in (install-common): Remove extraneous chmod for gcov install.
* Makefile.in (install-common): Remove extraneous chmod for gcov
        install.

From-SVN: r24794
1999-01-20 16:33:47 -07:00
Ulrich Drepper d736a76cf6 Update.
From-SVN: r24793
1999-01-20 18:05:11 +00:00
Ulrich Drepper 4f6478b760 (__destroy_aux): Use != instead of < for ForwardIterator comparison.
From-SVN: r24792
1999-01-20 18:04:49 +00:00
Mark Mitchell 3240a1a2d2 * stl_config.h (__STL_USE_NAMESPACES): Define.
From-SVN: r24791
1999-01-20 17:01:43 +00:00
Jeff Law 9a40349fc8 update copyright
From-SVN: r24790
1999-01-20 08:33:08 -07:00
Dave Brolley efd8cba0c8 function.c (assign_parms): Save and restore setting of TREE_USED (parm).
Wed Jan 20 18:15:08 1999  Dave Brolley  <brolley@cygnus.com>
	* function.c (assign_parms): Save and restore setting of
 	TREE_USED (parm).

From-SVN: r24789
1999-01-20 10:26:31 -05:00
Mark Mitchell 61cd552e3b error.c (dump_function_decl): Don't print the argument types for a function when the verbosity level is negative.
* error.c (dump_function_decl): Don't print the argument types for
	a function when the verbosity level is negative.
	* call.c (build_over_call): Check format attributes at call-time.
	* pt.c (tsubst_copy): Fix comment.
	(unify): Don't allow unification with variable-sized arrays.
	* semantics.c (finish_stmt_expr): When processing a template make
	the BIND_EXPR long-lived.

From-SVN: r24788
1999-01-20 13:11:59 +00:00
Mark Mitchell 876d1fa3ba arm.md: Use MEM_COPY_ATTRIBUTES where appropriate throughout.
* arm.md: Use MEM_COPY_ATTRIBUTES where appropriate throughout.
	Pass MEM_SCALAR_P to arm_gen_store_multiple where appropriate.

From-SVN: r24787
1999-01-20 12:52:32 +00:00
Jeff Law d2551ee467 Tweak
From-SVN: r24786
1999-01-20 02:45:35 -07:00
Richard Henderson 70f8a7a13f Update comment to match code.
From-SVN: r24785
1999-01-20 01:15:00 -08:00
Joern Rennecke 71ba0d2ed0 Fixed Copyright.
From-SVN: r24784
1999-01-20 06:56:14 +00:00
Joern Rennecke 1652493203 Fixed copyright
From-SVN: r24783
1999-01-20 05:12:07 +00:00
Jeff Law 5026a502aa loop.c (NUM_STORES): Delete.
* loop.c (NUM_STORES): Delete.
        (loop_store_mems): Turn into an EXPR_LIST of MEMs.
        (prescan_loop): Properly initialize loop_mems_idx.
        (note_addr_stored): Simplify using list structure instead of
        fixed sized array.
        (invariant_p, check_dbra_loop, load_mems): Similarly.

From-SVN: r24782
1999-01-19 19:09:52 -07:00
Jeffrey A Law 15e088b20e flow.c (invalidate_from_autoinc): New function.
* flow.c (invalidate_from_autoinc): New function.
        (mark_set_1, mark_used_regs): Use it.

From-SVN: r24781
1999-01-19 19:02:20 -07:00
Jeff Law 42e04d6bdc This should have been deleted during the ChangeLog reorg/cleanup.
The FSF ChangeLog is "FSFChangeLog"
This file will come back if/when there's a ChangeLog.12 in the FSF
snapshots.

From-SVN: r24780
1999-01-19 17:46:02 -07:00
Jeff Law e3185db0f3 Daily bump.
From-SVN: r24779
1999-01-19 17:45:02 -07:00