Richard Henderson [Thu, 21 Jan 1999 22:52:33 +0000 (14:52 -0800)]
Update sparc -mcpu= documentation.
From-SVN: r24817
Richard Henderson [Thu, 21 Jan 1999 22:42:21 +0000 (14:42 -0800)]
Update copyright.
From-SVN: r24816
Jeffrey A Law [Thu, 21 Jan 1999 22:29:14 +0000 (22:29 +0000)]
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
Richard Henderson [Thu, 21 Jan 1999 21:54:47 +0000 (13:54 -0800)]
* emit-rtl.c (try_split): Don't try to split non-instructions.
From-SVN: r24813
Mark Mitchell [Thu, 21 Jan 1999 21:16:22 +0000 (21:16 +0000)]
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
Andrew MacLeod [Thu, 21 Jan 1999 20:50:56 +0000 (20:50 +0000)]
* expr.c (emit_push_insn): Fix Dumb Typo.
From-SVN: r24811
Richard Henderson [Thu, 21 Jan 1999 20:32:52 +0000 (12:32 -0800)]
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
Richard Henderson [Thu, 21 Jan 1999 20:32:21 +0000 (12:32 -0800)]
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
Jason Merrill [Thu, 21 Jan 1999 18:39:29 +0000 (18:39 +0000)]
* decl.c (grokdeclarator): Fix lang_c -> lang_name_c typo.
From-SVN: r24807
Richard Henderson [Thu, 21 Jan 1999 17:47:36 +0000 (09:47 -0800)]
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
Richard Henderson [Thu, 21 Jan 1999 17:46:43 +0000 (09:46 -0800)]
* configure.in ({rs6000|powerpc}-ibm-aix4.[12]*): Add missing `then'.
From-SVN: r24805
Michael Meissner [Thu, 21 Jan 1999 16:52:47 +0000 (16:52 +0000)]
--with-gnu-ld uses different x- fiile under aix 4.1
From-SVN: r24804
Mark Mitchell [Thu, 21 Jan 1999 14:29:33 +0000 (14:29 +0000)]
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
Dave Brolley [Thu, 21 Jan 1999 12:58:38 +0000 (12:58 +0000)]
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
Andrew MacLeod [Thu, 21 Jan 1999 11:33:44 +0000 (11:33 +0000)]
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
Vladimir N. Makarov [Thu, 21 Jan 1999 11:20:09 +0000 (11:20 +0000)]
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
Gerald Pfeifer [Thu, 21 Jan 1999 10:39:11 +0000 (11:39 +0100)]
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
Gerald Pfeifer [Thu, 21 Jan 1999 10:23:11 +0000 (10:23 +0000)]
Remove obsolete file, whose contents has moved to the web pages as
readings.html.
From-SVN: r24798
Andrew Haley [Thu, 21 Jan 1999 08:50:06 +0000 (08:50 +0000)]
[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
Richard Henderson [Thu, 21 Jan 1999 02:21:28 +0000 (18:21 -0800)]
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
Jeff Law [Thu, 21 Jan 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24795
Nathan Sidwell [Wed, 20 Jan 1999 23:33:47 +0000 (23:33 +0000)]
Makefile.in (install-common): Remove extraneous chmod for gcov install.
* Makefile.in (install-common): Remove extraneous chmod for gcov
install.
From-SVN: r24794
Ulrich Drepper [Wed, 20 Jan 1999 18:05:11 +0000 (18:05 +0000)]
Update.
From-SVN: r24793
Ulrich Drepper [Wed, 20 Jan 1999 18:04:49 +0000 (18:04 +0000)]
(__destroy_aux): Use != instead of < for ForwardIterator comparison.
From-SVN: r24792
Mark Mitchell [Wed, 20 Jan 1999 17:01:43 +0000 (17:01 +0000)]
* stl_config.h (__STL_USE_NAMESPACES): Define.
From-SVN: r24791
Jeff Law [Wed, 20 Jan 1999 15:33:08 +0000 (08:33 -0700)]
update copyright
From-SVN: r24790
Dave Brolley [Wed, 20 Jan 1999 15:26:31 +0000 (15:26 +0000)]
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
Mark Mitchell [Wed, 20 Jan 1999 13:11:59 +0000 (13:11 +0000)]
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
Mark Mitchell [Wed, 20 Jan 1999 12:52:32 +0000 (12:52 +0000)]
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
Jeff Law [Wed, 20 Jan 1999 09:45:35 +0000 (02:45 -0700)]
Tweak
From-SVN: r24786
Richard Henderson [Wed, 20 Jan 1999 09:15:00 +0000 (01:15 -0800)]
Update comment to match code.
From-SVN: r24785
Joern Rennecke [Wed, 20 Jan 1999 06:56:14 +0000 (06:56 +0000)]
Fixed Copyright.
From-SVN: r24784
Joern Rennecke [Wed, 20 Jan 1999 05:12:07 +0000 (05:12 +0000)]
Fixed copyright
From-SVN: r24783
Jeff Law [Wed, 20 Jan 1999 02:09:52 +0000 (19:09 -0700)]
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
Jeffrey A Law [Wed, 20 Jan 1999 02:02:20 +0000 (02:02 +0000)]
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
Jeff Law [Wed, 20 Jan 1999 00:46:02 +0000 (17:46 -0700)]
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
Jeff Law [Wed, 20 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24779
Jeff Law [Wed, 20 Jan 1999 00:43:31 +0000 (17:43 -0700)]
Removed.
Removed. No longer needed. The config.sub at the toplevel directory
is automatically used.
From-SVN: r24778
Jeff Law [Wed, 20 Jan 1999 00:41:30 +0000 (17:41 -0700)]
Update copyright.
From-SVN: r24777
Jeff Law [Wed, 20 Jan 1999 00:40:49 +0000 (17:40 -0700)]
Minor copyright tweak.
From-SVN: r24776
Jeffrey A Law [Tue, 19 Jan 1999 22:32:39 +0000 (22:32 +0000)]
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
Richard Henderson [Tue, 19 Jan 1999 21:55:35 +0000 (13:55 -0800)]
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
Richard Henderson [Tue, 19 Jan 1999 21:30:48 +0000 (13:30 -0800)]
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
Richard Henderson [Tue, 19 Jan 1999 21:11:00 +0000 (13:11 -0800)]
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
Richard Henderson [Tue, 19 Jan 1999 20:33:05 +0000 (12:33 -0800)]
Update copyright.
From-SVN: r24771
Richard Henderson [Tue, 19 Jan 1999 20:24:22 +0000 (12:24 -0800)]
genoutput.c (name_for_index): New function.
* genoutput.c (name_for_index): New function.
(scan_operands, validate_insn_alternatives): Use it.
* genrecog.c (insn_name_ptr_size): New variable.
(make_insn_sequence): Fill in insn_name_ptr.
(merge_trees): Use it.
From-SVN: r24770
Richard Henderson [Tue, 19 Jan 1999 16:39:48 +0000 (08:39 -0800)]
isc.h (TARGET_DEFAULT): Define symbolicly.
* i386/isc.h (TARGET_DEFAULT): Define symbolicly.
* i386/isccoff.h, i386/next.h, i386/sco.h, i386/sco5.h: Likewise.
* i386/scodbx.h, i386/sequent.h, i386.unix.h: Likewise.
From-SVN: r24769
Jeffrey A Law [Tue, 19 Jan 1999 14:07:21 +0000 (14:07 +0000)]
* Makefile.in (protoize.o, unprotoize.o): Depend on Makefile.
From-SVN: r24768
Zack Weinberg [Tue, 19 Jan 1999 12:10:15 +0000 (12:10 +0000)]
New test case for the preprocessor.
I made it up myself; the inspiration came from a comp.std.c post. -zack
From-SVN: r24767
Gerald Pfeifer [Tue, 19 Jan 1999 12:10:12 +0000 (13:10 +0100)]
* egcs_update: Do not use xargs, but a backquote construct.
From-SVN: r24766
Mark Mitchell [Tue, 19 Jan 1999 12:08:36 +0000 (12:08 +0000)]
Update copyrights
From-SVN: r24765
Vladimir Makarov [Tue, 19 Jan 1999 12:03:01 +0000 (12:03 +0000)]
[multiple changes]
1999-01-19 Vladimir N. Makarov <vmakarov@cygnus.com>
* invoke.texi (-mlong-double-64): New option description.
1999-01-19 Jim Wilson <wilson@cygnus.com>
* libgcc2.c: Change all uses of LONG_DOUBLE_TYPE_SIZE to
LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): New. Set to LONG_DOUBLE_TYPE_SIZE
if not defined.
* i960/i960.h (MULTILIB_DEFAULTS): Define to mnumerics.
(CPP_SPECS): Add -mlong-double-64 support.
(TARGET_FLAG_LONG_DOUBLE_64, TARGET_LONG_DOUBLE_64): New.
(TARGET_SWITCHES): Add -mlong-double-64 support.
(LONG_DOUBLE_TYPE_SIZE): Likewise.
(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define.
* i960/vx960-coff.h (MULTILIB_DEFAULTS): Define to msoft-float.
(CPP_SPECS): Add -mlong-double-64 support.
* i960/t-960bare (MULTILIB_OPTIONS): Add mlong-double-64.
(MULTILIB_DIRNAMES): Add ld64.
* i960/t-vxworks960 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Likewise.
From-SVN: r24764
Jason Merrill [Tue, 19 Jan 1999 11:55:37 +0000 (11:55 +0000)]
calls.c (expand_call): Strip a TARGET_EXPR if we're passing by invisible reference.
* calls.c (expand_call): Strip a TARGET_EXPR if we're passing by
invisible reference.
From-SVN: r24763
David Edelsohn [Tue, 19 Jan 1999 11:52:49 +0000 (11:52 +0000)]
rs6000.c (offsettable_addr_operand): Delete.
* rs6000.c (offsettable_addr_operand): Delete.
(offsettable_mem_operand): New function.
* rs6000.h (PREDICATE_CODES): Reflect function change.
(RS6000_SAVE_TOC): Represent address as MEM.
* win-nt.h (RS6000_SAVE_TOC): Same.
* rs6000.md (indirect calls): Change offsettable address parameter
to offsettable memory parameter.
From-SVN: r24762
Jason Merrill [Tue, 19 Jan 1999 11:14:54 +0000 (11:14 +0000)]
decl2.c (finish_vtable_vardecl): Make vtables comdat here.
* decl2.c (finish_vtable_vardecl): Make vtables comdat here.
(import_export_vtable): Not here.
From-SVN: r24761
Mark Mitchell [Tue, 19 Jan 1999 10:38:52 +0000 (10:38 +0000)]
rtl.h (rtx_def): Update documentation.
* rtl.h (rtx_def): Update documentation.
(MEM_IN_STRUCT_P): Likewise.
(MEM_SCALAR_P): New macro.
(MEM_COPY_ATTRIBUTES): Likewise.
(MEM_SET_IN_STRUCT_P): Likewise.
* rtl.texi (MEM_SCALAR_P): Document.
* alias.c (canon_rtx): Use MEM_COPY_ATTRIBUTES.
(fixed_scalar_and_varying_struct_p): New function. Use
MEM_SCALAR_P rather than !MEM_IN_STRUCT_P.
(aliases_everything_p): Likewise.
(true_dependence): Use them.
(write_dependence_p): New function, containing code common to
anti_dependence and output_dependence.
(anti_dependence): Use it.
(output_dependence): Likewise.
* calls.c (save_fixed_argument_area): Don't clear
MEM_IN_STRUCT_P.
(expand_call): Use MEM_SET_IN_STRUCT_P.
(emit_library_call): Don't clear MEM_IN_STRUCT_P.
(emit_library_call_value): Likewise.
(store_one_arg): Use MEM_SET_IN_STRUCT_P.
* combine.c (simplify_rtx): Use MEM_COPY_ATTRIBUTES.
(make_extraction): Likewise.
(simplify_shift_const): Likewise.
(gen_lowpart_for_combine): Likewise.
* cse.c (gen_lowpart_if_possible): Use MEM_COPY_ATTRIBUTES.
* emit-rtl.c (operand_subword): Likewise.
(change_address): Likewise.
* explow.c (stabilize): Use MEM_COPY_ATTRIBUTES.
* expr.c (protect_from_queue): Use MEM_COPY_ATTRIBUTES.
(emit_group_store): Use MEM_SET_IN_STRUCT_P.
(copy_blkmode_from_reg): Likewise.
(store_field): Likewise.
(expand_expr): Remove bogus guesswork setting MEM_IN_STRUCT_P
heuristically. Use MEM_SET_IN_STRUCT_P.
(get_memory_rtx): Likewise.
* final.c (alter_subreg): Use MEM_COPY_ATTRIBUTES.
* function.c (assign_stack_temp): Clear MEM_SCALAR_P and
MEM_ALIAS_SET on newly returned MEMs.
(assign_temp): Use MEM_SET_IN_STRUCT_P.
(put_reg_into_stack): Likewise.
(fixup_var_refs1): Use MEM_COPY_ATTRIBUTES.
(gen_mem_addressof): Use MEM_SET_IN_STRUCT_P.
(assign_parms): Likewise.
(expand_function): Likewise.
* integrate.c (expand_inline_function): Likewise.
(copy_rtx_and_substitute): Use MEM_COPY_ATTRIBUTES.
* loop.c (note_addr_stored): Remove check on MEM_IN_STRUCT_P.
* optabs.c (gen_move_insn): Use MEM_COPY_ATTRIBUTES.
* print-rtl.c (print_rtx): Print /f for frame_related.
* recog.c (validate_replace_rtx_1): Use MEM_COPY_ATTRIBUTES.
* reload1.c (reload): Copy MEM_SCALAR_P as well.
* stmt.c (expand_decl): Use MEM_SET_IN_STRUCT_P.
(expand_anon_union_decl): Use MEM_COPY_ATTRIBUTES.
* varasm.c (make_decl_rtl): Use MEM_SET_IN_STRUCT_P.
(output_constant_def): Likewise.
* a29k.c (a29k_set_memflags_1): Take scalar_p.
Set MEM_SCALAR_P.
(a29k_set_memflags): Use it.
* alpha.c (get_aligned_mem): Use MEM_COPY_ATTRIBUTES.
* c4x.c (c4x_scan_for_ld): Likewise.
* h8300.c (fix_bit_operand): Likewise.
* m88k.c (legitimize_address): Likewise.
(block_move_loop): Likewise.
(block_move_no_loop): Likewise.
(block_move_sequence): Likewise.
(m88k_builtin_saveregs): Use MEM_SET_IN_STRUCT_P.
* mips/abi64.h (SETUP_INCOMING_VARARGS): Likewise.
* rs6000.c (expand_block_move_insn): Use MEM_COPY_ATTRIBUTES.
* sh.c (sh_builtin_saveregs): Use MEM_SET_IN_STRUCT_P.
* arm.h (arm_gen_load_multiple): Take scalar_p.
(arm_store_load_multiple): Likewise.
* arm.c (arm_gen_load_multiple): Likewise.
(arm_gen_store_multiple): Likewise.
(arm_gen_movstrqi): Treat MEM_SCALAR_P like MEM_IN_STRUCT_P.
From-SVN: r24760
Mark Mitchell [Tue, 19 Jan 1999 10:32:33 +0000 (10:32 +0000)]
rtl.h (rtx_def): Update documentation.
* rtl.h (rtx_def): Update documentation.
(MEM_IN_STRUCT_P): Likewise.
(MEM_SCALAR_P): New macro.
(MEM_COPY_ATTRIBUTES): Likewise.
(MEM_SET_IN_STRUCT_P): Likewise.
* rtl.texi (MEM_SCALAR_P): Document.
* alias.c (canon_rtx): Use MEM_COPY_ATTRIBUTES.
(fixed_scalar_and_varying_struct_p): New function. Use
MEM_SCALAR_P rather than !MEM_IN_STRUCT_P.
(aliases_everything_p): Likewise.
(true_dependence): Use them.
(write_dependence_p): New function, containing code common to
anti_dependence and output_dependence.
(anti_dependence): Use it.
(output_dependence): Likewise.
* calls.c (save_fixed_argument_area): Don't clear
MEM_IN_STRUCT_P.
(expand_call): Use MEM_SET_IN_STRUCT_P.
(emit_library_call): Don't clear MEM_IN_STRUCT_P.
(emit_library_call_value): Likewise.
(store_one_arg): Use MEM_SET_IN_STRUCT_P.
* combine.c (simplify_rtx): Use MEM_COPY_ATTRIBUTES.
(make_extraction): Likewise.
(simplify_shift_const): Likewise.
(gen_lowpart_for_combine): Likewise.
* cse.c (gen_lowpart_if_possible): Use MEM_COPY_ATTRIBUTES.
* emit-rtl.c (operand_subword): Likewise.
(change_address): Likewise.
* explow.c (stabilize): Use MEM_COPY_ATTRIBUTES.
* expr.c (protect_from_queue): Use MEM_COPY_ATTRIBUTES.
(emit_group_store): Use MEM_SET_IN_STRUCT_P.
(copy_blkmode_from_reg): Likewise.
(store_field): Likewise.
(expand_expr): Remove bogus guesswork setting MEM_IN_STRUCT_P
heuristically. Use MEM_SET_IN_STRUCT_P.
(get_memory_rtx): Likewise.
* final.c (alter_subreg): Use MEM_COPY_ATTRIBUTES.
* function.c (assign_stack_temp): Clear MEM_SCALAR_P and
MEM_ALIAS_SET on newly returned MEMs.
(assign_temp): Use MEM_SET_IN_STRUCT_P.
(put_reg_into_stack): Likewise.
(fixup_var_refs1): Use MEM_COPY_ATTRIBUTES.
(gen_mem_addressof): Use MEM_SET_IN_STRUCT_P.
(assign_parms): Likewise.
(expand_function): Likewise.
* integrate.c (expand_inline_function): Likewise.
(copy_rtx_and_substitute): Use MEM_COPY_ATTRIBUTES.
* loop.c (note_addr_stored): Remove check on MEM_IN_STRUCT_P.
* optabs.c (gen_move_insn): Use MEM_COPY_ATTRIBUTES.
* print-rtl.c (print_rtx): Print /f for frame_related.
* recog.c (validate_replace_rtx_1): Use MEM_COPY_ATTRIBUTES.
* reload1.c (reload): Copy MEM_SCALAR_P as well.
* stmt.c (expand_decl): Use MEM_SET_IN_STRUCT_P.
(expand_anon_union_decl): Use MEM_COPY_ATTRIBUTES.
* varasm.c (make_decl_rtl): Use MEM_SET_IN_STRUCT_P.
(output_constant_def): Likewise.
* a29k.c (a29k_set_memflags_1): Take scalar_p.
Set MEM_SCALAR_P.
(a29k_set_memflags): Use it.
* alpha.c (get_aligned_mem): Use MEM_COPY_ATTRIBUTES.
* c4x.c (c4x_scan_for_ld): Likewise.
* h8300.c (fix_bit_operand): Likewise.
* m88k.c (legitimize_address): Likewise.
(block_move_loop): Likewise.
(block_move_no_loop): Likewise.
(block_move_sequence): Likewise.
(m88k_builtin_saveregs): Use MEM_SET_IN_STRUCT_P.
* mips/abi64.h (SETUP_INCOMING_VARARGS): Likewise.
* rs6000.c (expand_block_move_insn): Use MEM_COPY_ATTRIBUTES.
* sh.c (sh_builtin_saveregs): Use MEM_SET_IN_STRUCT_P.
* arm.h (arm_gen_load_multiple): Take scalar_p.
(arm_store_load_multiple): Likewise.
* arm.c (arm_gen_load_multiple): Likewise.
(arm_gen_store_multiple): Likewise.
(arm_gen_movstrqi): Treat MEM_SCALAR_P like MEM_IN_STRUCT_P.
From-SVN: r24759
Alexandre Petit-Bianco [Tue, 19 Jan 1999 10:27:23 +0000 (10:27 +0000)]
java-tree.h: (check_for_initialization): Added prototype.
Sun Jan 17 22:34:22 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* java-tree.h: (check_for_initialization): Added prototype.
* lex.c (java_parse_doc_section): `\n' breaks the `*/' string.
* parse.y (do_resolve_class): Removed unused locals.
(read_import_dir): Likewise.
(resolve_qualified_expression_name): Array creation
expressions are valid primary expressions.
(qualify_ambiguous_name): Likewise.
(patch_synchronized_statement): Removed unused local.
From-SVN: r24758
Andrew MacLeod [Tue, 19 Jan 1999 09:39:37 +0000 (09:39 +0000)]
optabs.c (emit_libcall_block): Add a REG_EH_REGION reg note to all calls within a libcall block to indicate no...
* optabs.c (emit_libcall_block): Add a REG_EH_REGION reg note to all
calls within a libcall block to indicate no throws are possible.
* flow.c (find_basic_blocks, find_basic_blocks_1): Don't look for
libcall blocks. Don't add edges to exception handlers if we see
a REG_EH_REGION note with a value of 0.
(make_edges): Override active_eh_region vector if the call has a note
indicating the call does not throw.
From-SVN: r24757
Vladimir N. Makarov [Tue, 19 Jan 1999 09:33:16 +0000 (09:33 +0000)]
sysv4.h (CC1_SPEC): Fix correct numbers of {}.
1999-01-19 Vladimir N. Makarov <vmakarov@cygnus.com>
* config/rs6000/sysv4.h (CC1_SPEC): Fix correct numbers of {}.
From-SVN: r24756
Jeffrey A Law [Tue, 19 Jan 1999 05:34:46 +0000 (05:34 +0000)]
* Makefile.in (cccp.o, cpplib.o): Depend on Makefile.
From-SVN: r24755
Zack Weinberg [Tue, 19 Jan 1999 05:16:20 +0000 (05:16 +0000)]
Makefile.in: Fix typos in previous change.
* Makefile.in: Fix typos in previous change.
(rtsdummy.o): Don't depend on gvarargs.h.
From-SVN: r24754
Jeff Law [Tue, 19 Jan 1999 00:46:03 +0000 (17:46 -0700)]
Daily bump.
From-SVN: r24753
Jason Merrill [Mon, 18 Jan 1999 21:43:11 +0000 (16:43 -0500)]
new
From-SVN: r24752
Jason Merrill [Mon, 18 Jan 1999 21:42:34 +0000 (16:42 -0500)]
update
From-SVN: r24751
Jason Merrill [Mon, 18 Jan 1999 14:07:32 +0000 (09:07 -0500)]
typeck.c (build_component_ref): Wrap an OVERLOAD around a unique non-static member function.
* typeck.c (build_component_ref): Wrap an OVERLOAD around a unique
non-static member function.
* class.c (instantiate_type): Only diagnose illegal address of member
function if complaining.
* decl.c (lookup_name_real): Remove duplicate code.
From-SVN: r24750
Jason Merrill [Mon, 18 Jan 1999 13:32:57 +0000 (08:32 -0500)]
tree.c (copy_template_template_parm): Use permanent_obstack.
* tree.c (copy_template_template_parm): Use permanent_obstack.
* pt.c (unify): Remove restrictions on deduction of argument
of template template parameters.
* rtti.c (build_dynamic_cast_1): Resolve OFFSET_REF exprs.
* class.c (resolve_address_of_overloaded_function): Show list of
all candidates, when none of them match.
From-SVN: r24749
Jason Merrill [Mon, 18 Jan 1999 12:49:20 +0000 (07:49 -0500)]
typeck.c (comp_ptr_ttypes_reinterpret): Per ANSI, tighten up definition of 'casting away const' in reinterpret_cast<>.
* typeck.c (comp_ptr_ttypes_reinterpret): Per ANSI, tighten up
definition of 'casting away const' in reinterpret_cast<>.
* cvt.c: Add include for decl.h, remove extern for
static_aggregates which is now provided by decl.h.
* Makefile.in (cvt.o): Add dependency for decl.h and missing
dependencies for convert.h and flags.h.
* decl2.c (do_dtors): Set current location to that of the
decl, for sensible diagnostics and debugging.
(check_classfn): Issue `incomplete type' error, if
class is not defined.
* cp-tree.h: Add prototype for bound_pmf_p.
From-SVN: r24748
Jason Merrill [Mon, 18 Jan 1999 10:07:21 +0000 (10:07 +0000)]
* invoke.texi (C++ Dialect Options): Document -fno-rtti.
From-SVN: r24747
Vladimir Makarov [Mon, 18 Jan 1999 09:37:00 +0000 (09:37 +0000)]
[multiple changes]
1999-01-18 Vladimir N. Makarov <vmakarov@cygnus.com>
* invoke.texi (-mcpu=740, -mcpu=750): New options.
(-m(no-)multiple, -m(no-)string): Describe cases for PPC740 &
PPC750.
1999-01-18 Michael Meissner <meissner@cygnus.com>
* rs6000.h ({ASM,CPP}_CPU_SPEC): Add support for all machines
supported with -mcpu=xxx.
(processor_type): Add PROCESSOR_PPC750.
(ADJUST_PRIORITY): Call rs6000_adjust_priority.
(RTX_COSTS): Supply costs for 750 multiply/divide operations.
(rs6000_adjust_priority): Add declaration.
* rs6000.c (rs6000_override_options): -mcpu={750,740} now sets the
processor type as 750, not 603. Allow -mmultiple and -mstring on
little endian 750 systems.
(rs6000_adjust_priority): Stub for now.
(get_issue_rate): The PowerPC 750 can issue 2 instructions/cycle.
* rs6000.md (function/cpu attributes): Add initial ppc750 support.
* sysv4.h (STRICT_ALIGNMENT): Don't force strict alignment if
little endian.
(CC1_SPEC): Pass -mstrict-align if little endian, and not
overridden.
(CC1_ENDIAN_{LITTLE,BIG,DEFAULT}_SPEC): Endian specific configs.
(SUBTARGET_EXTRA_SPECS): Add cc1 endian specs.
* {sysv4,eabi}le.h (CC1_ENDIAN_DEFAULT_SPEC): Override, default is
little endian.
* t-ppcgas (MULTILIB_*): Delete obsolete Solaris multilibs.
From-SVN: r24746
Gavin Romig-Koch [Mon, 18 Jan 1999 09:10:44 +0000 (09:10 +0000)]
mips.md (div_trap): Split div_trap_mips16 from div_trap.
* config/mips/mips.md (div_trap): Split div_trap_mips16
from div_trap.
(div_trap_normal,div_trap_mips16): Correct the length attributes.
From-SVN: r24745
Kaveh R. Ghazi [Mon, 18 Jan 1999 08:58:16 +0000 (08:58 +0000)]
ch-tree.h: Remove conflicting prototypes for pedwarn, warning_with_decl, and make_dcl_rtl.
* ch-tree.h: Remove conflicting prototypes for pedwarn,
warning_with_decl, and make_dcl_rtl.
From-SVN: r24744
Kaveh R. Ghazi [Mon, 18 Jan 1999 08:53:41 +0000 (08:53 +0000)]
cpplib.c (special_symbol): Qualify a char* with the `const' keyword.
* cpplib.c (special_symbol): Qualify a char* with the `const' keyword.
Instead of writing to const char *buf directly, use a non-const
variable `wbuf' to allocate and write a string, then set buf = wbuf.
* cppulp.c (user_label_prefix): Qualify a char* with the `const'
keyword.
* dyn-string.c (dyn_string_append): Likewise.
* dyn-string.h (dyn_string_append): Likewise.
* final.c (end_final, output_operand_lossage, asm_fprintf): Likewise.
* output.h (end_final, output_operand_lossage, asm_fprintf,
named_section, decode_reg_name, make_decl_rtl, user_label_prefix):
Likewise.
* profile.c (init_branch_prob): Likewise.
* toplev.c (set_target_switch, vmessage,
v_message_with_file_and_line, v_message_with_decl,
v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
v_pedwarn_with_file_and_line, vsorry, v_really_sorry,
open_dump_file, dump_rtl, clean_dump_file,
print_version, print_single_switch, print_switch_values,
dump_base_name, debug_args, lang_independent_options,
user_label_prefix, documented_lang_options, target_switches,
target_options, print_time, pfatal_with_name, fatal_io_error,
fatal_insn, default_print_error_function, print_error_function,
report_error_function, error_with_file_and_line, error_with_decl,
error_for_asm, error, fatal, warning_with_file_and_line,
warning_with_decl, warning_for_asm, warning, pedwarn,
pedwarn_with_decl, pedwarn_with_file_and_line, sorry,
really_sorry, botch, output_quoted_string, output_file_directive,
open_dump_file, rest_of_decl_compilation, display_help, main):
Likewise.
* toplev.h (print_time, fatal, fatal_io_error, pfatal_with_name,
fatal_insn, warning, error, pedwarn, pedwarn_with_file_and_line,
warning_with_file_and_line, error_with_file_and_line, sorry,
really_sorry, default_print_error_function, report_error_function,
rest_of_decl_compilation, pedwarn_with_decl, warning_with_decl,
error_with_decl, error_for_asm, warning_for_asm, output_quoted_string,
output_file_directive, botch): Likewise.
* tree.h (make_decl_rtl): Likewise.
* varasm.c (strip_reg_name, named_section, decode_reg_name,
make_decl_rtl): Likewise.
From-SVN: r24743
Gavin Romig-Koch [Mon, 18 Jan 1999 08:39:46 +0000 (08:39 +0000)]
Makefile.in (TCL_LIBRARY): Use 'cd' to find the library directory logically rather than physically.
* Makefile.in (TCL_LIBRARY): Use 'cd' to find the library
directory logically rather than physically.
From-SVN: r24742
Andrew Haley [Mon, 18 Jan 1999 06:29:26 +0000 (06:29 +0000)]
parse.y (patch_binop): Do a type conversion from signed to unsigned and then back to signed when...
1999-01-18 Andrew Haley <aph@cygnus.com>
* parse.y (patch_binop): Do a type conversion from signed to
unsigned and then back to signed when a ">>>" is found.
From-SVN: r24741
Kaveh R. Ghazi [Mon, 18 Jan 1999 06:17:31 +0000 (06:17 +0000)]
Warning fixes:
* loop.c (insert_bct): Hide the definition of variables
`increment_direction', `compare_direction', `add_iteration' and
`loop_var_mode'.
* recog.c (mode_dependent_address_p): Mark parameter `addr' with
ATTRIBUTE_UNUSED. Mark label `win' with ATTRIBUTE_UNUSED_LABEL.
(mode_independent_operand): Mark label `lose' with
ATTRIBUTE_UNUSED_LABEL.
* regclass.c (n_occurrences): Remove prototype and definition.
* reload.c (find_reloads_address_1): Mark variable `tem' with
ATTRIBUTE_UNUSED.
* reload1.c (reload): Cast the first two arguments of `bcopy' to PTR.
* sbitmap.c (sbitmap_copy): Likewise.
* scan-decls.c (scan_decls): Hide label `handle_comma'.
* toplev.c (output_lang_identify): Mark prototype with
ATTRIBUTE_UNUSED.
* tree.c (make_node): Cast the first argument of `bzero' to PTR.
(make_tree_vec): Likewise.
(build1): Likewise.
* varasm.c (assemble_static_space): Mark variable `tem' with
ATTRIBUTE_UNUSED.
From-SVN: r24740
Jeffrey A Law [Mon, 18 Jan 1999 03:51:14 +0000 (03:51 +0000)]
Makefile.in: Add many missing dependencies.
* Makefile.in: Add many missing dependencies.
Co-Authored-By: Hans-Peter Nilsson <hp@axis.se>
From-SVN: r24739
Jeff Law [Mon, 18 Jan 1999 03:40:02 +0000 (20:40 -0700)]
Fix thinko from last second true_dependence -> anti_dependence change.
From-SVN: r24738
Nathan Sidwell [Mon, 18 Jan 1999 03:32:53 +0000 (03:32 +0000)]
Makefile.in (GCOV_INSTALL_NAME): New macro.
* Makefile.in (GCOV_INSTALL_NAME): New macro.
(install-common): Use it.
(uninstall): Use it.
(uninstall): Use correct names for protoize and unprotoize.
From-SVN: r24737
Joern Rennecke [Mon, 18 Jan 1999 03:26:22 +0000 (03:26 +0000)]
Fixed Copyright.
From-SVN: r24736
Joern Rennecke [Mon, 18 Jan 1999 03:14:02 +0000 (03:14 +0000)]
Fix Copyright.
From-SVN: r24735
Christian Bruel [Mon, 18 Jan 1999 03:01:26 +0000 (20:01 -0700)]
flow.c (last_mem_set): Delete variable.
* flow.c (last_mem_set): Delete variable. References removed.
(mem_set_list): New variable.
(life_analysis): Initialize and finalize alias analysis.
(propagate_block); Initialize mem_set_list. Clear for CALL_INSNs.
(insn_dead_p): For a store to memory, search the entire mem_set_list
for a match.
(mark_set_1): Kill entries on the mem_set_list for aliased writes or
changes to their addresses. Add new entries to the mem_set_list for
memory writes writes.
(mark_used_regs): Kill entries on the mem_set_list which may be
referenced by a load operation.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r24734
Jeff Law [Mon, 18 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24733
Jeff Law [Mon, 18 Jan 1999 00:08:42 +0000 (17:08 -0700)]
Copyright update.
From-SVN: r24732
Jeff Law [Mon, 18 Jan 1999 00:05:50 +0000 (17:05 -0700)]
alias.c (base_alias_check): Add missing return for differing symbols case.
8
* alias.c (base_alias_check): Add missing return for differing
symbols case.
From-SVN: r24731
Jeff Law [Mon, 18 Jan 1999 00:05:47 +0000 (17:05 -0700)]
alias.c (base_alias_check): Add missing return for differing symbols case.
�
* alias.c (base_alias_check): Add missing return for differing
symbols case.
From-SVN: r24730
Rainer Orth [Sun, 17 Jan 1999 23:41:47 +0000 (23:41 +0000)]
mips-tdump.c (print_file_desc): Handle unknown filenames and missing local symbols.
* mips-tdump.c (print_file_desc): Handle unknown filenames and
missing local symbols.
From-SVN: r24729
Jeff Law [Sun, 17 Jan 1999 23:38:43 +0000 (16:38 -0700)]
Pointer to OSF 5.0 object file/symbol table format documentation.
From-SVN: r24728
Richard Henderson [Sun, 17 Jan 1999 21:06:36 +0000 (13:06 -0800)]
* system.h (bcopy): Implement with memmove not memcpy.
From-SVN: r24727
Jeffrey A Law [Sun, 17 Jan 1999 21:06:25 +0000 (21:06 +0000)]
* Makefile.in (zextract.o): Add dependencies.
From-SVN: r24726
Richard Henderson [Sun, 17 Jan 1999 21:05:29 +0000 (13:05 -0800)]
* jump.c (rtx_renumbered_equal_p): Special case CODE_LABEL.
From-SVN: r24725
Jeffrey A Law [Sun, 17 Jan 1999 21:04:54 +0000 (21:04 +0000)]
* Makefile.in (cppulp.o): Add dependencies.
From-SVN: r24724
Jeffrey A Law [Sun, 17 Jan 1999 20:58:58 +0000 (20:58 +0000)]
* Makefile.in: Do not put ^Ls at the start of a line.
From-SVN: r24723
Jeffrey A Law [Sun, 17 Jan 1999 20:27:40 +0000 (20:27 +0000)]
* i386.md (integer conditional moves): Add missing earlyclobbers.
From-SVN: r24720
Jeff Law [Sun, 17 Jan 1999 19:11:55 +0000 (12:11 -0700)]
990117-2.c was a duplicate of 981223-1.c. Kill 990117-2.c
From-SVN: r24719
Jeff Law [Sun, 17 Jan 1999 18:26:42 +0000 (11:26 -0700)]
regmove.c (optimize_reg_copy_1): Undo Aug 18 change.
* regmove.c (optimize_reg_copy_1): Undo Aug 18 change. Update
REG_N_CALLS_CROSSED and REG_LIVE_LENGH if and only if we change
where a register is live.
From-SVN: r24718
Jeff Law [Sun, 17 Jan 1999 18:04:07 +0000 (11:04 -0700)]
reg-stack.c (subst_stack_regs_pat): Abort if the destination of a FP conditional move is not on the FP register stack.
* reg-stack.c (subst_stack_regs_pat): Abort if the destination
of a FP conditional move is not on the FP register stack.
Forgot to check it in last night/this morning. One should not hack at 4am.
From-SVN: r24716
Zack Weinberg [Sun, 17 Jan 1999 16:35:21 +0000 (16:35 +0000)]
Added myself, as instructed
From-SVN: r24715
Jeffrey A Law [Sun, 17 Jan 1999 02:22:09 +0000 (02:22 +0000)]
990117-1.c: New test.
* gcc.dg/990117-1.c: New test.
Heavily edited net test + glibc.
From-SVN: r24714
Jeffrey A Law [Sun, 17 Jan 1999 01:15:08 +0000 (18:15 -0700)]
Bump for snapshot
From-SVN: r24712