Zack Weinberg [Mon, 25 Jan 1999 11:23:01 +0000 (11:23 +0000)]
cpplib.c: Don't include signal.h, sys/times.h, or sys/resource.h.
1999-01-25 14:10 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
* cpplib.c: Don't include signal.h, sys/times.h, or
sys/resource.h. Don't declare localtime.
(macroexpand): Handle special symbols here.
(push_macro_expansion): Chop off the trailing '@ ' if possible
here.
(cpp_get_token): Don't do either of the above two things here.
Move `string' label just after case '"' so that wide strings
don't crash the preprocessor.
From-SVN: r24858
Andrew Haley [Mon, 25 Jan 1999 10:32:18 +0000 (10:32 +0000)]
except.c, [...] (expand_resume_after_catch): new function.
Mon Jan 25 17:39:19 1999 Andrew Haley <aph@cygnus.com>
* except.c, java-except.h (expand_resume_after_catch): new
function.
* expr.c (java_lang_expand_expr): call expand_resume_after_catch
to branch back to main flow of control after a catch block.
From-SVN: r24857
Martin v. Löwis [Mon, 25 Jan 1999 00:48:11 +0000 (00:48 +0000)]
New test case.
From-SVN: r24854
Jeff Law [Mon, 25 Jan 1999 00:45:01 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24853
Michael Meissner [Sun, 24 Jan 1999 17:29:31 +0000 (17:29 +0000)]
Fixup changelog comment
From-SVN: r24852
David Edelsohn [Sun, 24 Jan 1999 17:20:07 +0000 (17:20 +0000)]
Fix problems found by David Edelsohn I caused
From-SVN: r24851
Jason Merrill [Sun, 24 Jan 1999 15:56:46 +0000 (15:56 +0000)]
* cvt.c (cp_convert_to_pointer): Fix conversion of 0 to pmf.
From-SVN: r24850
Martin v. Löwis [Sun, 24 Jan 1999 15:38:44 +0000 (15:38 +0000)]
decl.c (decls_match): Return 1 if old and new are identical.
1999-01-25 Martin von Loewis <loewis@informatik.hu-berlin.de>
* decl.c (decls_match): Return 1 if old and new are identical.
(push_overloaded_decl): Set OVL_USED when PUSH_USING.
From-SVN: r24849
Jeffrey A Law [Sun, 24 Jan 1999 07:24:00 +0000 (07:24 +0000)]
stmt.c (stmt_loop_nest_empty): New function.
* stmt.c (stmt_loop_nest_empty): New function.
* tree.h (stmt_loop_nest_empty): Declare it.
From-SVN: r24844
Jeffrey A Law [Sun, 24 Jan 1999 07:13:55 +0000 (07:13 +0000)]
rtl.def (CALL_PLACEHOLDER): New rtx code.
�
* rtl.def (CALL_PLACEHOLDER): New rtx code.
From-SVN: r24843
Michael Hayes [Sun, 24 Jan 1999 01:52:01 +0000 (01:52 +0000)]
Convert all direct memory references to use LO_SUM and remove machdep hack that used to do this.
Convert all direct memory references to use LO_SUM and remove machdep
hack that used to do this.
Sun Jan 24 21:24:43 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.c (c4x_emit_move_sequence, c4x_encode_section_info):
New functions.
(c4x_check_legit_addr): Remove USE and PLUS, allow
LO_SUM, and disable SYMBOL_REF, LABEL_REF, and CONST cases.
(c4x_legitimize_address): Penalise SYMBOL_REF, LABEL_REF, and
CONST cases. Add LO_SUM.
(c4x_print_operand): Modified 'C' and 'R' cases for calls.
Added 'U' case. Remove dependence on SYMBOL_REF_FLAG.
(c4x_print_operand_address): Handle LO_SUM.
(c4x_scan_for_ldp): Delete. Hooray!
(c4x_process_after_reload): Remove call to c4x_scan_for_ldp.
Split all insns.
(c4x_immed_int_constant): Renamed from c4x_int_constant. All callers
changed.
(c4x_immed_float_constant): Renamed from c4x_float_constant. All
callers changed.
(c4x_T_constraint): Allow LO_SUM, disable SYMBOL_REF, LABEL_REF,
and CONST.
(c4x_U_constraint, symbolic_operand): New functions.
(src_operand): Allow 'I' constants in HImode. Allow LO_SUM,
disable SYMBOL_REF, LABEL_REF, and CONST.
(lsrc_operand, tsrc_operand): Call src_operand instead of
general_operand.
(c4x_operand_subword): Update comments.
* config/c4x/c4x.c (TARGET_LOAD_ADDRESS): New macro.
(LEGITIMATE_CONSTANT_P): Allow SYMBOL_REF, LABEL_REF, CONST,
plus HIGH and LO_SUM for the C40.
(ENCODE_SECTION_INFO): Define macro.
(symbolic_operand, c4x_U_constraint, c4x_emit_move_sequence): New
prototypes.
(PREDICATE_CODES): Add symbolic_operand.
* config/c4x/c4x.md (movqi, movgqf, movhi, movhi): Call
c4x_emit_move_sequence.
(floatunsqiqf2, fixuns_truncqfqi2): Rework emitted RTL
to avoid symbol references.
(all patterns with g constraint): Replace 'g' constraint with 'rIm'.
(set_high): Renamed from set_high_use.
(set_lo_sum): Renamed from set_ior_lo_use.
(all call patterns): Make MEM explicit in call address operands.
Modified output templates to use 'U' modifier.
From-SVN: r24842
Jeffrey A Law [Sun, 24 Jan 1999 01:15:09 +0000 (18:15 -0700)]
Bump for snapshot
From-SVN: r24840
Jason Merrill [Sun, 24 Jan 1999 00:59:21 +0000 (00:59 +0000)]
decl.c (start_function): Make member functions one_only on windows.
* decl.c (start_function): Make member functions one_only on windows.
* decl2.c (import_export_decl): Likewise.
* decl.c (grokdeclarator): Don't complain about implicit int in
a system header. Change same-name field check to not complain in
a system header instead of within extern "C".
From-SVN: r24839
Jeff Law [Sun, 24 Jan 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24838
Kaveh Ghazi [Sat, 23 Jan 1999 21:49:56 +0000 (21:49 +0000)]
Update copyrights for the last patch
From-SVN: r24837
Kaveh Ghazi [Sat, 23 Jan 1999 21:24:02 +0000 (21:24 +0000)]
Update copyrights
From-SVN: r24836
Kaveh R. Ghazi [Sat, 23 Jan 1999 20:47:03 +0000 (20:47 +0000)]
Warning fixes:
* Makefile.in (parse.o): Depend on $(CONFIG_H) and
$(srcdir)/../system.h.
(class.o): Depend on $(PARSE_H) and $(srcdir)/../output.h.
(jcf-parse.o): Depend on $(srcdir)/../toplev.h.
(jcf-write.o): Likewise.
(jv-scan.o): Depend on $(CONFIG_H) and $(srcdir)/../system.h.
(mangle.o): Depend on $(srcdir)/../toplev.h.
(parse-scan.o): Depend on $(CONFIG_H) and $(srcdir)/../system.h.
(zextract.o): Depend on $(CONFIG_H) and $(srcdir)/../system.h.
* class.c: Include output.h and parse.h.
(mangled_classname): Add the `const' keyword to a char*.
(find_named_method): Hide unused function definition.
(build_utf8_ref): Change type of variable `c' to unsigned char.
Use ISALPHA/ISDIGIT instead of isalpha/isdigit.
(build_class_ref): Add the `const' keyword to a char*.
(layout_class_method): Remove unused variable `buf'.
* decl.c (find_local_variable): Remove unused variable `rtl'.
(pushdecl): Likewise for variables `different_binding_level' and
`oldglobal'.
(pushlevel): Mark parameter `unused' with ATTRIBUTE_UNUSED.
(maybe_build_cleanup): Likewise for parameter `decl'.
* except.c (expand_start_java_handler): Mark parameter `range'
with ATTRIBUTE_UNUSED.
* expr.c: Include except.h.
(pop_type): Remove unused variable `i'.
(pop_value): Likewise for variables `n_words' and `i'.
(expand_java_arrayload): Likewise for variable `convert'.
(java_lang_expand_expr): Likewise for variables `op0', `type',
`mode', `unsignedp', `node' and `elements'.
(expand_byte_code): Likewise for variables `prev_eh_ranges' and
`eh_ranges'.
(process_jvm_instruction): Add a `const' qualifier to a char*.
* gjavah.c (output_directory): Add the `const' keyword to a char*.
(temp_directory): Likewise.
(print_c_decl): Likewise.
(print_method_info): Likewise.
(decode_signature_piece): Likewise.
(print_mangled_classname): Likewise.
* java-except.h: Provide prototypes for maybe_start_try,
maybe_end_try and add_handler.
* java-tree.h (mangled_classname): Add the `const' keyword to a char*.
(parse_error_context): Likewise. Also add ATTRIBUTE_PRINTF_2.
(pushdecl_top_level, alloc_class_constant, unicode_mangling_length,
init_expr_processing, push_super_field, init_class_processing,
can_widen_reference_to, class_depth, verify_jvm_instructions,
maybe_pushlevels, maybe_poplevels, process_jvm_instruction,
set_local_type, merge_type_state, push_type, load_type_state,
add_interface, find_in_current_zip, append_gpp_mangled_classtype,
emit_unicode_mangled_name): Add prototypes.
* jcf-dump.c (print_constant): Add the `const' keyword to a char*.
(print_signature_type): Use ISDIGIT, not isdigit.
(print_signature): Remove unused variable `j'.
* jcf-io.c (jcf_filbuf_from_stdio): Cast the result of `fread' to
int when comparing against one.
* jcf-parse.c: Include toplev.h.
* jcf-write.c: Likewise. Don't include <string.h> or <sys/stat.h>.
(localvar_free): Remove unused variable `i'.
(generate_bytecode_conditional): Likewise for variable `kind'.
* jv-scan.c: Include config.h and system.h. Remove redundant
OS header and gansidecl.h includes.
(warning): Add the `const' keyword to a char*. Also add
ATTRIBUTE_PRINTF_1 to the prototype. Check ANSI_PROTOTYPES, not
__STDC__, when determining whether to use ANSI-isms.
(fatal): Likewise. Also add ATTRIBUTE_UNUSED.
(xmalloc): Don't redundantly prototype here.
(main): Remove unused parameter `envp'. Also fix the arguments
passed to function `fatal' to match the format specifier.
* lang.c (java_tree_code_name): Add the `const' keyword to a char*.
* mangle.c: Include toplev.h.
(emit_unicode_mangled_name): Declare parameter `len'.
* parse.y (parse_warning_context): Add the `const' keyword to a
char*. Also add ATTRIBUTE_PRINTF_2 to the prototype. Check
`ANSI_PROTOTYPES' not `__STDC__' for whether to use ANSI-isms.
(issue_warning_error_from_context): Add the `const' keyword to
a char*.
(parse_error_context): Likewise. Also check `ANSI_PROTOTYPES'
not `__STDC__' for whether to use ANSI-isms.
* typeck.c (incomplete_type_error): Mark parameters `value' and
`type' with ATTRIBUTE_UNUSED.
(parse_signature_type): Use ISDIGIT, not isdigit.
* verify.c (check_pending_block): Add the `const' keyword to a char*.
(verify_jvm_instructions): Likewise. Remove unused variables
`field_name' and `default_val'.
* zextract.c: Include config.h and system.h. Remove redundant
OS header includes.
* zipfile.h: Prototype `read_zip_archive'.
From-SVN: r24835
Kaveh R. Ghazi [Sat, 23 Jan 1999 19:45:50 +0000 (19:45 +0000)]
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
Jeffrey A Law [Sat, 23 Jan 1999 12:07:37 +0000 (12:07 +0000)]
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
Jeffrey A Law [Sat, 23 Jan 1999 01:57:51 +0000 (01:57 +0000)]
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
Jeff Law [Sat, 23 Jan 1999 01:50:19 +0000 (18:50 -0700)]
Copyright update.
From-SVN: r24829
Jeffrey A Law [Sat, 23 Jan 1999 01:49:56 +0000 (01:49 +0000)]
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
Jeff Law [Sat, 23 Jan 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24825
Jeffrey A Law [Sat, 23 Jan 1999 00:43:38 +0000 (00:43 +0000)]
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
Richard Henderson [Fri, 22 Jan 1999 11:52:05 +0000 (03:52 -0800)]
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
Zack Weinberg [Fri, 22 Jan 1999 10:33:38 +0000 (10:33 +0000)]
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
Michael Meissner [Fri, 22 Jan 1999 09:30:07 +0000 (09:30 +0000)]
Use alternate crs if cr0 not available
From-SVN: r24821
Jeffrey A Law [Fri, 22 Jan 1999 07:17:21 +0000 (07:17 +0000)]
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
Jeffrey A Law [Fri, 22 Jan 1999 06:46:43 +0000 (06:46 +0000)]
* Makefile.in (tooldir): Replace with gcc_tooldir.
From-SVN: r24819
Jeff Law [Fri, 22 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24818
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