Craig Burley [Mon, 29 Mar 1999 12:13:17 +0000 (12:13 +0000)]
Clarify -fcheck-memory-usage
From-SVN: r26057
J"orn Rennecke [Mon, 29 Mar 1999 11:56:45 +0000 (11:56 +0000)]
loop.c (maybe_eliminate_biv): For libcalls that set a giv, skip to end of libcall.
* loop.c (maybe_eliminate_biv): For libcalls that set a giv, skip to
end of libcall.
From-SVN: r26056
J"orn Rennecke [Mon, 29 Mar 1999 11:39:22 +0000 (11:39 +0000)]
* sh.md (mulsi3): Tag an extra REG_EQUAL note to the middle insn.
From-SVN: r26055
Jerry Quinn [Mon, 29 Mar 1999 10:52:29 +0000 (10:52 +0000)]
pa.h (HAVE_PRE_INCREMENT): Disable when optimizing for a PA8000 class machine.
* pa.h (HAVE_PRE_INCREMENT): Disable when optimizing for a PA8000
class machine.
(HAVE_PRE_DECREMENT, HAVE_POST_INCREMENT): Likewise.
(HAVE_POST_DECREMENT): Likewise.
From-SVN: r26054
Bruce Korb [Mon, 29 Mar 1999 08:33:35 +0000 (08:33 +0000)]
portability fix & release announcement update
From-SVN: r26053
Bruce Korb [Mon, 29 Mar 1999 08:28:23 +0000 (08:28 +0000)]
Portability problem with old BSD system
From-SVN: r26052
Bruce Korb [Mon, 29 Mar 1999 08:22:24 +0000 (08:22 +0000)]
Made more current
From-SVN: r26051
Jason Merrill [Mon, 29 Mar 1999 01:09:28 +0000 (01:09 +0000)]
* pt.c (fn_type_unification): Ignore 'this' parm from conversion ops.
From-SVN: r26050
Jason Merrill [Mon, 29 Mar 1999 01:08:51 +0000 (20:08 -0500)]
new
From-SVN: r26049
Jeff Law [Mon, 29 Mar 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r26048
Jerry Quinn [Sun, 28 Mar 1999 23:56:07 +0000 (16:56 -0700)]
pa.md (pa7100LCshiftmem, [...]): Change simultaneity.
* pa.md (pa7100LCshiftmem, pa7100LCalu): Change simultaneity. Use
shift/mem ops in pa7100LCalu.
From-SVN: r26047
Kaveh R. Ghazi [Sun, 28 Mar 1999 19:22:10 +0000 (19:22 +0000)]
Warning fixes:
* class.c (maybe_add_interface): Remove unused variable
`interface_binfo'.
(make_class_data): Use = for assignment, not ==. Likewise.
(emit_register_classes): Remove unused variable `decl'.
* lex.c: Fix comment so as not to contain an embedded `/*'.
* verify.c (verify_jvm_instructions): Remove unused variable
`self_type'.
From-SVN: r26046
Kaveh R. Ghazi [Sun, 28 Mar 1999 17:33:22 +0000 (17:33 +0000)]
Warning fixes:
* recog.h (insn_outfun, insn_operand_predicate): Add prototype
arguments.
* rtl.h (note_stores): Likewise.
* rtlanal.c (note_stores): Likewise.
From-SVN: r26045
Richard Henderson [Sun, 28 Mar 1999 15:35:04 +0000 (07:35 -0800)]
* varasm.c (output_constant_pool): Always mark the constant pool.
From-SVN: r26044
Jerry Quinn [Sun, 28 Mar 1999 15:10:10 +0000 (08:10 -0700)]
pa.c (pa_adjust_cost): Don't do cost adjustments on pa8000.
* pa.c (pa_adjust_cost): Don't do cost adjustments on pa8000.
(pa_reorg): Don't call pa_combine_instructions on pa8000.
From-SVN: r26043
Jeffrey A Law [Sun, 28 Mar 1999 14:33:50 +0000 (14:33 +0000)]
* reload1.c (reload): Remove accidental code duplication.
From-SVN: r26042
Jason Merrill [Sun, 28 Mar 1999 13:55:18 +0000 (08:55 -0500)]
update
From-SVN: r26041
Robert Lipe [Sun, 28 Mar 1999 10:35:56 +0000 (10:35 +0000)]
sysv5.h: New file to describe UnixWare7/SVR5.
�
* i386/sysv5.h: New file to describe UnixWare7/SVR5.
* configure.in (i?86-UnixWare7*-sysv): Use it.
* i386/udk.h: Use sysv5.h. Now uses Dwarf-2.
From-SVN: r26040
Robert Lipe [Sun, 28 Mar 1999 10:28:29 +0000 (10:28 +0000)]
sysv5.h: New file to describe UnixWare7/SVR5.
�
* i386/sysv5.h: New file to describe UnixWare7/SVR5.
* configure.in (i?86-UnixWare7*-sysv): Use it.
* i386/udk.h: Use sysv5.h. Now uses Dwarf-2.
From-SVN: r26039
Robert Lipe [Sun, 28 Mar 1999 10:28:26 +0000 (10:28 +0000)]
sysv5.h: New file to describe UnixWare7/SVR5.
�
* i386/sysv5.h: New file to describe UnixWare7/SVR5.
* configure.in (i?86-UnixWare7*-sysv): Use it.
* i386/udk.h: Use sysv5.h. Now uses Dwarf-2.
From-SVN: r26038
Dave Love [Sun, 28 Mar 1999 03:18:32 +0000 (03:18 +0000)]
configure: Rebuilt.
* configure: Rebuilt.
* configure.in: Fix integer size tests: sanity check first; search
toplevel include dir (from Rainer Orth); only mess with ac_cpp
once; use -DIN_GCC -DHAVE_CONFIG_H.
* configure.in: Use `g77_cv_...', not `f77_cv_...'.
From-SVN: r26035
Jeffrey A Law [Sun, 28 Mar 1999 01:15:11 +0000 (18:15 -0700)]
Bump for snapshot
From-SVN: r26033
Jeffrey A Law [Sun, 28 Mar 1999 00:50:47 +0000 (00:50 +0000)]
sdbout.c (sdbout_symbol): Do not call build_pointer_type, build one on the fly and do not cache the result.
* sdbout.c (sdbout_symbol): Do not call build_pointer_type, build
one on the fly and do not cache the result.
From-SVN: r26032
Jeff Law [Sun, 28 Mar 1999 00:45:04 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r26031
Jeffrey A Law [Sat, 27 Mar 1999 23:50:40 +0000 (23:50 +0000)]
objc-torture.exp: Replace "77" with "Obj-C" in pattern matching strings.
* lib/objc-torture.exp: Replace "77" with "Obj-C" in pattern
matching strings.
From-SVN: r26030
Jeffrey A Law [Sat, 27 Mar 1999 23:47:33 +0000 (23:47 +0000)]
* gcc.cps, cpp.cps: Delete unwanted files.
From-SVN: r26029
Jeffrey A Law [Sat, 27 Mar 1999 23:31:23 +0000 (23:31 +0000)]
Make-lang.in (CHILL.dvi): New target.
* Make-lang.in (CHILL.dvi): New target.
(CHILL.mostlyclean): Remove remnants of old runtime library structure.
From-SVN: r26028
Andreas Schwab [Sat, 27 Mar 1999 23:08:37 +0000 (16:08 -0700)]
function.c (assign_parms): Undo change of June 9.
* function.c (assign_parms): Undo change of June 9.
Brought over from the gcc2 tree.
From-SVN: r26027
John Wehle [Sat, 27 Mar 1999 20:52:02 +0000 (20:52 +0000)]
i386.md (movdicc+3, movdicc+4): Rewrite using split_di.
* i386.md (movdicc+3, movdicc+4): Rewrite using split_di.
* i386.c (output_int_conditional_move): Delete unused code.
From-SVN: r26026
David Edelsohn [Sat, 27 Mar 1999 18:21:30 +0000 (18:21 +0000)]
* rs6000/{aix41.h,aix43.h} (ASM_CPU_SPEC): Add 604e.
From-SVN: r26022
Mark Mitchell [Sat, 27 Mar 1999 17:33:36 +0000 (17:33 +0000)]
cp-tree.h (add_friend): Declare.
* cp-tree.h (add_friend): Declare.
(add_friends): Likewise.
* friend.c (add_friend): Make it global. Don't add to
DECL_BEFRIENDING_CLASSES if the befriending class is a template.
(add_friends): Make it global.
(make_friend_class): Don't add to DECL_BEFRIENDING_CLASSES if the
befriending class is a template.
* parse.y (component_decl_1): Fix typo in comment.
* parse.c: Regenerated.
* pt.c (instantiate_class_template): Use add_friend and
add_friends rather that duplicating some of their functionality
here.
From-SVN: r26020
Alexandre Petit-Bianco [Sat, 27 Mar 1999 16:17:16 +0000 (16:17 +0000)]
[multiple changes]
Sat Mar 27 15:13:21 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.h (EXPR_WFL_GET_LINECOL): Set a line and column count
using a WFL compound value.
* parse.y (xref.h): Include.
(maybe_create_class_interface_decl): Set DECL_SOURCE_LINE to the
WFL compound value.
(register_fields): Set WFL compound value to lineno if doing
xrefs.
(java_complete_expand_method): Call expand_xref if flag_emit_xref
is set.
* xref.c (system.h, jcf.h, parse.h, obstack.h): Include.
* xref.h (expand_xref): Prototype renamed from xref_generate.
Sat Mar 27 14:16:32 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.h (BLOCK_CHAIN_DECL): New use GET_CURRENT_BLOCK.
(GET_CURRENT_BLOCK): New macro.
* parse.y (current_static_block): New global variable.
(method_body:): Define action.
(complete_method_declaration): Set current_function_decl to NULL
when work on the current method is done.
(declare_local_variables): Use GET_CURRENT_BLOCK.
(java_method_add_stmt): Likewise.
(java_complete_expand_method): Disable the use of `this' when
expanding <clinit>.
(enter_a_block): If no current method exist, use
current_static_block to link static initializer blocks.
(exit_block): Rewritten to use current_static_block when no current
method decl exists.
(lookup_name_in_blocks): Use GET_CURRENT_BLOCK.
(patch_return): Forbid the use of `return' in static initializers.
(patch_throw_statement): Fixed indentation. Issue specific error
for uncaught thrown checked exception in static initializer
blocks. Removed FIXME.
From-SVN: r26018
Per Bothner [Sat, 27 Mar 1999 16:05:29 +0000 (16:05 +0000)]
parse.y (complete_loop_body): Rename to finish_loop_body.
�
* parse.y (complete_loop_body): Rename to finish_loop_body.
(complete_labeled_statement): Rename to finish_labeled_statement.
(complete_for_loop): Rename to finish_for_loop.
(complete_method_declaration): Rename to finish_method_declaration.
* java-tree.h (continue_identifier_node): New global node.
* decl.c: Define and initialize continue_identifier_node.
* parse.y (generate_labeled_block): Remove - no longer needed.
(build_loop_body): Use continue_identifier_node for continue block.
(finish_labeled_statement): Also do pop_labeled_block actions.
(java_complete_lhs): POP_LOOP even if error.
(build_labeled_block): Special handling for continue_identifier_node.
(patch_loop_statement): Re-organize.
(patch_bc_statement): Re-write.
From-SVN: r26017
Per Bothner [Sat, 27 Mar 1999 16:05:27 +0000 (08:05 -0800)]
*** empty log message ***
From-SVN: r26016
Per Bothner [Sat, 27 Mar 1999 16:05:24 +0000 (08:05 -0800)]
parse.y (complete_loop_body): Rename to finish_loop_body.
d
* parse.y (complete_loop_body): Rename to finish_loop_body.
(complete_labeled_statement): Rename to finish_labeled_statement.
(complete_for_loop): Rename to finish_for_loop.
(complete_method_declaration): Rename to finish_method_declaration.
* java-tree.h (continue_identifier_node): New global node.
* decl.c: Define and initialize continue_identifier_node.
* parse.y (generate_labeled_block): Remove - no longer needed.
(build_loop_body): Use continue_identifier_node for continue block.
(finish_labeled_statement): Also do pop_labeled_block actions.
(java_complete_lhs): POP_LOOP even if error.
(build_labeled_block): Special handling for continue_identifier_node.
(patch_loop_statement): Re-organize.
(patch_bc_statement): Re-write.
From-SVN: r26015
Jeffrey A Law [Sat, 27 Mar 1999 15:18:32 +0000 (15:18 +0000)]
* flow.c (mark_used_regs): Improve handling of ASMs.
From-SVN: r26014
Kaveh R. Ghazi [Sat, 27 Mar 1999 10:24:06 +0000 (10:24 +0000)]
Warning fixes:
* bad.c (_ffebad_message_, ffebad_string_, ffebad_message_,
ffebad_bufputs_, ffebad_bufputs_, ffebad_start_, ffebad_string,
ffebad_finish): Const-ify a char*.
* bld.c (ffebld_op_string_, ffebld_op_string): Likewise.
* bld.h (ffebld_op_string): Likewise.
* com.c (ffecom_arglist_expr_, ffecom_build_f2c_string_,
ffecom_debug_kludge_, ffecom_f2c_make_type_,
ffecom_get_appended_identifier_, ffecom_get_identifier_,
ffecom_gfrt_args_): Likewise.
(ffecom_convert_narrow_, ffecom_convert_widen_): Add prototype.
(builtin_function, ffecom_gfrt_name_, ffecom_gfrt_argstring_,
ffecom_arglist_expr_, ffecom_build_f2c_string_,
ffecom_debug_kludge_, ffecom_f2c_make_type_,
ffecom_get_appended_identifier_, ffecom_get_external_identifier_,
ffecom_get_identifier_, ffecom_decl_field,
ffecom_get_invented_identifier, lang_print_error_function,
skip_redundant_dir_prefix, read_name_map, print_containing_files):
Const-ify a char*.
(savestring): Remove, use `xstrdup' instead.
* com.h (ffecom_decl_field, ffecom_get_invented_identifier):
Const-ify a char*.
* data.c (ffebld, ffedata_gather_): Make explicitly static.
* expr.c (ffeexpr_isdigits_, ffeexpr_percent_,
ffeexpr_reduced_concatenate_, ffeexpr_nil_real_,
ffeexpr_nil_number_, ffeexpr_nil_number_period_,
ffeexpr_nil_number_real_, ffeexpr_token_real_,
ffeexpr_token_number_, ffeexpr_token_number_period_,
ffeexpr_token_number_real_): Const-ify a char*.
* fini.c (xspaces): Likewise.
* global.c (ffeglobal_type_string_): Likewise.
(ffeglobal_drive): Protoize.
(ffeglobal_proc_def_arg): Const-ify a char*.
* global.h (ffeglobal_drive): Protoize.
(ffeglobal_proc_def_arg): Const-ify a char*.
* implic.c (ffeimplic_none, ffeimplic_peek_symbol_type):
Likewise.
* implic.h (ffeimplic_peek_symbol_type): Likewise.
* info.c (ffeinfo_basictype_string_, ffeinfo_kind_message_,
ffeinfo_kind_string_, ffeinfo_kindtype_string_,
ffeinfo_where_string_, ffeinfo_basictype_string,
ffeinfo_kind_message, ffeinfo_kind_string,
ffeinfo_kindtype_string, ffeinfo_where_string): Likewise.
* info.h (ffeinfo_basictype_string, ffeinfo_kind_message,
ffeinfo_kind_string, ffeinfo_kindtype_string,
ffeinfo_where_string): Likewise.
* intrin.c (_ffeintrin_name_, _ffeintrin_gen_, _ffeintrin_spec_,
_ffeintrin_imp_, ffeintrin_check_, ffeintrin_cmp_name_,
ffeintrin_fulfill_specific, ffeintrin_init_0,
ffeintrin_is_actualarg, ffeintrin_is_intrinsic,
ffeintrin_name_generic, ffeintrin_name_implementation,
ffeintrin_name_specific): Likewise.
* intrin.h (ffeintrin_is_intrinsic, ffeintrin_name_generic,
ffeintrin_name_implementation, ffeintrin_name_specific): Likewise.
* lex.c (ffelex_type_string_, ffelex_token_new_character,
ffelex_token_new_name, ffelex_token_new_names,
ffelex_token_new_number): Likewise.
* lex.h (ffelex_token_new_character, ffelex_token_new_name,
ffelex_token_new_names, ffelex_token_new_number): Likewise.
* malloc.c (malloc_types_, malloc_pool_new, malloc_new_inpool_,
malloc_new_zinpool_): Likewise.
* malloc.h (malloc_new_inpool_, malloc_new_zinpool_,
malloc_pool_new): Likewise.
* name.c (ffename_space_drive_global, ffename_space_drive_symbol):
Protoize.
* name.h (ffename_space_drive_global, ffename_space_drive_symbol):
Likewise.
* symbol.c (ffesymbol_state_name_, ffesymbol_attr_name_,
ffesymbol_attrs_string): Const-ify a char*.
(ffesymbol_drive, ffesymbol_drive_sfnames): Protoize.
(ffesymbol_state_string): Const-ify a char*.
* symbol.h (ffesymbol_attrs_string): Likewise.
(ffesymbol_drive, ffesymbol_drive_sfnames): Protoize.
(ffesymbol_state_string): Const-ify a char*.
* target.c (ffetarget_layout): Likewise.
* target.h (ffetarget_layout): Likewise.
From-SVN: r26013
Jason Merrill [Sat, 27 Mar 1999 01:14:32 +0000 (01:14 +0000)]
call.c (build_field_call): Unify 'this' and non-'this' cases.
* call.c (build_field_call): Unify 'this' and non-'this' cases.
* typeck.c (build_indirect_ref): Check for 'this' sooner.
From-SVN: r26012
Jason Merrill [Sat, 27 Mar 1999 01:12:06 +0000 (20:12 -0500)]
new
From-SVN: r26011
Jason Merrill [Sat, 27 Mar 1999 01:05:34 +0000 (20:05 -0500)]
tweak
From-SVN: r26010
Jeff Law [Sat, 27 Mar 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r26009
Ovidiu Predescu [Fri, 26 Mar 1999 23:44:04 +0000 (23:44 +0000)]
Explicitly specify the char arguments to __objc_code_char and __objc_code_char as being signed.
From-SVN: r26008
Zack Weinberg [Fri, 26 Mar 1999 22:55:35 +0000 (22:55 +0000)]
Makefile.in (xcpp, cppspec.o): New targets.
* Makefile.in (xcpp, cppspec.o): New targets.
(CPP_INSTALL_NAME): New macro.
(install-cpp): Install xcpp. Use CPP_INSTALL_NAME.
(all.build, start.encap): Build xcpp.
* cppspec.c: New file, implements argument filtering for a
user-visible C preprocessor.
* cpp.sh: Removed.
From-SVN: r26007
Charles M. Hannum [Fri, 26 Mar 1999 22:46:33 +0000 (15:46 -0700)]
fold-const.c (fold_truthop): Optimize bitfield references with different masks as long as their size and bit...
* fold-const.c (fold_truthop): Optimize bitfield references with
different masks as long as their size and bit position are the same.
From-SVN: r26006
Charles M. Hannum [Fri, 26 Mar 1999 22:23:02 +0000 (15:23 -0700)]
fold-const.c (fold_truthop): Build a type for both the lhs and rhs and use it appropriately.
* fold-const.c (fold_truthop): Build a type for both the lhs and
rhs and use it appropriately.
From-SVN: r26005
Charles M. Hannum [Fri, 26 Mar 1999 21:52:14 +0000 (14:52 -0700)]
fold-const.c (fold_truthop): Mask the lhs and rhs after merging adjacent bitfield references.
* fold-const.c (fold_truthop): Mask the lhs and rhs after merging
adjacent bitfield references.
From-SVN: r26004
Jim Wilson [Fri, 26 Mar 1999 20:50:16 +0000 (20:50 +0000)]
Fix vxworks --with-headers build failure.
* Makefile.in (stmp-fixinc): Use tooldir instead of gcc_tooldir.
From-SVN: r26003
Nick Clifton [Fri, 26 Mar 1999 16:09:24 +0000 (16:09 +0000)]
Define SUBTARGET_CPU_DEFAULT before including arm/coff.h
From-SVN: r26002
Nick Clifton [Fri, 26 Mar 1999 16:04:07 +0000 (16:04 +0000)]
Just include arm/vxarm.h for arm-vxworks target
From-SVN: r26001
Scott Bambrough [Fri, 26 Mar 1999 15:30:20 +0000 (15:30 +0000)]
Apply patch from Scott Bambrough <scottb@corelcomputer.com> Modified arm*-*-linux-gnu* target to set thread_file to 'posix' if --enable-threads...
Apply patch from Scott Bambrough <scottb@corelcomputer.com>
Modified arm*-*-linux-gnu* target to set thread_file to 'posix' if
--enable-threads, --enable-threads=[yes,pthreads,posix] is passed as a
command line parameter to configure.
Modified TARGET_LIBGCC2_CFLAGS to include -fPIC. If not included libgcc2
is not compiled with PIC flag, as it should be.
From-SVN: r26000
Nick Clifton [Fri, 26 Mar 1999 14:43:15 +0000 (14:43 +0000)]
Add comment about duplication of EXTRA_PARTS in EXTRA_MULTILIB_PARTS
From-SVN: r25999
J"orn Rennecke [Fri, 26 Mar 1999 11:46:59 +0000 (11:46 +0000)]
loop.c (combine_givs): Fix index into can_combine when doing benefit adjustment for remaining givs when...
* loop.c (combine_givs): Fix index into can_combine when doing
benefit adjustment for remaining givs when having combined a giv.
From-SVN: r25998
Nick Clifton [Fri, 26 Mar 1999 11:39:32 +0000 (11:39 +0000)]
Define EXTRA_MULTILIB_PARTS in case mutlilibs are ever enabled.
From-SVN: r25997
Nick Clifton [Fri, 26 Mar 1999 10:49:03 +0000 (10:49 +0000)]
Include dbxelf.h
From-SVN: r25996
Nick Clifton [Fri, 26 Mar 1999 10:45:27 +0000 (10:45 +0000)]
Move stabs specific target macros out od svr4.h and elfos.h and into dbxelf.h
From-SVN: r25995
Kaveh R. Ghazi [Fri, 26 Mar 1999 07:45:00 +0000 (07:45 +0000)]
Warning fixes:
* call.c (op_error): Const-ify a char*.
(add_candidate, source_type, add_warning): Add static prototype.
(print_z_candidates): Const-ify a char*.
* class.c (resolve_address_of_overloaded_function,
fixed_type_or_null, build_vtable_entry_ref): Add static prototype.
(get_vtable_name, finish_struct_1): Const-ify a char*.
* cvt.c (convert_to_reference): Likewise.
* decl.c (redeclaration_error_message, record_builtin_type,
record_unknown_type, member_function_or_else, bad_specifiers):
Likewise.
(find_binding, select_decl, unqualified_namespace_lookup,
lookup_flags, qualify_lookup, record_builtin_java_type, tag_name):
Add static prototype.
(warn_extern_redeclared_static, duplicate_decls, pushdecl,
implicitly_declare, record_builtin_java_type, define_function,
grok_op_properties, tag_name): Const-ify a char*.
* cp-tree.h (FORMAT_VBASE_NAME): Allow parameter `BUF' to be const.
(define_function, finish_builtin_type): Const-ify a char*.
(cp_error, cp_error_at, cp_warning, cp_warning_at, cp_pedwarn,
cp_pedwarn_at, cp_compiler_error, cp_sprintf): Add prototype args.
(file_name_nondirectory): Const-ify a char*.
(init_filename_times): Don't prototype.
(compiler_error): Prototype.
(yyerror, init_repo): Const-ify a char*.
(build_srcloc): Don't prototype.
(build_x_indirect_ref, build_indirect_ref, build_component_addr):
Const-ify a char*.
(warn_for_assignment): Don't prototype.
(convert_for_initialization, readonly_error, check_for_new_type,
GNU_xref_begin, GNU_xref_file, GNU_xref_ref, GNU_xref_call):
Const-ify a char*.
* decl2.c (acceptable_java_type, output_vtable_inherit,
setup_initp, start_objects, finish_objects, do_dtors, do_ctors,
merge_functions, decl_namespace, validate_nonmember_using_decl,
do_nonmember_using_decl): Add static prototype.
(lang_f_options): Const-ify a char*.
(finish_builtin_type): Likewise.
(add_function, arg_assoc_namespace, arg_assoc_class): Add static
prototype.
* errfn.c: Include cp-tree.h.
(cp_thing): Add static prototype.
(compiler_error): Don't protoptype.
(cp_compiler_error): Cast `compiler_error' to `errorfn' before
passing it to `cp_thing'.
* error.c (interesting_scope_p): Add static prototype.
* except.c (build_eh_type_type, build_eh_type_type_ref): Const-ify
a char*.
* init.c (compiler_error): Don't prototype.
(member_init_ok_or_else): Const-ify a char*.
(build_java_class_ref): Add static prototype.
* lex.c (compiler_error): Don't prototype.
(get_time_identifier, interface_strcmp, extend_token_buffer,
handle_cp_pragma): Const-ify a char*.
(is_global, init_filename_times): Add static prototype.
(file_name_nondirectory, cplus_tree_code_name): Const-ify a char*.
(compiler_error): Change from fixed args to variable args.
(yyerror): Const-ify a char*.
* parse.y (cond_stmt_keyword): Const-ify a char*.
(parse_decl): Add static prototype.
* pt.c (template_args_equal, print_template_context): Likewise.
(print_candidates, check_default_tmpl_args): Const-ify a char*.
(instantiate_class_template): Likewise.
* repo.c (get_base_filename, open_repo_file, init_repo): Likewise.
* rtti.c (call_void_fn, expand_generic_desc, expand_si_desc,
expand_class_desc, expand_ptr_desc, expand_attr_desc): Likewise.
* search.c (lookup_field_info, lookup_member): Likewise.
(lookup_member): Cast the first argument of `bzero' to a PTR.
* sig.c (compiler_error): Don't prototype.
(build_signature_pointer_or_reference_nam): Const-ify a char*.
(get_sigtable_name, build_member_function_pointer): Likewise.
* tree.c (compiler_error): Don't prototype.
(no_linkage_helper, build_srcloc): Add static prototype.
(build_vbase_pointer_fields): Const-ify a char*.
(__eprintf): Don't unnecessarily handle `const' when !__STDC__.
* typeck.c (compiler_error): Don't prototype.
(convert_for_assignment): Const-ify a char*.
(comp_cv_target_types): Add static prototype.
(build_x_indirect_ref, build_indirect_ref, convert_arguments,
build_component_addr, build_unary_op, convert_for_initialization):
Const-ify a char*.
* typeck2.c (ack): Add static prototype and change from fixed args
to variable args.
(readonly_error, check_for_new_type): Const-ify a char*.
* xref.c (_XREF_FILE, find_file, filename, fctname, declname,
fixname, open_xref_file, classname, GNU_xref_begin): Likewise.
(GNU_xref_file): Likewise. Also use `xmalloc' instead of `malloc'.
(GNU_xref_end_scope, GNU_xref_ref, GNU_xref_decl, GNU_xref_call,
gen_assign, GNU_xref_member): Const-ify a char*.
From-SVN: r25994
Charles M. Hannum [Fri, 26 Mar 1999 01:08:54 +0000 (18:08 -0700)]
fold-const.c (fold_truthop): Verify that the lhs and rhs are in the same bit position when...
* fold-const.c (fold_truthop): Verify that the lhs and rhs are
in the same bit position when optimizing bitfield references
which have the same mask.
From-SVN: r25993
Martin v. Löwis [Fri, 26 Mar 1999 00:58:14 +0000 (00:58 +0000)]
gcc.texi (Copy Assignment): New node.
* gcc.texi (Copy Assignment): New node.
* gxxint.texi: Remove old discussion on copying virtual bases.
From-SVN: r25992
Jeff Law [Fri, 26 Mar 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25991
Jeffrey A Law [Thu, 25 Mar 1999 23:55:15 +0000 (23:55 +0000)]
* gcc.c-torture/execute/990326-1.c: New test from Charles Hannum.
From-SVN: r25990
Zack Weinberg [Thu, 25 Mar 1999 23:36:47 +0000 (23:36 +0000)]
gcc.c: Compile unconditionally all code formerly dependent on #ifdef LANG_SPECIFIC_DRIVER.
* gcc.c: Compile unconditionally all code formerly dependent
on #ifdef LANG_SPECIFIC_DRIVER.
* gccspec.c: New file with stub lang_specific_driver,
lang_specific_pre_link.
* Makefile.in: Link gccspec.o into xgcc. Add rule to compile
gccspec.c.
* cp/Make-lang.in: Remove all references to g++.o/g++.c.
Link g++ from gcc.o.
* f/Make-lang.in: Remove all references to g77.o/g77.c.
Link g77 from gcc.o.
* java/Make-lang.in: Remove all references to gcj.o/gcj.c.
Link gcj from gcc.o.
From-SVN: r25989
Craig Burley [Thu, 25 Mar 1999 23:09:01 +0000 (23:09 +0000)]
New tests (one might fail due to complex alias problems)
From-SVN: r25988
Jason Merrill [Thu, 25 Mar 1999 21:25:27 +0000 (21:25 +0000)]
* gcc.texi (Temporaries): Update.
From-SVN: r25987
John Wehle [Thu, 25 Mar 1999 21:11:47 +0000 (21:11 +0000)]
Added John Wehle.
From-SVN: r25986
Jason Merrill [Thu, 25 Mar 1999 19:45:25 +0000 (19:45 +0000)]
* decl2.c (comdat_linkage): Treat vtables like functions.
From-SVN: r25985
Richard Henderson [Thu, 25 Mar 1999 16:54:31 +0000 (08:54 -0800)]
combine.c (distribute_notes): Place REG_LABEL also where REG_EQUAL indicates.
* combine.c (distribute_notes): Place REG_LABEL also where
REG_EQUAL indicates.
From-SVN: r25984
Finn Hakansson [Thu, 25 Mar 1999 16:31:16 +0000 (16:31 +0000)]
* loop.c (strength_reduce): Correct a comment.
From-SVN: r25983
Mark Mitchell [Thu, 25 Mar 1999 13:28:41 +0000 (13:28 +0000)]
* pt.c (tsubst_decl): Tsubst into DECL_BEFRIENDING_CLASSES.
From-SVN: r25982
Jim Wilson [Thu, 25 Mar 1999 12:54:06 +0000 (12:54 +0000)]
Fix missing initializer compile-time warning messages.
* a29k/a29k.h (TARGET_SWITCHES): Add doc strings.
* i960/i960.h (TARGET_SWITCHES): Add doc strings.
* invoke.texi (a29k): Add documentation for -mno-multm option.
From-SVN: r25981
Andrew Macleod [Thu, 25 Mar 1999 12:04:26 +0000 (12:04 +0000)]
rtl.texi (RTX_FRAME_RELATED_P): Add documentation.
Thu Mar 25 14:04:54 EST 1999 Andrew MacLeod <amacleod@cygnus.com>
* rtl.texi (RTX_FRAME_RELATED_P): Add documentation.
* rtl.h (struct rtx_def): Update comment for frame_related field.
(set_unique_reg_note): Declare prototype.
* dwarf2out.c (dwarf2out_frame_debug_expr): Split out from
'dwarf2out_frame_debug' to handle only expressions, and process
component parts of a PARALLEL expression.
(dwarf2out_frame_debug): Process insns only, and call
new function 'dwarf2out_frame_debug_expr' for patterns.
* emit-rtl.c (set_unique_reg_note): New function to add a reg note,
but if there is an existingone, deletes it first.
* expmed.c (expand_mult, expand_divmod): Use set_unique_reg_note.
* optabs.c (add_equal_note, expand_binop): Use set_unique_reg_note.
(emit_no_conflict_block, emit_libcall_block): Use set_unique_reg_note.
(expand_fix): Use set_unique_reg_note.
From-SVN: r25980
Andrew Macleod [Thu, 25 Mar 1999 12:04:25 +0000 (12:04 +0000)]
rtl.texi (RTX_FRAME_RELATED_P): Add documentation.
d
Thu Mar 25 14:04:54 EST 1999 Andrew MacLeod <amacleod@cygnus.com>
* rtl.texi (RTX_FRAME_RELATED_P): Add documentation.
* rtl.h (struct rtx_def): Update comment for frame_related field.
(set_unique_reg_note): Declare prototype.
* dwarf2out.c (dwarf2out_frame_debug_expr): Split out from
'dwarf2out_frame_debug' to handle only expressions, and process
component parts of a PARALLEL expression.
(dwarf2out_frame_debug): Process insns only, and call
new function 'dwarf2out_frame_debug_expr' for patterns.
* emit-rtl.c (set_unique_reg_note): New function to add a reg note,
but if there is an existingone, deletes it first.
* expmed.c (expand_mult, expand_divmod): Use set_unique_reg_note.
* optabs.c (add_equal_note, expand_binop): Use set_unique_reg_note.
(emit_no_conflict_block, emit_libcall_block): Use set_unique_reg_note.
(expand_fix): Use set_unique_reg_note.
From-SVN: r25979
Andrew Macleod [Thu, 25 Mar 1999 12:04:24 +0000 (12:04 +0000)]
rtl.texi (RTX_FRAME_RELATED_P): Add documentation.
a
Thu Mar 25 14:04:54 EST 1999 Andrew MacLeod <amacleod@cygnus.com>
* rtl.texi (RTX_FRAME_RELATED_P): Add documentation.
* rtl.h (struct rtx_def): Update comment for frame_related field.
(set_unique_reg_note): Declare prototype.
* dwarf2out.c (dwarf2out_frame_debug_expr): Split out from
'dwarf2out_frame_debug' to handle only expressions, and process
component parts of a PARALLEL expression.
(dwarf2out_frame_debug): Process insns only, and call
new function 'dwarf2out_frame_debug_expr' for patterns.
* emit-rtl.c (set_unique_reg_note): New function to add a reg note,
but if there is an existingone, deletes it first.
* expmed.c (expand_mult, expand_divmod): Use set_unique_reg_note.
* optabs.c (add_equal_note, expand_binop): Use set_unique_reg_note.
(emit_no_conflict_block, emit_libcall_block): Use set_unique_reg_note.
(expand_fix): Use set_unique_reg_note.
From-SVN: r25978
Andrew Macleod [Thu, 25 Mar 1999 12:04:22 +0000 (12:04 +0000)]
rtl.texi (RTX_FRAME_RELATED_P): Add documentation.
Thu Mar 25 14:04:54 EST 1999 Andrew MacLeod <amacleod@cygnus.com>
* rtl.texi (RTX_FRAME_RELATED_P): Add documentation.
* rtl.h (struct rtx_def): Update comment for frame_related field.
(set_unique_reg_note): Declare prototype.
* dwarf2out.c (dwarf2out_frame_debug_expr): Split out from
'dwarf2out_frame_debug' to handle only expressions, and process
component parts of a PARALLEL expression.
(dwarf2out_frame_debug): Process insns only, and call
new function 'dwarf2out_frame_debug_expr' for patterns.
* emit-rtl.c (set_unique_reg_note): New function to add a reg note,
but if there is an existingone, deletes it first.
* expmed.c (expand_mult, expand_divmod): Use set_unique_reg_note.
* optabs.c (add_equal_note, expand_binop): Use set_unique_reg_note.
(emit_no_conflict_block, emit_libcall_block): Use set_unique_reg_note.
(expand_fix): Use set_unique_reg_note.
From-SVN: r25977
Andrew Macleod [Thu, 25 Mar 1999 12:04:19 +0000 (12:04 +0000)]
rtl.texi (RTX_FRAME_RELATED_P): Add documentation.
Thu Mar 25 14:04:54 EST 1999 Andrew MacLeod <amacleod@cygnus.com>
* rtl.texi (RTX_FRAME_RELATED_P): Add documentation.
* rtl.h (struct rtx_def): Update comment for frame_related field.
(set_unique_reg_note): Declare prototype.
* dwarf2out.c (dwarf2out_frame_debug_expr): Split out from
'dwarf2out_frame_debug' to handle only expressions, and process
component parts of a PARALLEL expression.
(dwarf2out_frame_debug): Process insns only, and call
new function 'dwarf2out_frame_debug_expr' for patterns.
* emit-rtl.c (set_unique_reg_note): New function to add a reg note,
but if there is an existingone, deletes it first.
* expmed.c (expand_mult, expand_divmod): Use set_unique_reg_note.
* optabs.c (add_equal_note, expand_binop): Use set_unique_reg_note.
(emit_no_conflict_block, emit_libcall_block): Use set_unique_reg_note.
(expand_fix): Use set_unique_reg_note.
From-SVN: r25976
Andrew Macleod [Thu, 25 Mar 1999 12:04:16 +0000 (12:04 +0000)]
rtl.texi (RTX_FRAME_RELATED_P): Add documentation.
�
Thu Mar 25 14:04:54 EST 1999 Andrew MacLeod <amacleod@cygnus.com>
* rtl.texi (RTX_FRAME_RELATED_P): Add documentation.
* rtl.h (struct rtx_def): Update comment for frame_related field.
(set_unique_reg_note): Declare prototype.
* dwarf2out.c (dwarf2out_frame_debug_expr): Split out from
'dwarf2out_frame_debug' to handle only expressions, and process
component parts of a PARALLEL expression.
(dwarf2out_frame_debug): Process insns only, and call
new function 'dwarf2out_frame_debug_expr' for patterns.
* emit-rtl.c (set_unique_reg_note): New function to add a reg note,
but if there is an existingone, deletes it first.
* expmed.c (expand_mult, expand_divmod): Use set_unique_reg_note.
* optabs.c (add_equal_note, expand_binop): Use set_unique_reg_note.
(emit_no_conflict_block, emit_libcall_block): Use set_unique_reg_note.
(expand_fix): Use set_unique_reg_note.
From-SVN: r25975
Art Haas [Thu, 25 Mar 1999 11:50:02 +0000 (11:50 +0000)]
tlink.c (symbol_hash_newfunc): Remove redundant call to hash_newfunc.
* tlink.c (symbol_hash_newfunc): Remove redundant call to
hash_newfunc.
(file_hash_newfunc, demangled_hash_newfunc): Likewise.
From-SVN: r25974
Richard Henderson [Thu, 25 Mar 1999 10:06:56 +0000 (02:06 -0800)]
* i386.h (PREFERRED_STACK_BOUNDARY): Set to 128.
From-SVN: r25973
Philip Blundell [Thu, 25 Mar 1999 09:45:15 +0000 (09:45 +0000)]
Applied patch from Phillip Blundell <pb@nexus.co.uk>:
This patch fixes a couple of Linux-specific problems with profiling and
debugging. It's against the trunk version. Without it gdb reports wrong
line numbers and -pg does not work at all.
From-SVN: r25972
Jason Merrill [Thu, 25 Mar 1999 03:50:54 +0000 (22:50 -0500)]
new
From-SVN: r25971
Nathan Sidwell [Thu, 25 Mar 1999 03:50:45 +0000 (03:50 +0000)]
decl.c (init_decl_processing): Add `signed' type as a synonym for `int'.
* decl.c (init_decl_processing): Add `signed' type as a synonym
for `int'.
From-SVN: r25970
Jason Merrill [Thu, 25 Mar 1999 03:28:39 +0000 (22:28 -0500)]
update
From-SVN: r25969
Jason Merrill [Thu, 25 Mar 1999 03:28:05 +0000 (22:28 -0500)]
new
From-SVN: r25968
Jason Merrill [Thu, 25 Mar 1999 03:06:16 +0000 (03:06 +0000)]
typeck.c (common_type): Handle cv-qual unification for pointers to members.
* typeck.c (common_type): Handle cv-qual unification for pointers
to members.
* decl.c (unqualified_namespace_lookup): Return error_mark_node
on error.
(lookup_name_real): Set LOOKUP_COMPLAIN when *not* parsing.
* lex.c (do_identifier): If we got error_mark_node, call
lookup_name again.
From-SVN: r25967
Finn Hakansson [Thu, 25 Mar 1999 01:14:00 +0000 (01:14 +0000)]
* rtl.h (MEM_COPY_ATTRIBUTES): Remove unnecessary ending backslash.
From-SVN: r25966
Axel Thimm [Thu, 25 Mar 1999 01:07:20 +0000 (01:07 +0000)]
* Makefile.in (RANLIB_TEST): Improve test.
From-SVN: r25965
Donn Terry [Thu, 25 Mar 1999 00:48:16 +0000 (00:48 +0000)]
combine.c (force_to_mode, case PLUS): Use sign extended mask when masking the low bits out of a constant.
* combine.c (force_to_mode, case PLUS): Use sign extended mask
when masking the low bits out of a constant.
From-SVN: r25964
Jeff Law [Thu, 25 Mar 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25963
Martin v. Löwis [Thu, 25 Mar 1999 00:36:15 +0000 (00:36 +0000)]
Add main, then link it
From-SVN: r25962
Martin v. Löwis [Thu, 25 Mar 1999 00:33:16 +0000 (00:33 +0000)]
Can't link it - no main()
From-SVN: r25961
Mark Elbrecht [Wed, 24 Mar 1999 23:35:34 +0000 (23:35 +0000)]
system.h (STDIN_FILENO): Provide default definition if one is not provided by the system header files.
* system.h (STDIN_FILENO): Provide default definition if one is not
provided by the system header files.
(STDOUT_FILENO, STDERR_FILENO): Likewise.
* i386/xm-djgpp.h (COLLECT2_HOST_INITIALIZATION): New macro.
* collect2.c (main): Use it.
(pexecute_pid): New variable. Holds return value from call to pexecute.
(collect2_execute): Rework to use pexecute instead of fork.
(collect2_wait): Use pwait() instead of wait().
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r25960
Richard Earnshaw [Wed, 24 Mar 1999 22:48:37 +0000 (22:48 +0000)]
fold-const.c (make_range): If orig_type is unset, set it as soon as we know the type.
* fold-const.c (make_range): If orig_type is unset, set it as soon
as we know the type. Remove now unnecessary set of orig_type for
conversions.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r25959
Mark Elbrecht [Wed, 24 Mar 1999 22:30:18 +0000 (15:30 -0700)]
* i386/djgpp.h: Fix typo.
From-SVN: r25958
Jeffrey A Law [Wed, 24 Mar 1999 22:26:54 +0000 (22:26 +0000)]
mkfixinc.sh: Recognize cygwin* instead of only cygwin32.
* fixinc/mkfixinc.sh: Recognize cygwin* instead of only
cygwin32.
From-SVN: r25957
Jeffrey A Law [Wed, 24 Mar 1999 21:55:06 +0000 (21:55 +0000)]
* gcc.c-torture/execute/990324-1.c: New test.
From-SVN: r25956
Mumit Khan [Wed, 24 Mar 1999 21:46:41 +0000 (14:46 -0700)]
configure.in (AC_PREREQ): Update to 2.13.
�
* configure.in (AC_PREREQ): Update to 2.13.
(AC_EXEEXT): Call to find possible file extension.
(compiler_name): Use.
* configure: Regenerate.
From-SVN: r25955
Mumit Khan [Wed, 24 Mar 1999 21:46:39 +0000 (14:46 -0700)]
configure.in (AC_PREREQ): Update to 2.13.
�
* configure.in (AC_PREREQ): Update to 2.13.
(AC_EXEEXT): Call to find possible file extension.
(compiler_name): Use.
* configure: Regenerate.
From-SVN: r25954
Mumit Khan [Wed, 24 Mar 1999 21:46:18 +0000 (21:46 +0000)]
configure.in (AC_PREREQ): Update to 2.13.
�
* configure.in (AC_PREREQ): Update to 2.13.
(AC_EXEEXT): Call to find possible file extension.
(compiler_name): Use.
* configure: Regenerate.
From-SVN: r25953
Jeff Law [Wed, 24 Mar 1999 21:46:17 +0000 (14:46 -0700)]
configure.in (AC_PREREQ): Update to 2.13.
H
* configure.in (AC_PREREQ): Update to 2.13.
(AC_EXEEXT): Call to find possible file extension.
(compiler_name): Use.
* configure: Regenerate.
From-SVN: r25952
Mumit Khan [Wed, 24 Mar 1999 21:44:48 +0000 (21:44 +0000)]
configure.in (EXEEXT): Define.
Wed Mar 24 22:36:45 1999 Mumit Khan <khan@xraylith.wisc.edu>
* configure.in (EXEEXT): Define.
(compiler_name): Use.
From-SVN: r25951
Mumit Khan [Wed, 24 Mar 1999 21:44:23 +0000 (14:44 -0700)]
configure.in (EXEEXT): Define.
0
* configure.in (EXEEXT): Define.
(compiler_name): Use.
From-SVN: r25950