Commit Graph

16298 Commits

Author SHA1 Message Date
Jeff Law e003ca80ce 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
1998-04-24 04:03:16 -06:00
Jeff Law 442f40184c 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
1998-04-24 04:03:15 -06:00
J"orn Rennecke 7174c937fb * (gen_shl_and, in case 1): Fix comparison with mask.
From-SVN: r19400
1998-04-24 09:51:10 +01:00
Dave Love 2fe8c4d9b7 * g77.f-torture/compile/980424-0.f: New test.
From-SVN: r19399
1998-04-24 07:58:33 +00:00
Dave Love 489e08401c New test.
From-SVN: r19398
1998-04-24 07:53:34 +00:00
Nick Clifton 0b81275849 Disallow frame pointer as second register in REG+REG pair.
From-SVN: r19397
1998-04-24 06:48:40 +00:00
Kaveh R. Ghazi 753a73c846 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
1998-04-24 06:27:03 +00:00
Manfred Hollstein b9e5c22082 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
1998-04-23 23:04:07 +00:00
Manfred Hollstein 4a1991b347 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
1998-04-23 23:04:05 +00:00
Jason Merrill 5ffe581dd3 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
1998-04-23 18:26:41 -04:00
Jim Wilson 624411284f Fix consistency error reported by Yotam Medini.
* configure: Set CXXFLAGS from CXXFLAGS, not CFLAGS.

From-SVN: r19392
1998-04-23 14:33:41 -07:00
J"orn Rennecke aec373f1a1 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
1998-04-23 21:57:06 +01:00
Jim Wilson f1f53f0b75 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
1998-04-23 12:57:57 -07:00
Jim Wilson f5880dbeb0 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
1998-04-23 12:52:46 -07:00
Jim Wilson 8ade151969 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
1998-04-23 12:10:52 -07:00
Mark Mitchell 2e925bfc0c * pt.c (unify): Fix typo in previous change.
From-SVN: r19387
1998-04-23 17:32:02 +00:00
Nick Clifton a2538ff76a find_barrier(): Return as soon as a BARRIER insn is found.
From-SVN: r19386
1998-04-23 15:03:25 +00:00
J"orn Rennecke d0c4285986 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
1998-04-23 14:37:16 +01:00
Jason Merrill 6df38d6ddc * error.c (dump_type_real): Declare canonical_name.
From-SVN: r19384
1998-04-23 05:35:38 -04:00
Jason Merrill bec17cf31e * typeck.c (comp_target_types): Fix PMFs.
From-SVN: r19383
1998-04-23 05:34:57 -04:00
Mark Mitchell 04a81d94f4 Add prototype
From-SVN: r19380
1998-04-22 21:06:37 +00:00
Mark Mitchell f5710887ad *** empty log message ***
From-SVN: r19379
1998-04-22 21:02:15 +00:00
Mark Mitchell db2767b644 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
1998-04-22 21:02:01 +00:00
Michael Meissner 693e265fc0 Add match_insn2; Fix prototype in loop.c
From-SVN: r19377
1998-04-22 14:20:29 +00:00
Mark Mitchell 43ee49e8f3 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
1998-04-22 13:23:32 +00:00
John Carr 27eef9cece 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
1998-04-22 12:57:04 +00:00
Michael Meissner 3f4ea1dee8 Add support for --enable-target-optspace to compile with -Os instead of -O2, and default m32r to use it
From-SVN: r19374
1998-04-22 12:33:17 +00:00
Jeff Law db4c1c3522 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
1998-04-22 03:43:06 -06:00
Jeff Law d972dd33dc 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
1998-04-22 03:43:04 -06:00
Andrew MacLeod 5e5199e86c 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
1998-04-22 08:04:13 +00:00
Andreas Schwab ce5b6870d1 * mt-linux (CXXFLAGS_FOR_TARGET): Set this instead of CXXFLAGS.
From-SVN: r19370
1998-04-22 01:54:53 +00:00
Mark Mitchell 61cd123468 * decl2.c (grokfield): Remangle the name of a member TYPE_DECL.
From-SVN: r19369
1998-04-21 22:08:05 +00:00
Mark Mitchell 1701f21e52 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
1998-04-21 22:03:34 +00:00
Mark Mitchell fb1653e1f8 * errfn.c (cp_thing): Use xrealloc, not xmalloc, to copy memory.
From-SVN: r19367
1998-04-21 21:55:45 +00:00
Benjamin Kosnik 1c2c795e97 *** empty log message ***
From-SVN: r19366
1998-04-21 19:45:53 +00:00
Benjamin Kosnik a147412ac1 /
tests for g++/15307 and -Wredundant-decls

From-SVN: r19365
1998-04-21 19:45:53 +00:00
Jim Wilson 0dacbd0e17 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
1998-04-21 12:43:55 -07:00
Benjamin Kosnik 2c5873953f 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
1998-04-21 19:08:48 +00:00
Benjamin Kosnik 70233af32f 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
1998-04-21 19:08:46 +00:00
Jason Merrill dbf5190486 * typeck.c (convert_for_assignment): Fix handling of pmfs.
From-SVN: r19361
1998-04-21 14:05:35 -04:00
Jason Merrill 3d879eacbb (convert_for_assignment): Fix handling of pmfs.
From-SVN: r19360
1998-04-21 14:05:17 -04:00
John Carr 4ceb7595d9 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
1998-04-21 17:50:21 +00:00
Jeffrey A Law d1c1757292 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
1998-04-21 09:00:15 -06:00
John Carr d09c938561 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
1998-04-21 13:51:41 +00:00
Jeffrey A Law f7554e8cff 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
1998-04-21 07:27:12 -06:00
Jeffrey A Law a6d7e15639 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
1998-04-21 07:25:56 -06:00
Jeffrey A Law 1eeed24eb2 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
1998-04-21 05:07:59 -06:00
Kaveh R. Ghazi d2f5ef7012 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
1998-04-21 06:50:07 +00:00
Richard Henderson cb85a2f3bd 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
1998-04-20 19:24:02 -07:00
Jim Wilson 99b13ed3fd Fix BSD/OS build error reported by Shigeya Suzuk.
* frame.c (heapsort): Rename to frame_heapsort.

From-SVN: r19351
1998-04-20 14:12:00 -07:00