Commit Graph

20436 Commits

Author SHA1 Message Date
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
Jeff Law
b1cafe6854 Removed.
Removed.  No longer needed.  The config.sub at the toplevel directory
is automatically used.

From-SVN: r24778
1999-01-19 17:43:31 -07:00
Jeff Law
741532e896 Update copyright.
From-SVN: r24777
1999-01-19 17:41:30 -07:00
Jeff Law
3881c0c10b Minor copyright tweak.
From-SVN: r24776
1999-01-19 17:40:49 -07:00
Jeffrey A Law
ed730bcf61 Makefile.in (typeck.o): Depend on insn-codes.h.
* Makefile.in (typeck.o): Depend on insn-codes.h.
        * actions.c (chill_handle_multi_case_label): Initialize "expr".
        * decl.c (poplevel): Initialize "block_previously_created".
        * expr.c (chill_expand_expr): Initialize "size0" and "size1".
        (fold_set_expr): Initialize "buffer1".
        * inout.c (process_io_list): Initialize "to_assign".
        (check_exprlist): Initialize "result".
        * parse.c (expand_expr): Declare.
        (parse_multi_dimension_case_action): Initialize "end_case_label".
        * tasking.c (build_start_process): Initialize "struct_type_node".
        * typeck.c (apply_chill_field_layout): Initialize "word".
        (type_for_mode); Unconditionally cast RHS & LHS to ints to shut up
        signed/unsigned comparison warning.
Kill remaining chill warnings.

From-SVN: r24775
1999-01-19 15:32:39 -07:00
Richard Henderson
6fbe9bd840 recog.c (pop_operand): New function.
* recog.c (pop_operand): New function.
        * recog.h (pop_operand): Declare it.
        * genrecog.c (preds): Define it.

From-SVN: r24774
1999-01-19 13:55:35 -08:00
Richard Henderson
d804ed43d0 expr.c (do_jump_for_compare): Handle conditional branch expanders emitting multiple jump instructions.
* expr.c (do_jump_for_compare): Handle conditional branch expanders
        emitting multiple jump instructions.
        * jump.c (condjump_label): New function.
        * rtl.h (condjump_label): Declare it.

From-SVN: r24773
1999-01-19 13:30:48 -08:00
Richard Henderson
c14c652997 expr.c (emit_move_insn_1): Revert 17 Dec change.
* expr.c (emit_move_insn_1): Revert 17 Dec change.  Don't emit
        clobber during or after reload.

From-SVN: r24772
1999-01-19 13:11:00 -08:00