mmitchel [Thu, 11 Jun 1998 23:53:24 +0000 (23:53 +0000)]
* pt.c (is_member_template_class): New function.
(push_template_decl_real): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20435
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 11 Jun 1998 23:33:35 +0000 (23:33 +0000)]
* i386.md (cmpsi_1, cmphi_1, cmpqi_1): Remove code
which set CC_REVERSED since reload should ensure that
the operands are already the correct type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20434
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 11 Jun 1998 20:11:55 +0000 (20:11 +0000)]
8
* friend.c (do_friend): Add support for nested classes using
member functions of the enclosing class as friends.
egcs bug
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20433
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 11 Jun 1998 20:11:54 +0000 (20:11 +0000)]
�
* friend.c (do_friend): Add support for nested classes using
member functions of the enclosing class as friends.
egcs bug
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20432
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 11 Jun 1998 17:15:02 +0000 (17:15 +0000)]
Fix m68k build failure.
* except.c (expand_builtin_eh_stub): Call emit_move_insn rather than
calling gen_rtx_SET.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20431
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 11 Jun 1998 15:48:50 +0000 (15:48 +0000)]
* config/rs6000/x-aix43 (AR): Delete.
(AR_FOR_TARGET_FLAGS): Add -X32_64 here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20430
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 11 Jun 1998 15:22:41 +0000 (15:22 +0000)]
* config/i386/aix386ng.h (CPP_SPEC): Remove extraneous quote.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20429
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 11 Jun 1998 12:54:24 +0000 (12:54 +0000)]
Fix mips build error.
* mips.c (override_options): Replace word_mode with explicit
TARGET_64BIT check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20428
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Thu, 11 Jun 1998 11:51:52 +0000 (11:51 +0000)]
For regmove if we could not improve code by changing the source to the destination, copy the source to the destination directly
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20427
138bc75d-0d04-0410-961f-
82ee72b054a4
brolley [Thu, 11 Jun 1998 07:51:52 +0000 (07:51 +0000)]
Thu Jun 11 10:30:09 1998 Dave Brolley <brolley@cygnus.com>
* toplev.c (lang_options): Add missing options (nostdinc, idirafter).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20426
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 11 Jun 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20425
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 11 Jun 1998 00:07:24 +0000 (00:07 +0000)]
* call.c (convert_default_arg): Make global, not static.
(convert_arg_for_ellipsis): Split out from ...
(build_over_call): Here.
* cp-tree.h (convert_default_arg); Declare.
(convert_arg_to_ellipsis): Likewise.
(do_member_init): Remove.
* init.c (do_member_init): Remove; this code is dead.
(expand_member_init): Remove much of this code; it is dead.
* typeck.c (convert_arguments): Use convert_default_arg and
convert_arg_for_ellipsis, rather than duplicating here.
* call.c (convert_like): Don't fail silently if
build_user_type_conversion fails. Always return error_mark_node
for failure.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20424
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 10 Jun 1998 23:39:46 +0000 (23:39 +0000)]
* rtl.h (rtx_def): Improve documentation.
(MEM_IN_STRUCT_P): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20423
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 10 Jun 1998 22:36:37 +0000 (22:36 +0000)]
* c-decl.c (grokdeclarator): Remove unused variable "last".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20422
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 10 Jun 1998 22:29:04 +0000 (22:29 +0000)]
* c-decl.c (start_decl): Correct test for -Wmain.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20421
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 10 Jun 1998 21:12:16 +0000 (21:12 +0000)]
* search.c (covariant_return_p): Complain about ambiguous base.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20420
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 10 Jun 1998 21:03:58 +0000 (21:03 +0000)]
* typeck.c (build_component_ref): Diagnose ref to nested type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20419
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 10 Jun 1998 14:55:48 +0000 (14:55 +0000)]
Fix build failure when pointers smaller than integers.
* expr.c (expand_builtin_setjmp): Store const1_rtx in target.
(expand_builtin_longjmp): Abort if value isn't const1_rtx.
Delete code storing value in static_chain_rtx.
(expand_builtin, case BUILT_IN_LONGJMP): Pass NULL_RTX for target
to second expand_expr call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20418
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 10 Jun 1998 13:17:56 +0000 (13:17 +0000)]
* mips/mips.c: Remove -mabi=o32 and -mabi=n64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20417
138bc75d-0d04-0410-961f-
82ee72b054a4
brolley [Wed, 10 Jun 1998 12:58:43 +0000 (12:58 +0000)]
Use cpplib for cccp.
Wed Jun 10 13:41:23 1998 Dave Brolley <brolley@cygnus.com>
* cppmain.c (fatal): New function.
* configure.in (cpp_main): New configuration variable.
* configure: Regenerated.
* Makefile.in (CCCP): Use a configuration variable to select base for cccp.
(cppmain$(exeext)): Add @extra_cpp_objs@.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20416
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Wed, 10 Jun 1998 12:34:37 +0000 (12:34 +0000)]
* decl.c (grokparms): Check that INIT isn't an error_mark_node
before giving error about invalid type for default arg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20415
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Wed, 10 Jun 1998 10:57:06 +0000 (10:57 +0000)]
ChangeLog
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20414
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 10 Jun 1998 10:50:44 +0000 (10:50 +0000)]
* call.c (build_method_call): Fix thinko.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20413
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 10 Jun 1998 10:44:38 +0000 (10:44 +0000)]
* decl.c (init_decl_processing): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20412
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 10 Jun 1998 10:43:41 +0000 (10:43 +0000)]
* call.c (build_scoped_method_call): Fix thinko.
(build_method_call): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20411
138bc75d-0d04-0410-961f-
82ee72b054a4
brolley [Wed, 10 Jun 1998 10:22:54 +0000 (10:22 +0000)]
New interface for lang_decode_option
Wed Jun 10 13:07:02 1998 Dave Brolley <brolley@cygnus.com>
* objc/objc-act.c: Add cpplib declarations.
(lang_decode_option): Initialize cpplib if necessary.
(lang_decode_option): New argc/argv interface.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20410
138bc75d-0d04-0410-961f-
82ee72b054a4
brolley [Wed, 10 Jun 1998 10:18:45 +0000 (10:18 +0000)]
New interface for lang_decode_option.
Wed Jun 10 13:17:32 1998 Dave Brolley <brolley@cygnus.com>
* top.h (ffe_decode_option): New argc/argv interface.
* top.c (ffe_decode_option): New argc/argv interface.
* parse.c (yyparse): New argc/argv interface for ffe_decode_option.
* com.c (lang_decode_option): New argc/argv interface.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20409
138bc75d-0d04-0410-961f-
82ee72b054a4
brolley [Wed, 10 Jun 1998 10:16:45 +0000 (10:16 +0000)]
Integrate cpplib into the C++ front end.
1998-06-10 Dave Brolley <brolley@cygnus.com>
* decl2.c (lang_decode_option): New argc/argv interface.
* cp-tree.h (lang_decode_option): New argc/argv interface.
* lang-specs.h (default_compilers): Only call cpp if -E, -M or -MM is
specified for cpplib-enabled compilers.
* lex.c (lang_init): Don't check_newline for cpplib.
(init_parse): Don't initialize cpplib here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20408
138bc75d-0d04-0410-961f-
82ee72b054a4
brolley [Wed, 10 Jun 1998 10:12:36 +0000 (10:12 +0000)]
Integrate cpplib into the C and C++ front ends.
Wed Jun 10 13:07:02 1998 Dave Brolley <brolley@cygnus.com>
* objc/objc-act.c: Add cpplib declarations.
(lang_decode_option): Initialize cpplib if necessary.
(lang_decode_option): New argc/argv interface.
* tree.h (lang_decode_option): New argc/argv interface.
* toplev.c (lang_options): Add cpp options.
(main): New interface for lang_decode_option.
* gcc.c (default_compilers): Don't call cpp for a cpplib-enabled C compiler
unless -E, -M or -MM is specified.
* cpplib.h (cpp_handle_option): New function.
* cpplib.c (cpp_handle_option): New function.
(cpp_handle_options): Now calls cpp_handle_option.
* c-tree.h (c_decode_option): New argc/argv interface.
* c-lex.c (init_parse): cpplib now initialized in c_decode_option.
* c-lang.c (lang_decode_option): New argc/argv interface.
* c-decl.c: Add cpplib declarations.
(c_decode_option): New argc/argv interface.
(c_decode_option): Call cpp_handle_option.
(c_decode_option): Now returns number of strings processed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20407
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Wed, 10 Jun 1998 10:01:13 +0000 (10:01 +0000)]
* typeck.c (build_component_ref): Make sure FIELD has a lang_specific
piece before checking DECL_MUTABLE_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20406
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Wed, 10 Jun 1998 09:52:40 +0000 (09:52 +0000)]
eb129, eb130. New tests from Klaus-Georg Adams.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20405
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Wed, 10 Jun 1998 09:49:30 +0000 (09:49 +0000)]
* unroll.c (verify_addresses): Use validate_replace_rtx to undo the
changes. Abort if the undo fails.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20404
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 10 Jun 1998 09:15:39 +0000 (09:15 +0000)]
* mips.c (gpr_mode): New variable.
(override_options): Initialize gpr_mode.
(compute_frame_size): Use "gpr_mode" instead of "word_mode" to
determine size and offset of general purpose registers save slots.
(save_restore_insns, mips_expand_prologue): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20403
138bc75d-0d04-0410-961f-
82ee72b054a4
jfc [Wed, 10 Jun 1998 06:00:50 +0000 (06:00 +0000)]
Wed Jun 10 08:56:27 1998 John Carr <jfc@mit.edu>
* reload1.c (reload_cse_simplify_operands): Do not call gen_rtx_REG
for each alternative. Do not replace a CONST_INT with a REG unless
the reg is cheaper.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20402
138bc75d-0d04-0410-961f-
82ee72b054a4
jfc [Wed, 10 Jun 1998 05:54:23 +0000 (05:54 +0000)]
1998-06-10 John Carr <jfc@mit.edu>
* tree.c (debug_binfo): Make printf format match arguments.
* error.c (OB_PUTI): Make printf format match arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20401
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 10 Jun 1998 03:14:02 +0000 (03:14 +0000)]
update
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20400
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 10 Jun 1998 03:13:19 +0000 (03:13 +0000)]
* init.c (resolve_offset_ref): Handle default-initialization.
* except.c (build_throw): Handle throwing NULL.
* typeck.c (build_x_function_call): Use resolve_offset_ref.
* search.c (compute_access): Only strip an anonymous union
for a FIELD_DECL.
* call.c (add_builtin_candidates): Tweak.
* cvt.c (build_expr_type_conversion): Restore code for conversion
from class types.
* decl2.c (delete_sanity): Use it. Clean up.
* typeck.c (comp_ptr_ttypes_real): Fix cv-qual comparisons.
* typeck.c (c_expand_return): Don't warn about void expressions on
return statements in functions returning void.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20399
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 10 Jun 1998 01:14:54 +0000 (01:14 +0000)]
* reload.c (find_reloads_toplev): Use gen_lowpart common to convert
between constant representations when we have (SUBREG (REG)) with
REG equivalent to a constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20398
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 10 Jun 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20397
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 10 Jun 1998 00:41:51 +0000 (00:41 +0000)]
* h8300.c (get_shift_alg): Add special cases for shifts of 8 and 24.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20396
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 10 Jun 1998 00:39:23 +0000 (00:39 +0000)]
* i386.c (notice_update_cc): Clear cc_status.value2 in the
case of UNSPEC 5 (bsf).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20395
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 9 Jun 1998 23:45:30 +0000 (23:45 +0000)]
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20394
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 9 Jun 1998 23:39:34 +0000 (23:39 +0000)]
* pt.c (fn_type_unification): Revise documentation. Tidy.
(type_unification): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20393
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 9 Jun 1998 22:05:49 +0000 (22:05 +0000)]
* fold-const.c (fold): Even with otherwise constant trees, look for
opportunities to combine integer constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20392
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 9 Jun 1998 21:42:21 +0000 (21:42 +0000)]
* i386.md (movsfcc, movdfcc, movxfcc): The floating point
conditional move instructions don't support signed integer
comparisons.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20391
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 9 Jun 1998 14:33:45 +0000 (14:33 +0000)]
Fix interrupt return epilogue.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20385
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Tue, 9 Jun 1998 13:28:26 +0000 (13:28 +0000)]
Minor tweaks.
* except.c (expand_start_catch): Rename to start_catch_handler.
(expand_end_catch): Delete function.
(expand_end_all_catch): Remove catch status that expand_end_catch
use to do.
* except.h (expand_start_catch): Rename prototype.
(expand_end_catch): Delete prototype.
* semantics.c (finish_try_block): Rename expand_start_catch, and delete
expand_end_catch.
* parse.y (function_try_block): Rename expand_start_catch, and delete
expand_end_catch.
* except.c (expand_end_eh_spec): Rename expand_start_catch, and delete
expand_end_catch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20379
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 9 Jun 1998 12:57:16 +0000 (12:57 +0000)]
* invoke.texi: Add documentation for -mips4 and -mabi=*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20377
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 9 Jun 1998 12:12:13 +0000 (12:12 +0000)]
* alpha/vms.h (EXTRA_SECTIONS): Add in_ctors and in_dtors.
(EXTRA_SECTION_FUNCTIONS): Add ctors_section and dtors_section.
(ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20376
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 9 Jun 1998 12:10:57 +0000 (12:10 +0000)]
* search.c (lookup_member): New fn.
* class.c (finish_struct_1): Use it.
* decl.c (lookup_name_real): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20375
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 9 Jun 1998 12:10:02 +0000 (12:10 +0000)]
* haifa-sched.c (update_flow_info): Use UNITS_PER_WORD, not MOVE_MAX,
as the threshold to permit splitting memory operations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20374
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 9 Jun 1998 10:34:59 +0000 (10:34 +0000)]
* Makefile.in (LIB2FUNCS_EH): Define. Just "_eh" for now.
(LIBGCC2_CFLAGS): Remove -fexceptions.
(LIB2FUNCS): Remove "_eh".
(libgcc2.a): Iterate over LIB2FUNCS_EH and build everything in
it with -fexceptions.
* Makefile.in (local-alloc.o): Depend on insn-attr.h.
* local-alloc.c (block_alloc): Avoid creating false
dependencies for targets which use instruction scheduling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20370
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 9 Jun 1998 02:41:29 +0000 (02:41 +0000)]
* mips/elf.h (ASM_DECLARE_OBJECT_NAME): Define.
(ASM_FINISH_DECLARE_OBJECT): Define;
* mips/elf64.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20369
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 9 Jun 1998 01:08:44 +0000 (01:08 +0000)]
* toplev.c (flag_new_exceptions): Remove extraneous `extern'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20368
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 9 Jun 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20367
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 8 Jun 1998 23:24:53 +0000 (23:24 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20365
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 8 Jun 1998 23:02:24 +0000 (23:02 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20364
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 8 Jun 1998 22:45:12 +0000 (22:45 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20363
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 8 Jun 1998 20:28:20 +0000 (20:28 +0000)]
* rs6000.md (mulsidi3): Add !TARGET_POWERPC64 constraint.
(mulsidi3_ppc64): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20357
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 8 Jun 1998 18:30:27 +0000 (18:30 +0000)]
Warning fixes:
* Makefile.in (varasm.o): Depend on dbxout.h.
(cse.o): Depend on toplev.h and output.h.
(gcse.o): Depend on output.h.
* mips.c: Include system.h and toplev.h and remove redundant code.
Include output.h after tree.h so all its prototypes get activated.
* mips.md (table_jump): Remove unused variable `dest'.
* sparc.h: Add prototype for `v8plus_regcmp_op'.
* crtstuff.c (fini_dummy, init_dummy): Mark function definitions
with __attribute__ ((__unused__)).
(__frame_dummy): Provide prototype before use, wrap it with
EH_FRAME_SECTION_ASM_OP.
* cse.c: Move inclusion of <setjmp.h> above local headers.
Include toplev.h and output.h.
* dbxout.h: Add prototype for `dbxout_begin_function'.
* final.c (final_scan_insn): Wrap variable `max_skip' in macro
ASM_OUTPUT_MAX_SKIP_ALIGN.
* gcse.c: Include system.h and output.h.
(dump_cuid_table, dump_rd_table, dump_cprop_data, dump_pre_data):
Make extern instead of static.
(compute_can_copy): Only declare variables `reg' and `insn' when
AVOID_CCMODE_COPIES is not defined.
(record_set_info): Mark parameter `setter' with ATTRIBUTE_UNUSED.
(hash_scan_clobber): Likewise for `x' and `insn'.
(hash_scan_call): Likewise.
(record_last_set_info): Likewise for `setter'.
(mark_call): Likewise for `pat'.
(pre_insert_insn): Wrap variable `note' in macro HAVE_cc0.
* libgcc2.c (__bb_init_prg): Replace bzero with memset and fix the
length parameter so that it multiplies the number of elements by
the sizeof(element).
* output.h: Add prototype for `weak_finish'.
* recog.h: Likewise for `validate_replace_src'.
* rtl.h: Likewise for `optimize_save_area_alloca',
`fix_sched_param', `purge_addressof', `gcse_main',
`regmove_optimize', `dbr_schedule', `branch_prob' and
`end_branch_prob'.
* toplev.h: Likewise for `set_float_handler' and
`output_quoted_string'.
* varasm.c: Include dbxout.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20351
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 8 Jun 1998 18:13:34 +0000 (18:13 +0000)]
Fix mips64vr4100-elf build failure.
* mips.c (mips_secondary_reload_class): Use gp_reg_p instead of
GP_REG_P. Use gr_regs instead of GR_REGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20350
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 8 Jun 1998 17:52:39 +0000 (17:52 +0000)]
Warning fixes:
* Makefile.in (decl2.o): Depend on dwarf2out.h and dwarfout.h.
* cp-tree.h: Add prototype for `maybe_print_template_context' and
`maybe_make_one_only'.
* decl.c (auto_function): Remove unused variable `decl'.
* decl2.c: Include dwarf2out.h and dwarfout.h.
* lex.c: Remove redundant declarations of `set_float_handler' and
`asm_out_file'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20349
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 8 Jun 1998 15:56:47 +0000 (15:56 +0000)]
* Revamped multiply support for MIPS chips.
* mips.c (extend_operator): New function.
(highpart_shift_operator): Likewise.
* mips.h: Declare new functions.
(PREDICATE_CODES): Add support for new predicates.
* mips.md (mulsi3 expander): Simplify.
(mulsi_mult3): Add another constraint alternative. Support
3 operand multiply instructions as found on various mips
parts.
(mulsi3_r4650): Delete pattern, now handled by mulsi_mult3.
(mul_acc_si): New pattern and associated splitters.
(mulsidi3 expander): Rework to use mulsidi3_64bit and
mulsidi3_internal.
(umulsidi3): New expander.
(mulsidi3_internal): Accept either sign or zero extended
operands and generate code as appropriate appropriately.
(mulsidi3_64bit): Similarly.
(smulsi3_highpart): Turn into an expander and generate code
to match new patterns.
(umulsi3_highpart): Likewise.
(xmulsi3_highpart_internal): New pattern.
(maddi patterns): Delete. Replace with:
(mul_acc_di, mul-acc_64bit_di): New patterns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20337
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Mon, 8 Jun 1998 12:43:28 +0000 (12:43 +0000)]
Thu Jun 8 14:16:15 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
* eh-common.h: Remove NEW_EH_MODEL compile time flag, and replace with
flag_new_exceptions runtime flag.
(struct old_exception_table): New struct which represents what
the exception table looks like without the new model.
(NEW_EH_RUNTIME): New value used as a tag in the exception table to
flag that this is a new style table.
* except.h: Remove compile time flag NEW_EH_MODEL.
(expand_builtin_eh_stub_old): New prototype.
* tree.h (enum built_in_function): Add BUILT_IN_EH_STUB_OLD.
* expr.c (expand_builtin): New builtin func BUILT_IN_EH_STUB_OLD.
* c-decl.c (init_decl_processing): Add new builtin function
__builtin_eh_stub_old.
* final.c (final_scan_insn): Replace compile time flag NEW_EH_MODEL.
* flags.h (flag_new_exceptions): New runtime flag.
* toplev.c (flag_new_exceptions): Initialize default to 0,
-fnew-exceptions sets to 1.
* except.c (output_exception_table_entry): Output New style exception
identifier into table, and replace compile time flag NEW_EH_MODEL
with runtime flag flag_new_exceptions.
(output_exception_table): Replace compile time flag NEW_EH_MODEL.
(expand_builtin_eh_stub_old): Duplicates original functionality of
expand_builtin_eh_stub.
(expand_builtin_eh_stub): Replace compile time flag NEW_EH_MODEL.
* libgcc2.c (find_exception_handler): Remove NEW_EH_MODEL #ifdefs.
(old_find_exception_handler): New func, same as find_exception_handler
except it works on the old style exception table.
(__throw): Replace NEW_EH_MODEL. Detect new model based on presence
of identifier in the exception table, and call appropriate routines.
1998-06-08 Andrew MacLeod <amacleod@cygnus.com>
* except.c (init_exception_processing): Remove NEW_EH_MODEL compile
time flag. Call __cp_eh_info instead of __cp_exception_info.
* exception.cc (struct cp_eh_info): Remove NEW_EH_MODEL flag.
(__cp_exception_info): Return offset into cp_eh_info structure to
match what use to be the start of this structure.
(__cp_eh_info): New function to return a pointer to cp_eh_info struct.
(__cplus_type_matcher, __cp_push_exception): Remove NEW_EH_MODEL
compile time flag.
(__uncatch_exception, __check_eh_spec, std::uncaught_exception): Call
__cp_eh_info instead of __cp_exception_info.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20336
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 8 Jun 1998 10:52:37 +0000 (10:52 +0000)]
* function.c: Define current_function_cannot_inline.
(push_function_context_to): Save it.
(pop_function_context_from): Restore it.
* function.h (struct function): Provide it a home.
* output.h: Declare it.
* integrate.c (function_cannot_inline_p): Check it.
* decl.c (cp_finish_decl): Disable inlining of extern inlines
with static variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20332
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 8 Jun 1998 10:44:01 +0000 (10:44 +0000)]
* expr.c (force_operand): Detect PIC address loads before
splitting arithmetic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20331
138bc75d-0d04-0410-961f-
82ee72b054a4
drepper [Mon, 8 Jun 1998 09:50:50 +0000 (09:50 +0000)]
Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20330
138bc75d-0d04-0410-961f-
82ee72b054a4
drepper [Mon, 8 Jun 1998 09:50:20 +0000 (09:50 +0000)]
(__underflow): Read character from read pointer as unsigned.
(__uflow): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20329
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 8 Jun 1998 09:23:12 +0000 (09:23 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20328
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 8 Jun 1998 09:17:13 +0000 (09:17 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20327
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 8 Jun 1998 02:09:50 +0000 (02:09 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20326
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 8 Jun 1998 01:59:23 +0000 (01:59 +0000)]
* tree.c (tree_class_check): Add braces to eliminate ambigious
else warning.
(tree_check): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20325
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 8 Jun 1998 01:53:56 +0000 (01:53 +0000)]
* reg-stack.c (subst_stack_regs_pat): Make sure the top of
stack is the destination for conditional move insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20324
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 8 Jun 1998 01:21:38 +0000 (01:21 +0000)]
* tree.h (TREE_VEC_END): Cast unused value to void.
* i386.c (print_operand): Use %lx for long operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20323
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 8 Jun 1998 01:20:35 +0000 (01:20 +0000)]
* gcc.dg/980523-1.c: Only test on ppc-linux.
* gcc.dg/980526-1.c, gcc.dg/switch-1.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20322
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 8 Jun 1998 01:16:23 +0000 (01:16 +0000)]
* gcc.c-torture/execute/980608-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20321
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 8 Jun 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20320
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 8 Jun 1998 00:20:34 +0000 (00:20 +0000)]
* init.c (build_offset_ref): Correct previous change to use build,
not build_min.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20319
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 8 Jun 1998 00:05:06 +0000 (00:05 +0000)]
* alpha.c (summarize_insn): Ignore rtl slot format 'i'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20318
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 7 Jun 1998 14:52:11 +0000 (14:52 +0000)]
* class.c (instantiate_type): Handle pointer-to-members where the
member is a template.
* init.c (build_offset_ref): Likewise.
* typeck.c (build_unary_op): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20283
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 7 Jun 1998 14:15:53 +0000 (14:15 +0000)]
Sun Jun 7 14:15:45 1998 John Carr <jfc@mit.edu>
* sol2.h (INIT_SUBTARGET_OPTABS): Use Solaris libc float/long long
conversion functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20277
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 7 Jun 1998 14:08:58 +0000 (14:08 +0000)]
* com.c (lang_init_options): New function.
* top.c (ffe_decode_option): Remove all trace of -fset-g77-defaults.
Set ffe_is_do_internal_checks_ with -version.
* lang-options.h: Likewise.
* lang-specs.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20276
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 7 Jun 1998 14:07:25 +0000 (14:07 +0000)]
* lex.c (lang_init_options): New function.
(lang_init): Remove flag_exceptions == 2 hack.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20275
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 7 Jun 1998 14:06:47 +0000 (14:06 +0000)]
* toplev.c (flag_exceptions): Default to 0.
(compile_file): Remove flag_exceptions == 2 hack.
(main): Call lang_init_options.
* tree.h: Declare it.
* c-lang.c: Implement it.
* objc/objc-act.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20274
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 7 Jun 1998 12:13:54 +0000 (12:13 +0000)]
* class.c (instantiate_type): Handle pointer-to-members where the
member is a template.
* init.c (build_offset_ref): Likewise.
* typeck.c (build_unary_op): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20269
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sun, 7 Jun 1998 09:34:09 +0000 (09:34 +0000)]
* rs6000.md (restore_stack_block): Generate MEM and specify mode.
* rs6000.h (STACK_SAVEAREA_MODE): SAVE_FUNCTION is VOIDmode.
* rs6000.c (rs6000_output_load_toc_table): Use fputs.
(output_function_profiler): Use asm_fprintf and fputs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20268
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 7 Jun 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20267
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 6 Jun 1998 18:13:12 +0000 (18:13 +0000)]
* search.c (envelope_add_decl): Tweak for implicit typename.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20264
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sat, 6 Jun 1998 10:42:32 +0000 (10:42 +0000)]
One more typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20263
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sat, 6 Jun 1998 10:41:05 +0000 (10:41 +0000)]
Fixed typo: lang_specific_extra_ofiles -> lang_specific_extra_outfiles.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20262
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sat, 6 Jun 1998 09:25:16 +0000 (09:25 +0000)]
Some fixes for KNR compilers:
* gencheck.c: Remove redundant stdio.h include. Add a definition
of xmalloc for when we are forced to link with alloca.o.
* reload1.c (reload_reg_free_for_value_p): Use `(unsigned)1'
instead of `1U'.
* fold-const.c (constant_boolean_node): Make definition static to
match the prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20261
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sat, 6 Jun 1998 00:49:35 +0000 (00:49 +0000)]
Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20260
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 6 Jun 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20259
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 5 Jun 1998 23:03:33 +0000 (23:03 +0000)]
* call.c (joust): Also warn about confusing conversion op/constructor
overload resolution.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20258
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 5 Jun 1998 22:57:38 +0000 (22:57 +0000)]
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20257
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 5 Jun 1998 21:57:05 +0000 (21:57 +0000)]
* spew.c (yylex): Also return the TYPE_DECL if got_object.
Don't clear got_object after '~'.
* call.c (build_scoped_method_call): Tweak destructor handling.
(build_method_call): Likewise.
* pt.c (tsubst_copy, case METHOD_CALL_EXPR): Don't mess with
TYPE_MAIN_VARIANT for destructors.
* semantics.c (finish_object_call_expr): Complain about calling a
TYPE_DECL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20256
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 5 Jun 1998 16:02:14 +0000 (16:02 +0000)]
Fixed minor typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20252
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 5 Jun 1998 15:57:13 +0000 (15:57 +0000)]
�
* gcc.c (lang_specific_pre_link): New LANG_SPECIFIC_DRIVER function.
(lang_specific_extra_outfiles): New LANG_SPECIFIC_DRIVER variable.
(do_spec, input_filename, input_filename_length): Make public.
(main): Adjust outfiles allocation by lang_specific_extra_outfiles.
Call lang_specific_pre_link befor elinking.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20251
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 5 Jun 1998 15:57:11 +0000 (15:57 +0000)]
`
* gcc.c (lang_specific_pre_link): New LANG_SPECIFIC_DRIVER function.
(lang_specific_extra_outfiles): New LANG_SPECIFIC_DRIVER variable.
(do_spec, input_filename, input_filename_length): Make public.
(main): Adjust outfiles allocation by lang_specific_extra_outfiles.
Call lang_specific_pre_link befor elinking.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20250
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 5 Jun 1998 15:54:06 +0000 (15:54 +0000)]
�
* g77spec (lang_specific_pre_link, lang_specific_extra_ofiles):
Define - update needed by gcc.c change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20249
138bc75d-0d04-0410-961f-
82ee72b054a4