Jim Wilson [Mon, 27 Apr 1998 19:24:06 +0000 (19:24 +0000)]
Fix for x86 FP problem.
* reg-stack.c: Revert last patch (Apr 20).
(convert_regs): Set insn to PREV_INSN (next) after do while loop.
From-SVN: r19437
Jim Wilson [Mon, 27 Apr 1998 18:41:40 +0000 (18:41 +0000)]
Fix coldfire addsf3 bug, bug and patch from David Fiddes.
* m68k/lb1sf68.asm (Laddsf$3): Fix typos in mcf5200 exg code.
From-SVN: r19436
Jim Wilson [Mon, 27 Apr 1998 18:39:07 +0000 (18:39 +0000)]
Fix hppa miscompilation bug reported by Manfred Hollstein.
* loop.c (check_dbra_loop): New locals jump, first_compare, and
compare_and_branch. Call get_condition to set first_compare.
Set compare_and_branch to number of compare/branch instructions.
Replace PREV_INSN (PREV_INSN (loop_end)) with first_compare.
Replace '2' with compare_and_branch.
From-SVN: r19435
Mark Mitchell [Mon, 27 Apr 1998 14:02:45 +0000 (14:02 +0000)]
decl.c (maybe_push_to_top_level): Always clear current_template_parms and processing_template_decl.
* decl.c (maybe_push_to_top_level): Always clear
current_template_parms and processing_template_decl.
(pushtag): Remove check of current_class_type and some comments,
since maybe_push_to_top_level no longer creates confusion.
From-SVN: r19434
Andrew MacLeod [Mon, 27 Apr 1998 12:59:51 +0000 (12:59 +0000)]
cplus-dem.c (demangle_qualified): Add a missing else which caused qualified...
cplus-dem.c (demangle_qualified): Add a missing else which caused
qualified names with temp,\7flates to be demangled improperly.
From-SVN: r19433
J"orn Rennecke [Mon, 27 Apr 1998 12:25:51 +0000 (12:25 +0000)]
* sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.
From-SVN: r19432
Dave Love [Mon, 27 Apr 1998 11:19:46 +0000 (11:19 +0000)]
Comment about fix.
From-SVN: r19431
J"orn Rennecke [Mon, 27 Apr 1998 10:26:39 +0000 (10:26 +0000)]
sh.c (sh_expand_prologue, [...]): If TARGET_DOUBLE_ALIGN, preserve 64 bit stack alignment.
* sh.c (sh_expand_prologue, sh_expand_epilogue):
If TARGET_DOUBLE_ALIGN, preserve 64 bit stack alignment.
* sh.h (STACK_BOUNDARY): Likewise.
From-SVN: r19430
Craig Burley [Mon, 27 Apr 1998 10:22:25 +0000 (10:22 +0000)]
hostnm_.c (G77_hostnm_0): Fix off-by-one error that was trashing the byte just beyond the CHARACTER*(*)...
Sun Apr 26 09:13:41 1998 Craig Burley <burley@gnu.org>
* libU77/hostnm_.c (G77_hostnm_0): Fix off-by-one error
that was trashing the byte just beyond the CHARACTER*(*)
argument.
From-SVN: r19429
Jason Merrill [Mon, 27 Apr 1998 10:19:31 +0000 (06:19 -0400)]
update
From-SVN: r19428
Craig Burley [Mon, 27 Apr 1998 10:11:57 +0000 (10:11 +0000)]
(G77_hostnm_0): Fix off-by-one error
that was trashing the byte just beyond the CHARACTER*(*)
argument.
From-SVN: r19427
Dave Love [Mon, 27 Apr 1998 10:06:28 +0000 (10:06 +0000)]
New test.
From-SVN: r19426
Dave Love [Mon, 27 Apr 1998 10:03:37 +0000 (10:03 +0000)]
* g77.f-torture/compile/980427-0.f: New test.
From-SVN: r19425
J"orn Rennecke [Mon, 27 Apr 1998 09:26:21 +0000 (09:26 +0000)]
* sh.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
From-SVN: r19424
Michael Meissner [Mon, 27 Apr 1998 08:49:53 +0000 (08:49 +0000)]
Redefine abort to report linenumber and filename of the error
From-SVN: r19423
Michael Meissner [Mon, 27 Apr 1998 06:20:13 +0000 (06:20 +0000)]
Fix a warning
From-SVN: r19422
Michael Meissner [Mon, 27 Apr 1998 06:05:55 +0000 (06:05 +0000)]
Make args to jump_optimize symbolic
From-SVN: r19421
Richard Henderson [Sun, 26 Apr 1998 23:21:55 +0000 (16:21 -0700)]
alpha.h (CONST_COSTS): Zero is always free.
* alpha.h (CONST_COSTS): Zero is always free.
(RTX_COSTS): Add EV6 costs. Abort if alpha_cpu is unknown.
From-SVN: r19420
Richard Henderson [Sun, 26 Apr 1998 18:09:12 +0000 (11:09 -0700)]
configure.in: Adjust include paths in F2C_INTEGER and F2C_LONGINT tests to work out of the...
* configure.in: Adjust include paths in F2C_INTEGER and F2C_LONGINT
tests to work out of the build directory.
From-SVN: r19419
Mark Mitchell [Sun, 26 Apr 1998 16:30:11 +0000 (16:30 +0000)]
cp-tree.h (CLASSTYPE_IS_TEMPLATE): New macro.
* cp-tree.h (CLASSTYPE_IS_TEMPLATE): New macro.
(DECL_CLASS_TEMPLATE_P): Likewise.
(DECL_PRIMARY_TEMPLATE): Likewise.
(PRIMARY_TEMPLATE_P): Use it.
(push_template_decl_real): New function.
(redeclare_class_template): Take new template parameters as
input.
(is_specialization_of): New function.
(comp_template_args): Declare.
* decl.c (pushtag): Handle friend template classes.
(xref_tag): Likewise. Use new calling convention for
redeclare_class_template.
* decl2.c (grok_x_components): Handle friend templates.
* friend.c (is_friend): Use is_specialization_of where
appropriate. Deal with friend class templates.
(make_friend_class): Let a class template be friends with itself.
* pt.c (comp_template_args): Remove declaration.
(tsubst_friend_class): New function.
(push_template_decl_real): New function.
(push_template_decl): Use it.
(redeclare_class_template): Adjust for new calling convention.
(comp_template_args): Give it external linkage.
(instantiate_class_type): Use tsubst_friend_class to deal
with friend templates.
* typeck.c (comptypes): Use comp_template_args, rather than
expanding it inline.
* parse.y (component_decl): Handle a nested template type
like other component type declarations.
From-SVN: r19418
Andreas Schwab [Sun, 26 Apr 1998 15:41:36 +0000 (15:41 +0000)]
cplus-dem.c (gnu_special): Fix off-by-one bug when checking the length in the name of a virtual table.
* cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
length in the name of a virtual table.
From-SVN: r19417
Jason Merrill [Sun, 26 Apr 1998 15:21:49 +0000 (11:21 -0400)]
new
From-SVN: r19416
Richard Henderson [Sun, 26 Apr 1998 14:00:10 +0000 (07:00 -0700)]
* alpha.c (print_operand): Don't add 'v' suffix for ALPHA_FPTM_N.
From-SVN: r19415
Mark Mitchell [Sun, 26 Apr 1998 13:36:02 +0000 (13:36 +0000)]
pt.c (mabybe_get_template_decl_from_type_decl): New function.
* pt.c (mabybe_get_template_decl_from_type_decl): New function.
(lookup_template_class): Use it.
From-SVN: r19414
Mark Mitchell [Sun, 26 Apr 1998 12:34:42 +0000 (12:34 +0000)]
pt.c (check_explicit_specialization): Handle overloaded constructors correctly.
* pt.c (check_explicit_specialization): Handle overloaded
constructors correctly.
From-SVN: r19413
Richard Henderson [Sun, 26 Apr 1998 02:14:45 +0000 (19:14 -0700)]
Duh, remove the mail header before comitting, please.
From-SVN: r19412
Jeffrey A Law [Sat, 25 Apr 1998 22:11:40 +0000 (16:11 -0600)]
Bump for snapshot
From-SVN: r19410
Jeffrey A Law [Sat, 25 Apr 1998 16:17:08 +0000 (16:17 +0000)]
* fold-const.c (fold_convert): Fix typo.
From-SVN: r19409
John Carr [Sat, 25 Apr 1998 16:09:24 +0000 (16:09 +0000)]
alias.c (alias_invariant): New variable.
* alias.c (alias_invariant): New variable.
(record_base_value): New argument INVARIANT.
(memrefs_conflict_p): If a register has an entry in the alias_invariant
array, try substituting that value for the register.
* rtl.h: Declare record_base_value.
* loop.c, unroll.c: Update callers of record_base_value.
* alias.c (find_base_value, find_base_term): SIGN_EXTEND and
ZERO_EXTEND do not affect base values.
From-SVN: r19408
Jeffrey A Law [Fri, 24 Apr 1998 20:53:53 +0000 (20:53 +0000)]
dbxout.c (dbxout_type): Fix typo.
* dbxout.c (dbxout_type): Fix typo.
(dbxout_range_type): Another HOST_WIDE_INT_PRINT_DEC fix.
From-SVN: r19407
Jeffrey A Law [Fri, 24 Apr 1998 14:58:23 +0000 (14:58 +0000)]
* configure.in: Use CC_FOR_BUILD, not BUILD_CC.
From-SVN: r19406
John Carr [Fri, 24 Apr 1998 13:16:26 +0000 (13:16 +0000)]
expr.c (expand_builtin, [...]): Set MEM_IN_STRUCT_P if the argument is the address of a structure or array.
* expr.c (expand_builtin, case MEMSET): Set MEM_IN_STRUCT_P
if the argument is the address of a structure or array.
* configure.in: Enable Haifa scheduler by default for SPARC.
From-SVN: r19405
J"orn Rennecke [Fri, 24 Apr 1998 13:03:42 +0000 (13:03 +0000)]
cse.c (cse_set_around_loop): Don't do optimization when new pseudos are created.
* cse.c (cse_set_around_loop): Don't do optimization when
new pseudos are created.
From-SVN: r19404
Jeff Law [Fri, 24 Apr 1998 11:44:42 +0000 (05:44 -0600)]
New test from Joern.
From-SVN: r19403
Jeff Law [Fri, 24 Apr 1998 10:03:16 +0000 (04:03 -0600)]
dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC appropriately.
d
* dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC
appropriately.
(dbxout_type_method_1, dbxout_type): Likewise.
(print_int_cst_octal, print_octal, dbxout_symbol): Likewise.
(dbxout_type): Fix check for when to print a type range in
octal vs decimal.
From-SVN: r19402
Jeff Law [Fri, 24 Apr 1998 10:03:15 +0000 (04:03 -0600)]
dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC appropriately.
�
* dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC
appropriately.
(dbxout_type_method_1, dbxout_type): Likewise.
(print_int_cst_octal, print_octal, dbxout_symbol): Likewise.
(dbxout_type): Fix check for when to print a type range in
octal vs decimal.
From-SVN: r19401
J"orn Rennecke [Fri, 24 Apr 1998 08:51:10 +0000 (08:51 +0000)]
* (gen_shl_and, in case 1): Fix comparison with mask.
From-SVN: r19400
Dave Love [Fri, 24 Apr 1998 07:58:33 +0000 (07:58 +0000)]
* g77.f-torture/compile/980424-0.f: New test.
From-SVN: r19399
Dave Love [Fri, 24 Apr 1998 07:53:34 +0000 (07:53 +0000)]
New test.
From-SVN: r19398
Nick Clifton [Fri, 24 Apr 1998 06:48:40 +0000 (06:48 +0000)]
Disallow frame pointer as second register in REG+REG pair.
From-SVN: r19397
Kaveh R. Ghazi [Fri, 24 Apr 1998 06:27:03 +0000 (06:27 +0000)]
Fix a typo:
* c-common.c (check_format_info): Don't check for the 'x' format
character twice, instead check for 'x' and 'X'
From-SVN: r19396
Manfred Hollstein [Thu, 23 Apr 1998 23:04:07 +0000 (23:04 +0000)]
Makefile.in (libgcc2.ready): Add explicit dependancy from $(STMP_FIXPROTO) to ensure all necessary include...
d
* Makefile.in (libgcc2.ready): Add explicit dependancy from
$(STMP_FIXPROTO) to ensure all necessary include files have
been created and to guarantee proper parallel builds.
From-SVN: r19395
Manfred Hollstein [Thu, 23 Apr 1998 23:04:05 +0000 (23:04 +0000)]
Makefile.in (libgcc2.ready): Add explicit dependancy from $(STMP_FIXPROTO) to ensure all necessary include...
�
* Makefile.in (libgcc2.ready): Add explicit dependancy from
$(STMP_FIXPROTO) to ensure all necessary include files have
been created and to guarantee proper parallel builds.
From-SVN: r19394
Jason Merrill [Thu, 23 Apr 1998 22:26:41 +0000 (22:26 +0000)]
cp-tree.def: Add WRAPPER.
* cp-tree.def: Add WRAPPER. USER_CONV now only has two ops.
* cp-tree.h: Add WRAPPER support.
* call.c (add_candidate): Split out from add_*_candidate fns.
(build_over_call): Take the candidate instead of function and args.
Enforce access control here. Emit overload warnings here.
(add_warning): New fn.
(joust): Add WARN parm. If not set, call add_warning instead of
printing a warning. Reenable some warnings.
(tourney): Pass it.
(convert_like): Adjust.
(build_new_op): Adjust.
(build_new_function_call): Adjust.
(build_user_type_conversion_1): Adjust.
(USER_CONV_FN): Adjust.
* tree.c (build_expr_wrapper, build_expr_ptr_wrapper,
build_int_wrapper): New fns.
From-SVN: r19393
Jim Wilson [Thu, 23 Apr 1998 21:33:41 +0000 (21:33 +0000)]
Fix consistency error reported by Yotam Medini.
* configure: Set CXXFLAGS from CXXFLAGS, not CFLAGS.
From-SVN: r19392
J"orn Rennecke [Thu, 23 Apr 1998 20:57:06 +0000 (20:57 +0000)]
Fix for execute/980205.c failure on SH[123].
* sh.c (sh_expand_prologue, in !SH3E code): Don't push an extra
register for stdarg functions.
* sh.h (current_function_varargs): Declare.
(FUNCTION_ARG): Ignore NAMED for stdarg functions.
From-SVN: r19391
Jim Wilson [Thu, 23 Apr 1998 19:57:57 +0000 (19:57 +0000)]
Partial fix for problem reported by Don Bowman.
* frame.c, libgcc2.c (stdlib.h, unistd.h): Don't include when
inhibit_libc is defined.
From-SVN: r19390
Jim Wilson [Thu, 23 Apr 1998 19:52:46 +0000 (19:52 +0000)]
Fix macro usage error found by Martin von Loewis's checking patch.
* c-aux-info.c (gen_type): Use DECL_NAME only for TYPE_DECL.
From-SVN: r19389
Jim Wilson [Thu, 23 Apr 1998 19:10:52 +0000 (19:10 +0000)]
Fix gcov mips switch table interaction bug reported to bug-gcc.
* profile.c (tablejump_entry_p): New function.
(branch_prob): Add code to recognize MIPS tablejump entry branch.
Use tablejump_entry_p in MIPS and HPPA tablejump checking code.
From-SVN: r19388
Mark Mitchell [Thu, 23 Apr 1998 17:32:02 +0000 (17:32 +0000)]
* pt.c (unify): Fix typo in previous change.
From-SVN: r19387
Nick Clifton [Thu, 23 Apr 1998 15:03:25 +0000 (15:03 +0000)]
find_barrier(): Return as soon as a BARRIER insn is found.
From-SVN: r19386
J"orn Rennecke [Thu, 23 Apr 1998 13:37:16 +0000 (13:37 +0000)]
sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
* sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
* sh.md (ashrhi3_k, lshrhi3_k, lshrhi3_m, lshrhi3, lshrhi3+1): Delete.
From-SVN: r19385
Jason Merrill [Thu, 23 Apr 1998 09:35:38 +0000 (09:35 +0000)]
* error.c (dump_type_real): Declare canonical_name.
From-SVN: r19384
Jason Merrill [Thu, 23 Apr 1998 09:34:57 +0000 (09:34 +0000)]
* typeck.c (comp_target_types): Fix PMFs.
From-SVN: r19383
Mark Mitchell [Wed, 22 Apr 1998 21:06:37 +0000 (21:06 +0000)]
Add prototype
From-SVN: r19380
Mark Mitchell [Wed, 22 Apr 1998 21:02:15 +0000 (21:02 +0000)]
*** empty log message ***
From-SVN: r19379
Mark Mitchell [Wed, 22 Apr 1998 21:02:01 +0000 (21:02 +0000)]
pt.c (tsubst): Decrease the template-level of TEMPLATE_TEMPLATE_PARMS.
* pt.c (tsubst): Decrease the template-level of
TEMPLATE_TEMPLATE_PARMS. Likewise for the DECL_INITIAL of a
TEMPLATE_PARM_INDEX.
(template_decl_level): New function.
(unify): Make sure to record unifications for template
parameters, even when the parameters exactly match the arguments.
Combine duplicated code for TEMPLATE_TEMPLATE_PARMs and
TEMPLATE_TYPE_PARMS. Don't try to unify template parameters that
aren't from the level we're currently working on.
From-SVN: r19378
Michael Meissner [Wed, 22 Apr 1998 14:20:29 +0000 (14:20 +0000)]
Add match_insn2; Fix prototype in loop.c
From-SVN: r19377
Mark Mitchell [Wed, 22 Apr 1998 13:23:32 +0000 (13:23 +0000)]
class.c (finish_struct): Set TREE_PRIVATE and TREE_PROTECTED for the DECL_RESULTs of a member...
* class.c (finish_struct): Set TREE_PRIVATE and TREE_PROTECTED for
the DECL_RESULTs of a member TEMPLATE_DECL, not just the
TEMPLATE_DECL.
From-SVN: r19376
John Carr [Wed, 22 Apr 1998 12:57:04 +0000 (12:57 +0000)]
emit-rtl.c (gen_highpart): The high part of a CONST_INT is not zero if...
* emit-rtl.c (gen_highpart): The high part of a CONST_INT is not zero
if HOST_BITS_PER_WIDE_INT is larger than BITS_PER_WORD.
* final.c (split_double): Sign extend both halves of a split CONST_INT.
From-SVN: r19375
Michael Meissner [Wed, 22 Apr 1998 12:33:17 +0000 (12:33 +0000)]
Add support for --enable-target-optspace to compile with -Os instead of -O2, and default m32r to use it
From-SVN: r19374
Jeff Law [Wed, 22 Apr 1998 09:43:06 +0000 (03:43 -0600)]
mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
* mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
From-SVN: r19373
Jeff Law [Wed, 22 Apr 1998 09:43:04 +0000 (03:43 -0600)]
mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
�
* mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
From-SVN: r19372
Andrew MacLeod [Wed, 22 Apr 1998 08:04:13 +0000 (08:04 +0000)]
cplus-dem.c: Add code to enable demangling of names produced with the -fsquangle option.
* cplus-dem.c: Add code to enable demangling of names produced
with the -fsquangle option.
From-SVN: r19371
Andreas Schwab [Wed, 22 Apr 1998 01:54:53 +0000 (01:54 +0000)]
* mt-linux (CXXFLAGS_FOR_TARGET): Set this instead of CXXFLAGS.
From-SVN: r19370
Mark Mitchell [Tue, 21 Apr 1998 22:08:05 +0000 (22:08 +0000)]
* decl2.c (grokfield): Remangle the name of a member TYPE_DECL.
From-SVN: r19369
Mark Mitchell [Tue, 21 Apr 1998 22:03:34 +0000 (22:03 +0000)]
decl2.c (check_member_template): Set DECL_IGNORED for member class templates, too.
* decl2.c (check_member_template): Set DECL_IGNORED for member
class templates, too.
From-SVN: r19368
Mark Mitchell [Tue, 21 Apr 1998 21:55:45 +0000 (21:55 +0000)]
* errfn.c (cp_thing): Use xrealloc, not xmalloc, to copy memory.
From-SVN: r19367
Benjamin Kosnik [Tue, 21 Apr 1998 19:45:53 +0000 (19:45 +0000)]
*** empty log message ***
From-SVN: r19366
Benjamin Kosnik [Tue, 21 Apr 1998 19:45:53 +0000 (19:45 +0000)]
/
tests for g++/15307 and -Wredundant-decls
From-SVN: r19365
Jim Wilson [Tue, 21 Apr 1998 19:43:55 +0000 (19:43 +0000)]
Fix fortran failure reported by Craig Burley.
* stmt.c (check_seenlabel): When search for line number note for
warning, handle case where there is no such note.
From-SVN: r19364
Benjamin Kosnik [Tue, 21 Apr 1998 19:08:48 +0000 (19:08 +0000)]
decl.c (duplicate_decls): Only check DECL_FRIEND_P if function.
* decl.c (duplicate_decls): Only check DECL_FRIEND_P if function.
g++/15307 redux
From-SVN: r19363
Benjamin Kosnik [Tue, 21 Apr 1998 19:08:46 +0000 (19:08 +0000)]
decl.c (duplicate_decls): Only check DECL_FRIEND_P if function.
8
* decl.c (duplicate_decls): Only check DECL_FRIEND_P if function.
g++/15307 redux
From-SVN: r19362
Jason Merrill [Tue, 21 Apr 1998 18:05:35 +0000 (14:05 -0400)]
* typeck.c (convert_for_assignment): Fix handling of pmfs.
From-SVN: r19361
Jason Merrill [Tue, 21 Apr 1998 18:05:17 +0000 (14:05 -0400)]
(convert_for_assignment): Fix handling of pmfs.
From-SVN: r19360
John Carr [Tue, 21 Apr 1998 17:50:21 +0000 (17:50 +0000)]
genemit.c (gen_exp): Allow machine description to set mode of MATCH_OP_DUP.
* genemit.c (gen_exp): Allow machine description to set mode of
MATCH_OP_DUP.
From-SVN: r19359
Jeffrey A Law [Tue, 21 Apr 1998 15:00:15 +0000 (15:00 +0000)]
mips.h (STACK_BOUNDARY): Allow specific targets to override.
* mips.h (STACK_BOUNDARY): Allow specific targets to override.
(MIPS_STACK_ALIGN): Similarly.
From-SVN: r19358
John Carr [Tue, 21 Apr 1998 13:51:41 +0000 (13:51 +0000)]
alias.c (mode_alias_check): New function.
* alias.c (mode_alias_check): New function.
(true_dependence, anti_dependence, output_dependence): Call
mode_alias_check.
From-SVN: r19357
Jeffrey A Law [Tue, 21 Apr 1998 13:27:12 +0000 (13:27 +0000)]
cp-tree.h (intTI_type_node, [...]): Declare.
* cp-tree.h (intTI_type_node, unsigned_intTI_type_node): Declare.
* decl.c (intTI_type_node, unsigned_intTI_type_node): Define.
(init_decl_processing): Handle TI types.
* typeck.c (unsigned_type, signed_type): Handle TI types.
From-SVN: r19356
Jeffrey A Law [Tue, 21 Apr 1998 13:25:56 +0000 (13:25 +0000)]
c-common.c (type_for_mode): Handle TI types.
* c-common.c (type_for_mode): Handle TI types.
* c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define.
(init_decl_processing): Handle TI types.
* c-tree.h (intTI_type_node, unsigned_int_TI_type_node): Declare.
From-SVN: r19355
Jeffrey A Law [Tue, 21 Apr 1998 11:07:59 +0000 (11:07 +0000)]
mips.c (block_move_loop): Test Pmode == DImode instead of TARGET_MIPS64.
* mips.c (block_move_loop): Test Pmode == DImode instead of
TARGET_MIPS64.
(expand_block_move, save_restore_insns): Likewise.
(function_prologue, mips_expand_prologue): Likewise.
(mips_expand_epilogue): Likewise.
* mips.h (POINTER_SIZE): Allow specific targets to override.
(Pmode): Allow specific targets to override.
(FUNCTION_PROFILER): Test Pmode == DImode instead of TARGET_MIPS64
(POINTER_BOUNDARY, FUNCTION_MODE): Likewise.
(TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
(TRAMPOLINE_ALIGNMENT, INITIALIZE_TRAMPOLINE): Likewise.
(CASE_VECTOR_MODE, ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
(ASM_OUTPUT_ADDR_DIFF_ELT, SIZE_TYPE, PTRDIFF_TYPE): Likewise.
* mips.md (indirect, tablejump & casesi support): Test for
Pmode == DImode instead of TARGET_MIPS64.
(call patterns): Likewise.
From-SVN: r19354
Kaveh R. Ghazi [Tue, 21 Apr 1998 06:50:07 +0000 (06:50 +0000)]
Fixes a problem compiling on sparcs where STRUCT_VALUE is defined in sparc.h to...
Fixes a problem compiling on sparcs where STRUCT_VALUE is defined in
sparc.h to use gen_rtx_MEM() and then evaluated in an #if directive in
sendmsg.c.
* objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done
for gen_rtx(MEM, ...).
From-SVN: r19353
Richard Henderson [Tue, 21 Apr 1998 02:24:02 +0000 (19:24 -0700)]
sparc.h (MACHINE_STATE_SAVE, [...]): Rewrite to not be so gross, and to properly function with PIC.
* sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite
to not be so gross, and to properly function with PIC.
From-SVN: r19352
Jim Wilson [Mon, 20 Apr 1998 21:12:00 +0000 (21:12 +0000)]
Fix BSD/OS build error reported by Shigeya Suzuk.
* frame.c (heapsort): Rename to frame_heapsort.
From-SVN: r19351
Jim Wilson [Mon, 20 Apr 1998 20:51:02 +0000 (20:51 +0000)]
Fix i386-* failure that shows up as a cpp usage message.
* gcc.c (do_spec_1, case '['): Move flag out of loop and initialize it.
From-SVN: r19350
Doug Evans [Mon, 20 Apr 1998 16:42:50 +0000 (16:42 +0000)]
* flow.c (sbitmap_vector_alloc): Ensure sbitmaps properly aligned.
From-SVN: r19347
John Wehle [Mon, 20 Apr 1998 15:06:40 +0000 (15:06 +0000)]
Patch from John Wehle to fix movxf_push spill reg allocation failure.
* i386.md (movsf_push, movdf_push, movxf_push): Allow memory
operands during and after reload.
From-SVN: r19346
Joern Rennecke [Mon, 20 Apr 1998 14:43:51 +0000 (15:43 +0100)]
Formatting fix.
From-SVN: r19345
J"orn Rennecke [Mon, 20 Apr 1998 14:40:04 +0000 (14:40 +0000)]
final.c (shorten_branches, [...]): Move code to free label_align...
* final.c (shorten_branches, init_insn_lengths): Move code
to free label_align, uid_shuid, insn_lengths, insn_addresses
and uid_align from the former function into the latter one;
Add code to clear these variables.
* sh.h (label_align): Remove declaration.
From-SVN: r19344
Michael Meissner [Mon, 20 Apr 1998 13:30:32 +0000 (13:30 +0000)]
Add extra protection in case strrchr already defined
From-SVN: r19343
Michael Meissner [Mon, 20 Apr 1998 13:27:00 +0000 (13:27 +0000)]
Fix warning when compiling g++.o
From-SVN: r19342
Michael Meissner [Mon, 20 Apr 1998 13:11:38 +0000 (13:11 +0000)]
Switch to strrchr if available instead of rindex
From-SVN: r19341
Michael Meissner [Mon, 20 Apr 1998 11:54:40 +0000 (11:54 +0000)]
For movsf/movdf splits, let movsi define_split handle subword moves
From-SVN: r19340
J"orn Rennecke [Mon, 20 Apr 1998 10:59:18 +0000 (10:59 +0000)]
Fix some problems that resulted in assmebler messages 'Error: pcrel too far'
Fix some problems that resulted in assmebler messages 'Error: pcrel too far'
* sh.c (find_barrier): Fix bug in ADDR_DIFF_VEC handling.
(split_branches): Call init_insn_lengths.
From-SVN: r19339
Michael Meissner [Mon, 20 Apr 1998 07:41:41 +0000 (07:41 +0000)]
Include expr.h to get the change_address prototype declared.
From-SVN: r19338
H.J. Lu [Mon, 20 Apr 1998 00:01:15 +0000 (00:01 +0000)]
reg-stack.c (subst_asm_stack_regs): Change to return the last new insn generated by this function.
* reg-stack.c (subst_asm_stack_regs): Change to return the last
new insn generated by this function.
(subst_stack_regs): Likewise.
(convert_regs): Record the last newly generated insn and use
it for change_stack () instead of INSN.
From-SVN: r19328
Jeff Law [Sun, 19 Apr 1998 23:40:30 +0000 (17:40 -0600)]
New test from HJ.
From-SVN: r19326
H.J. Lu [Sun, 19 Apr 1998 21:14:32 +0000 (21:14 +0000)]
* isgetline.cc (istream::get): Fix a typo.
From-SVN: r19314
Dave Love [Sun, 19 Apr 1998 11:52:15 +0000 (11:52 +0000)]
* g77.f-torture/compile/980419-2.f (main): New test.
From-SVN: r19301
Dave Love [Sun, 19 Apr 1998 11:49:56 +0000 (11:49 +0000)]
New test.
From-SVN: r19300