law [Fri, 24 Apr 1998 20:53:53 +0000 (20:53 +0000)]
* dbxout.c (dbxout_type): Fix typo.
(dbxout_range_type): Another HOST_WIDE_INT_PRINT_DEC fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19407
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 24 Apr 1998 14:58:23 +0000 (14:58 +0000)]
* configure.in: Use CC_FOR_BUILD, not BUILD_CC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19406
138bc75d-0d04-0410-961f-
82ee72b054a4
jfc [Fri, 24 Apr 1998 13:16:26 +0000 (13:16 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19405
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19404
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 24 Apr 1998 11:44:42 +0000 (11:44 +0000)]
New test from Joern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19403
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 24 Apr 1998 10:03:16 +0000 (10:03 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19402
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 24 Apr 1998 10:03:15 +0000 (10:03 +0000)]
�
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19401
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 24 Apr 1998 08:51:10 +0000 (08:51 +0000)]
* (gen_shl_and, in case 1): Fix comparison with mask.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19400
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Fri, 24 Apr 1998 07:58:33 +0000 (07:58 +0000)]
* g77.f-torture/compile/980424-0.f: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19399
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Fri, 24 Apr 1998 07:53:34 +0000 (07:53 +0000)]
New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19398
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Fri, 24 Apr 1998 06:48:40 +0000 (06:48 +0000)]
Disallow frame pointer as second register in REG+REG pair.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19397
138bc75d-0d04-0410-961f-
82ee72b054a4
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'
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19396
138bc75d-0d04-0410-961f-
82ee72b054a4
manfred [Thu, 23 Apr 1998 23:04:07 +0000 (23:04 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19395
138bc75d-0d04-0410-961f-
82ee72b054a4
manfred [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 files have
been created and to guarantee proper parallel builds.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19394
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 23 Apr 1998 22:26:41 +0000 (22:26 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19393
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19392
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19391
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19390
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19389
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19388
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 23 Apr 1998 17:32:02 +0000 (17:32 +0000)]
* pt.c (unify): Fix typo in previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19387
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Thu, 23 Apr 1998 15:03:25 +0000 (15:03 +0000)]
find_barrier(): Return as soon as a BARRIER insn is found.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19386
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 23 Apr 1998 13:37:16 +0000 (13:37 +0000)]
* sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
* sh.md (ashrhi3_k, lshrhi3_k, lshrhi3_m, lshrhi3, lshrhi3+1): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19385
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 23 Apr 1998 09:35:38 +0000 (09:35 +0000)]
* error.c (dump_type_real): Declare canonical_name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19384
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 23 Apr 1998 09:34:57 +0000 (09:34 +0000)]
* typeck.c (comp_target_types): Fix PMFs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19383
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 22 Apr 1998 21:06:37 +0000 (21:06 +0000)]
Add prototype
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19380
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 22 Apr 1998 21:02:15 +0000 (21:02 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19379
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 22 Apr 1998 21:02:01 +0000 (21:02 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19378
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Wed, 22 Apr 1998 14:20:29 +0000 (14:20 +0000)]
Add match_insn2; Fix prototype in loop.c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19377
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [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 TEMPLATE_DECL, not just the
TEMPLATE_DECL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19376
138bc75d-0d04-0410-961f-
82ee72b054a4
jfc [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 HOST_BITS_PER_WIDE_INT is larger than BITS_PER_WORD.
* final.c (split_double): Sign extend both halves of a split CONST_INT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19375
138bc75d-0d04-0410-961f-
82ee72b054a4
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19374
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 22 Apr 1998 09:43:06 +0000 (09:43 +0000)]
* mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19373
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 22 Apr 1998 09:43:04 +0000 (09:43 +0000)]
�
* mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19372
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19371
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Wed, 22 Apr 1998 01:54:53 +0000 (01:54 +0000)]
* mt-linux (CXXFLAGS_FOR_TARGET): Set this instead of CXXFLAGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19370
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 21 Apr 1998 22:08:05 +0000 (22:08 +0000)]
* decl2.c (grokfield): Remangle the name of a member TYPE_DECL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19369
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 21 Apr 1998 22:03:34 +0000 (22:03 +0000)]
* decl2.c (check_member_template): Set DECL_IGNORED for member
class templates, too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19368
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 21 Apr 1998 21:55:45 +0000 (21:55 +0000)]
* errfn.c (cp_thing): Use xrealloc, not xmalloc, to copy memory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19367
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 21 Apr 1998 19:45:53 +0000 (19:45 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19366
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 21 Apr 1998 19:45:53 +0000 (19:45 +0000)]
/
tests for g++/15307 and -Wredundant-decls
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19365
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19364
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 21 Apr 1998 19:08:48 +0000 (19:08 +0000)]
* decl.c (duplicate_decls): Only check DECL_FRIEND_P if function.
g++/15307 redux
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19363
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 21 Apr 1998 19:08:46 +0000 (19:08 +0000)]
8
* decl.c (duplicate_decls): Only check DECL_FRIEND_P if function.
g++/15307 redux
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19362
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 21 Apr 1998 18:05:35 +0000 (18:05 +0000)]
* typeck.c (convert_for_assignment): Fix handling of pmfs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19361
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 21 Apr 1998 18:05:17 +0000 (18:05 +0000)]
(convert_for_assignment): Fix handling of pmfs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19360
138bc75d-0d04-0410-961f-
82ee72b054a4
jfc [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19359
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 21 Apr 1998 15:00:15 +0000 (15:00 +0000)]
* mips.h (STACK_BOUNDARY): Allow specific targets to override.
(MIPS_STACK_ALIGN): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19358
138bc75d-0d04-0410-961f-
82ee72b054a4
jfc [Tue, 21 Apr 1998 13:51:41 +0000 (13:51 +0000)]
* alias.c (mode_alias_check): New function.
(true_dependence, anti_dependence, output_dependence): Call
mode_alias_check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19357
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 21 Apr 1998 13:27:12 +0000 (13:27 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19356
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 21 Apr 1998 13:25:56 +0000 (13:25 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19355
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 21 Apr 1998 11:07:59 +0000 (11:07 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19354
138bc75d-0d04-0410-961f-
82ee72b054a4
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 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, ...).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19353
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 21 Apr 1998 02:24:02 +0000 (02:24 +0000)]
* sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite
to not be so gross, and to properly function with PIC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19352
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19351
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19350
138bc75d-0d04-0410-961f-
82ee72b054a4
devans [Mon, 20 Apr 1998 16:42:50 +0000 (16:42 +0000)]
* flow.c (sbitmap_vector_alloc): Ensure sbitmaps properly aligned.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19347
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19346
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 20 Apr 1998 14:43:51 +0000 (14:43 +0000)]
Formatting fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19345
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 20 Apr 1998 14:40:04 +0000 (14:40 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19344
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Mon, 20 Apr 1998 13:30:32 +0000 (13:30 +0000)]
Add extra protection in case strrchr already defined
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19343
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Mon, 20 Apr 1998 13:27:00 +0000 (13:27 +0000)]
Fix warning when compiling g++.o
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19342
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Mon, 20 Apr 1998 13:11:38 +0000 (13:11 +0000)]
Switch to strrchr if available instead of rindex
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19341
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Mon, 20 Apr 1998 11:54:40 +0000 (11:54 +0000)]
For movsf/movdf splits, let movsi define_split handle subword moves
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19340
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 20 Apr 1998 10:59:18 +0000 (10:59 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19339
138bc75d-0d04-0410-961f-
82ee72b054a4
scox [Mon, 20 Apr 1998 07:41:41 +0000 (07:41 +0000)]
Include expr.h to get the change_address prototype declared.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19338
138bc75d-0d04-0410-961f-
82ee72b054a4
law [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.
(subst_stack_regs): Likewise.
(convert_regs): Record the last newly generated insn and use
it for change_stack () instead of INSN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19328
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 19 Apr 1998 23:40:30 +0000 (23:40 +0000)]
New test from HJ.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19326
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 19 Apr 1998 21:14:32 +0000 (21:14 +0000)]
* isgetline.cc (istream::get): Fix a typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19314
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Sun, 19 Apr 1998 11:52:15 +0000 (11:52 +0000)]
* g77.f-torture/compile/980419-2.f (main): New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19301
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Sun, 19 Apr 1998 11:49:56 +0000 (11:49 +0000)]
New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19300
138bc75d-0d04-0410-961f-
82ee72b054a4
manfred [Sun, 19 Apr 1998 06:48:08 +0000 (06:48 +0000)]
a
* fix-header.c (enum special_file): Undefine enumerators if they
are already defined by include files.
* fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
macro with '__' to not pollute user namespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19298
138bc75d-0d04-0410-961f-
82ee72b054a4
manfred [Sun, 19 Apr 1998 06:48:07 +0000 (06:48 +0000)]
d
* fix-header.c (enum special_file): Undefine enumerators if they
are already defined by include files.
* fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
macro with '__' to not pollute user namespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19297
138bc75d-0d04-0410-961f-
82ee72b054a4
manfred [Sun, 19 Apr 1998 06:48:05 +0000 (06:48 +0000)]
�
* fix-header.c (enum special_file): Undefine enumerators if they
are already defined by include files.
* fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
macro with '__' to not pollute user namespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19296
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Sun, 19 Apr 1998 05:59:43 +0000 (05:59 +0000)]
* g77.f-torture/compile/970125-0.f: New test.
* g77.f-torture/compile/980419-1.f: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19295
138bc75d-0d04-0410-961f-
82ee72b054a4
fx [Sun, 19 Apr 1998 05:54:09 +0000 (05:54 +0000)]
New File.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19294
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 19 Apr 1998 02:45:34 +0000 (02:45 +0000)]
* haifa-sched.c (queue_to_ready): Fix typo in prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19293
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 18 Apr 1998 23:52:37 +0000 (23:52 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19291
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 18 Apr 1998 22:19:52 +0000 (22:19 +0000)]
* i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19287
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 18 Apr 1998 22:19:50 +0000 (22:19 +0000)]
* i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19286
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sat, 18 Apr 1998 18:36:11 +0000 (18:36 +0000)]
Patch from Ulrich to fix problems with default CPU defines.
* i386.h (CPP_CPU_DEFAULT): Renamed to CPP_CPU_DEFAULT_SPEC.
Add missing -Dpentium* options.
(CPP_CPU_SPEC): Delete redundant definition. Include cpp_cpu_default
instead of CPP_CPU_DEFAULT.
(EXTRA_SPECS): Add entry for cpp_cpu_default.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19284
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sat, 18 Apr 1998 16:16:02 +0000 (16:16 +0000)]
* rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be
negative in a stackless frame.
* rs6000.c (rs6000_stack_info): Don't include fixed-size link area
in stackless frame size. Support 64-bit stackless frame size.
Combine fpmem offset calculations and don't add total_size to
offset if not pushing a stack frame.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19283
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sat, 18 Apr 1998 15:42:48 +0000 (15:42 +0000)]
Fix regmove typos spotted by H.J. Lu.
* regmove.c (fixup_match_1): In three places, in flag_exceptions
check, change p to q.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19282
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sat, 18 Apr 1998 15:31:36 +0000 (15:31 +0000)]
Patches to make g++/g77 give useful error when no files are given.
* gcc.c (lang_specific_driver): Add new parm type to prototype.
(added_libraries): New file scope static variable.
(process_command): Initialize added_libraries. Pass it to
lang_specific_driver.
(main): Use added_libraries in check for no input files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19281
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sat, 18 Apr 1998 15:30:09 +0000 (15:30 +0000)]
Patches to give useful error when no files given.
* g77spec.c (lang_specific_driver): New argument in_added_libraries.
New local added_libraries. Increment count when add library to
arglist.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19280
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sat, 18 Apr 1998 15:26:22 +0000 (15:26 +0000)]
Patches to give useful error when no files specified.
* g++spec.c (lang_specific_driver): New argument in_added_libraries.
New local added_libraries. Increment count when add library to
arglist.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19279
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 18 Apr 1998 01:24:59 +0000 (01:24 +0000)]
Sat Apr 18 01:23:11 1998 John Carr <jfc@mit.edu>
* sparc.c, sparc.h, sparc.md, sol2.h: Many changes related to V9
code generation. Use 64 bit instructions in 32 bit mode when
possible. Use V9 return instruction. UltraSPARC optimizations.
* sparc.h: Change gen_rtx (CODE to gen_rtx_CODE (.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19278
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 18 Apr 1998 01:12:22 +0000 (01:12 +0000)]
New test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19277
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 18 Apr 1998 01:02:04 +0000 (01:02 +0000)]
* global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg,
just pass zero. That will work regardless of the size of HARD_REG_SET.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19276
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 17 Apr 1998 21:39:12 +0000 (21:39 +0000)]
8
* libgcc2.c (__floatdisf): Fix a couple typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19275
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 17 Apr 1998 21:39:10 +0000 (21:39 +0000)]
�
* libgcc2.c (__floatdisf): Fix a couple typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19274
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 17 Apr 1998 21:25:38 +0000 (21:25 +0000)]
Fri Apr 17 21:25:00 1998 Mark Mitchell <mmitchell@usa.net>
* cp-tree.h (type_as_string_real): New function.
* pt.c (mangle_class_name_for_template): Use it.
* error.c (dump_aggr_type): Change prototype.
(dump_type_prefix): Likewise.
(dump_type_suffix): Likewise.
(dump_type_real): Convert from dump_type. If desired, the
"canonica" name of a typedef, i.e., the name of the underlying
type, can be printed.
(dump_type): Call dump_type_real.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19273
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 17 Apr 1998 17:31:30 +0000 (17:31 +0000)]
Fix `make clean' bug with -da files.
* Makefile.in (mostlyclean): Delete *.mach and *.bp files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19272
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 17 Apr 1998 16:35:07 +0000 (16:35 +0000)]
* emit-rtl.c (gen_highpart): initialize `word' properly for pseudo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19271
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 17 Apr 1998 15:52:17 +0000 (15:52 +0000)]
redo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19270
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 17 Apr 1998 15:32:57 +0000 (15:32 +0000)]
revert
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19269
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 17 Apr 1998 15:29:46 +0000 (15:29 +0000)]
* decl2.c (lang_decode_option): -fnew-abi implies -fvtable-thunks.
* typeck.c (comp_target_types): Tweak pedantic case.
(comp_target_parms): Tweak pedantic case. Clean up somewhat.
Return -1 or 1 instead of 1 or 2.
(compparms): Remove STRICT handling.
* typeck.c (comp_target_types): Handle references like pointers.
(comp_target_parms): Note that return code from comp_target_types
can be negative to indicate failure.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19268
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 17 Apr 1998 14:41:49 +0000 (14:41 +0000)]
Patch from John Carr to fix sparc v9 failure.
* emit-rtl.c (operand_subword_force): If a register can not be
accessed by words, copy it to a pseudo register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19267
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 17 Apr 1998 14:32:23 +0000 (14:32 +0000)]
Fix vxworks-ppc build failure reported by SXTHREE.
* rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19266
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Fri, 17 Apr 1998 14:02:51 +0000 (14:02 +0000)]
Delete mark_seen_cases declaration
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19265
138bc75d-0d04-0410-961f-
82ee72b054a4