Commit Graph

15786 Commits

Author SHA1 Message Date
Manfred Hollstein
88838149c7 config-ml.in: After building symlink tree call make distclean if...
�
	* config-ml.in: After building symlink tree call make distclean
	if a Makefile got linked into ${ml_dir}/${ml_libdir}; this happens
	to be the case for libiberty.
	* Makefile.in (clean, distclean): Add 'info' explicitly.

From-SVN: r18643
1998-03-17 01:38:12 +00:00
Manfred Hollstein
2d4a055846 config-ml.in: After building symlink tree call make distclean if...
P
	* config-ml.in: After building symlink tree call make distclean
	if a Makefile got linked into ${ml_dir}/${ml_libdir}; this happens
	to be the case for libiberty.
	* Makefile.in (clean, distclean): Add 'info' explicitly.

From-SVN: r18642
1998-03-17 01:38:10 +00:00
H.J. Lu
bd064fd506 configure: When making link, also check the current directory.
8
	* configure: When making link, also check the current
	directory. The configure scripts may create one.

From-SVN: r18641
1998-03-17 01:24:55 +00:00
H.J. Lu
04b9356733 configure: When making link, also check the current directory.
p
	* configure: When making link, also check the current
	directory. The configure scripts may create one.

From-SVN: r18640
1998-03-17 01:24:54 +00:00
Jason Merrill
98fa9e12cd undo
From-SVN: r18639
1998-03-16 19:20:08 -05:00
Jason Merrill
b68c32add4 new
From-SVN: r18638
1998-03-16 19:19:43 -05:00
Jason Merrill
22531e51c3 class.c (pushclass): Only use the mi_matrix stuff #ifdef MI_MATRIX.
* class.c (pushclass): Only use the mi_matrix stuff #ifdef MI_MATRIX.
	* search.c: Likewise.
	* lex.c (do_pending_defargs): Only call
	maybe_{begin,end}_member_template_processing for FUNCTION_DECLs.
	* parse.y (initdcl0_innards): Move maybeasm back into initdcl0 et al.

From-SVN: r18637
1998-03-16 19:03:43 -05:00
Jason Merrill
91885faad2 fix
From-SVN: r18636
1998-03-16 18:56:43 -05:00
H.J. Lu
6591521aca New testcase from H.J. Lu for PPro FP conditional move bug.
* gcc.dg/980312-1.c: Another new test for fp on PPro.

From-SVN: r18633
1998-03-16 12:03:19 -08:00
J"orn Rennecke
76ce477676 * vax.h (ADDR_VEC_ALIGN): Define.
From-SVN: r18632
1998-03-16 16:47:30 +00:00
Michael Meissner
dbf55e5349 Ensure sum from SDA is 16-bit
From-SVN: r18631
1998-03-16 15:35:24 +00:00
Michael Meissner
e29ef9202e Fix off by 1 error in handling multilibs
From-SVN: r18630
1998-03-16 13:06:49 +00:00
Jim Wilson
883482b23d Patch from Ingolf Kock to fix -m68060 problems.
* config/m68k/netbsd.h (ASM_SPEC): Add %{m68060}.

From-SVN: r18629
1998-03-16 04:57:02 -08:00
Andrew Macleod
9ad82ff80e * minor update in posting address
From-SVN: r18628
1998-03-16 12:55:45 +00:00
Andrew Macleod
77153e9cc1 sparc.md: Add calls to 'in_same_eh_region' in 4 peepholes involving calls and...
* config/sparc/sparc.md: Add calls to 'in_same_eh_region' in 4
	peepholes involving calls and unconditional branches.

From-SVN: r18627
1998-03-16 12:52:33 +00:00
Andrew Macleod
41fe085f07 genpeep.c (main): Add "except.h" to include file list in generated file insn-peep.c.
* genpeep.c (main): Add "except.h" to include file list in generated
	file insn-peep.c.

From-SVN: r18626
1998-03-16 12:52:09 +00:00
Andrew Macleod
a8c3510c8f final.c (final): Initialize the table indicating which instructions belong in which exception region.
* final.c (final): Initialize the table indicating which instructions
	belong in which exception region.

From-SVN: r18625
1998-03-16 12:51:56 +00:00
Andrew Macleod
77d33a842d except.c (insn_eh_region, [...]): New static variables.
* except.c (insn_eh_region, maximum_uid): New static variables.
	(set_insn_eh_region): New static function to set region numbers.
	(free_insn_eh_region): New function to free EH region table.
	(init_insn_eh_region): New function to initialize EH region table.
	(in_same_eh_region): New function used to determine if two rtl
	instructions are in the same exception region or not.

From-SVN: r18624
1998-03-16 12:51:39 +00:00
Andrew Macleod
5aa550437e except.h (in_same_eh_region): New prototype.
* except.h (in_same_eh_region): New prototype.
	(free_insn_eh_region, init_insn_eh_region): New prototypes.

From-SVN: r18623
1998-03-16 12:51:14 +00:00
Andrew Macleod
a0b61d1419 except.h (in_same_eh_region): New prototype.
* except.h (in_same_eh_region): New prototype.
	(free_insn_eh_region, init_insn_eh_region): New prototypes.
	* except.c (insn_eh_region, maximum_uid): New static variables.
	(set_insn_eh_region): New static function to set region numbers.
	(free_insn_eh_region): New function to free EH region table.
	(init_insn_eh_region): New function to initialize EH region table.
	(in_same_eh_region): New function used to determine if two rtl
	instructions are in the same exception region or not.
	* final.c (final): Initialize the table indicating which instructions
	belong in which exception region.
	* genpeep.c (main): Add "except.h" to include file list in generated
	file insn-peep.c.
	* config/sparc/sparc.md: Add calls to 'in_same_eh_region' in 4
	peepholes involving calls and unconditional branches.

From-SVN: r18622
1998-03-16 12:50:46 +00:00
Ken Raeburn
cbd5b9a22d Change MEMORY_MOVE_COST defs and uses to be able to take register class into account.
Change MEMORY_MOVE_COST defs and uses to be able to take register class into
account.  Change mips def to actually do so, others to just ignore extra args.
Doc changes too.

From-SVN: r18621
1998-03-16 11:56:25 +00:00
Mark Mitchell
8b1616ad12 * parse.y: Deal with CONSTRUCTORS in new_initializers.
From-SVN: r18620
1998-03-16 11:46:07 +00:00
Jim Wilson
66bd0128f1 Instructions and patches for building GNAT with EGCS.
* README.gnat: New file.

From-SVN: r18619
1998-03-16 03:19:03 -08:00
Mark Mitchell
544c188d00 pt.c (tsubst_copy): Deal with BIND_EXPR in a way that more closely mimics the behavior in parse.y.
* pt.c (tsubst_copy): Deal with BIND_EXPR in a way that more
	closely mimics the behavior in parse.y.
	(tsubst_expr): Return the resuting BLOCK when making a tsubst'ing
	into a compound statement.

From-SVN: r18618
1998-03-16 10:54:48 +00:00
Andreas Schwab
1d8eaa6b15 m68k.c: Include <stdlib.h> for atoi.
* config/m68k/m68k.c: Include <stdlib.h> for atoi.  Include
	"recog.h" for offsettable_memref_p.
	(legitimize_pic_address): Remove unused variable `offset'.
	(notice_update_cc): Change return type to void.  Add default label
	to switch.
	(standard_68881_constant_p): Remove unused variable mode.
	(print_operand): Define local variable i only if SUPPORT_SUN_FPA.
	(const_int_cost): Explicitly declare as returning int.
	(output_dbcc_and_branch): Change return type to void.
	* config/m68k/linux.h, config/m68k/m68k.md, config/m68k/m68k.c,
	config/m68k/m68k.h: Replace gen_rtx (XXX, ...) with gen_rtx_XXX
	(...).  Use GEN_INT instead of gen_rtx_CONST_INT.

From-SVN: r18617
1998-03-16 02:16:43 +00:00
Jeffrey A Law
60ba47b43c Bump for snapshot
From-SVN: r18611
1998-03-15 15:30:46 -07:00
Jason Merrill
eb56e63578 new
From-SVN: r18596
1998-03-15 14:54:36 -05:00
Jason Merrill
cae40af6ef cp-tree.h (TEMPLATE_PARMS_FOR_INLINE): New macro.
* cp-tree.h (TEMPLATE_PARMS_FOR_INLINE): New macro.
	* pt.c (inline_needs_template_parms): New fn.
	(original_template): New fn.
	(push_inline_template_parms_recursive): New fn.
	(maybe_begin_member_template_processing): Use them.
	(maybe_end_member_template_processing): Likewise.
	(is_member_or_friend_template): Rename to is_member_template.
	Member functions of local classes are never member templates.
	* lex.c (do_identifier): Handle TEMPLATE_DECL that was
	added in the class scope to catch redefinition error.
	* pt.c (reduce_template_parm_level): Also copy
	the DECL_TEMPLATE_PARMS field.

From-SVN: r18595
1998-03-15 14:53:08 -05:00
Mark Mitchell
debf0b88ab pt.c (tsubst): Clear TYPE_REFERENCE_TO when creating a reduced-level template type parameter.
* pt.c (tsubst): Clear TYPE_REFERENCE_TO when creating a
        reduced-level template type parameter.

From-SVN: r18591
1998-03-15 10:57:04 +00:00
Manfred Hollstein
4a67c9e985 cp-tree.h (struct lang_decl_flags): Add needs_final_overrider.
d
	* cp-tree.h (struct lang_decl_flags): Add needs_final_overrider.
	(DECL_NEEDS_FINAL_OVERRIDER_P): New macro.
	* class.c (override_one_vtable): Set DECL_NEEDS_FINAL_OVERRIDER_P.
	* decl.c (duplicate_decls): Propagate it.
	* typeck2.c (abstract_virtuals_error): Use two loops to emit
	abstract virtual functions and virtual functions which need a
	final overrider separately.

From-SVN: r18588
1998-03-15 03:28:07 +00:00
Manfred Hollstein
cdcb673e6e cp-tree.h (struct lang_decl_flags): Add needs_final_overrider.
a
	* cp-tree.h (struct lang_decl_flags): Add needs_final_overrider.
	(DECL_NEEDS_FINAL_OVERRIDER_P): New macro.
	* class.c (override_one_vtable): Set DECL_NEEDS_FINAL_OVERRIDER_P.
	* decl.c (duplicate_decls): Propagate it.
	* typeck2.c (abstract_virtuals_error): Use two loops to emit
	abstract virtual functions and virtual functions which need a
	final overrider separately.

From-SVN: r18587
1998-03-15 03:28:04 +00:00
Manfred Hollstein
4099c493d6 cp-tree.h (struct lang_decl_flags): Add needs_final_overrider.
�
	* cp-tree.h (struct lang_decl_flags): Add needs_final_overrider.
	(DECL_NEEDS_FINAL_OVERRIDER_P): New macro.
	* class.c (override_one_vtable): Set DECL_NEEDS_FINAL_OVERRIDER_P.
	* decl.c (duplicate_decls): Propagate it.
	* typeck2.c (abstract_virtuals_error): Use two loops to emit
	abstract virtual functions and virtual functions which need a
	final overrider separately.

From-SVN: r18586
1998-03-15 03:28:01 +00:00
Jason Merrill
be387cb290 update
From-SVN: r18585
1998-03-14 19:16:49 -05:00
Jeff Law
bea39202f4 Initial revision
From-SVN: r18557
1998-03-14 03:55:20 -07:00
Jeff Law
0657954352 Initial revision
From-SVN: r18554
1998-03-14 03:49:19 -07:00
Andreas Schwab
681373187f m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range check for 'M' constraint.
* config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range
	check for 'M' constraint.

From-SVN: r18523
1998-03-13 02:33:38 +00:00
Jim Wilson
7a50f12649 Don't accept GNU C macro varargs extension when pedantic.
* cccp.c (create_definition): If pedantic, call pedwarn for macro
	varargs feature.

From-SVN: r18522
1998-03-12 06:49:30 -08:00
Bernd Schmidt
57dbca5e34 i386.c (ix86_logical_operator): New function.
* i386.c (ix86_logical_operator): New function.
        (split_di): Ensure that when a MEM is split, the resulting MEMs have
        SImode.
        * i386.md (anddi3, xordi3, iordi3): New patterns. Add a define_split
        to implement them.

From-SVN: r18514
1998-03-12 05:43:42 -07:00
Kaveh R. Ghazi
8625fab57c Warning fixes, resulting in the addition of a new target macro:
* tm.texi (DEFAULT_RTX_COSTS): Document new macro.
        * arm.h (DEFAULT_RTX_COSTS): Define instead of RTX_COSTS.
        * cse.c (rtx_cost): Provide a default case in an enumeration
        switch, and call DEFAULT_RTX_COSTS if it's defined.

Co-Authored-By: Nick Clifton <nickc@cygnus.com>
Co-Authored-By: Richard Earnshaw <rearnsha@arm.com>

From-SVN: r18513
1998-03-12 12:32:24 +00:00
Manfred Hollstein
27d7e05d4a basic-block.h (compute_preds_succs): Change return type in prototype to void.
* basic-block.h (compute_preds_succs): Change return type in
	prototype to void.
	* flow.c (compute_preds_succs): Likewise in function definition.
	* regmove.c (find_matches): Cast char used as array index to unsigned char
	to supress warning.

From-SVN: r18508
1998-03-12 01:04:46 +00:00
Manfred Hollstein
743bb12df3 basic-block.h (compute_preds_succs): Change return type in prototype to void.
d
	* basic-block.h (compute_preds_succs): Change return type in
	prototype to void.
	* flow.c (compute_preds_succs): Likewise in function definition.
	* regmove.c (find_matches): Cast char used as array index to unsigned char
	to supress warning.

From-SVN: r18507
1998-03-12 01:04:45 +00:00
Manfred Hollstein
007a4b085d basic-block.h (compute_preds_succs): Change return type in prototype to void.
a
	* basic-block.h (compute_preds_succs): Change return type in
	prototype to void.
	* flow.c (compute_preds_succs): Likewise in function definition.
	* regmove.c (find_matches): Cast char used as array index to unsigned char
	to supress warning.

From-SVN: r18506
1998-03-12 01:04:43 +00:00
Manfred Hollstein
6ce22dacc0 basic-block.h (compute_preds_succs): Change return type in prototype to void.
�
	* basic-block.h (compute_preds_succs): Change return type in
	prototype to void.
	* flow.c (compute_preds_succs): Likewise in function definition.
	* regmove.c (find_matches): Cast char used as array index to unsigned char
	to supress warning.

From-SVN: r18505
1998-03-12 01:04:42 +00:00
Manfred Hollstein
bd2328c62a typeck.c (build_binary_op_nodefault): Correctly place parens around && and || in expression.
�
	* typeck.c (build_binary_op_nodefault): Correctly place parens around
	&& and || in expression.

From-SVN: r18504
1998-03-12 01:01:10 +00:00
Manfred Hollstein
90b4710b24
In gcc/:
	* i386.h (RTX_COSTS): Insert braces around nested if.
	(ADDITIONAL_REGISTER_NAMES): Insert braces around structured
	elements.
	* gcc.c (default_compilers): Properly put brackets around array elements in
	initializer.
	* getopt.c (_getopt_internal): Add explicit braces around nested if;
	reformatted.
	* reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
	(record_reg_life_pat): Add explicit parens around && and || in expression.
	(stack_reg_life_analysis): Add parens around assignment used as expression.
	(convert_regs): Likewise.
In gcc/cp/:
	* lang-specs.h: Properly put brackets around array elements in initializer.
	* typeck.c (build_binary_op_nodefault): Correctly place parens around
	&& and || in expression.
In gcc/f/:
	* lang-specs.h: Properly put brackets around array elements in initializer.

From-SVN: r18503
1998-03-12 00:43:13 +00:00
Manfred Hollstein
6e11d4728d a
In gcc/:
	* i386.h (RTX_COSTS): Insert braces around nested if.
	(ADDITIONAL_REGISTER_NAMES): Insert braces around structured
	elements.
	* gcc.c (default_compilers): Properly put brackets around array elements in
	initializer.
	* getopt.c (_getopt_internal): Add explicit braces around nested if;
	reformatted.
	* reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
	(record_reg_life_pat): Add explicit parens around && and || in expression.
	(stack_reg_life_analysis): Add parens around assignment used as expression.
	(convert_regs): Likewise.
In gcc/cp/:
	* lang-specs.h: Properly put brackets around array elements in initializer.
	* typeck.c (build_binary_op_nodefault): Correctly place parens around
	&& and || in expression.
In gcc/f/:
	* lang-specs.h: Properly put brackets around array elements in initializer.

From-SVN: r18502
1998-03-12 00:43:12 +00:00
Manfred Hollstein
c8a52e3145 /
In gcc/:
	* i386.h (RTX_COSTS): Insert braces around nested if.
	(ADDITIONAL_REGISTER_NAMES): Insert braces around structured
	elements.
	* gcc.c (default_compilers): Properly put brackets around array elements in
	initializer.
	* getopt.c (_getopt_internal): Add explicit braces around nested if;
	reformatted.
	* reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
	(record_reg_life_pat): Add explicit parens around && and || in expression.
	(stack_reg_life_analysis): Add parens around assignment used as expression.
	(convert_regs): Likewise.
In gcc/cp/:
	* lang-specs.h: Properly put brackets around array elements in initializer.
	* typeck.c (build_binary_op_nodefault): Correctly place parens around
	&& and || in expression.
In gcc/f/:
	* lang-specs.h: Properly put brackets around array elements in initializer.

From-SVN: r18501
1998-03-12 00:43:11 +00:00
Manfred Hollstein
9c3183069b d
In gcc/:
	* i386.h (RTX_COSTS): Insert braces around nested if.
	(ADDITIONAL_REGISTER_NAMES): Insert braces around structured
	elements.
	* gcc.c (default_compilers): Properly put brackets around array elements in
	initializer.
	* getopt.c (_getopt_internal): Add explicit braces around nested if;
	reformatted.
	* reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
	(record_reg_life_pat): Add explicit parens around && and || in expression.
	(stack_reg_life_analysis): Add parens around assignment used as expression.
	(convert_regs): Likewise.
In gcc/cp/:
	* lang-specs.h: Properly put brackets around array elements in initializer.
	* typeck.c (build_binary_op_nodefault): Correctly place parens around
	&& and || in expression.
In gcc/f/:
	* lang-specs.h: Properly put brackets around array elements in initializer.

From-SVN: r18500
1998-03-12 00:43:09 +00:00
Manfred Hollstein
54d262334a
In gcc/:
	* i386.h (RTX_COSTS): Insert braces around nested if.
	(ADDITIONAL_REGISTER_NAMES): Insert braces around structured
	elements.
	* gcc.c (default_compilers): Properly put brackets around array elements in
	initializer.
	* getopt.c (_getopt_internal): Add explicit braces around nested if;
	reformatted.
	* reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
	(record_reg_life_pat): Add explicit parens around && and || in expression.
	(stack_reg_life_analysis): Add parens around assignment used as expression.
	(convert_regs): Likewise.
In gcc/cp/:
	* lang-specs.h: Properly put brackets around array elements in initializer.
	* typeck.c (build_binary_op_nodefault): Correctly place parens around
	&& and || in expression.
In gcc/f/:
	* lang-specs.h: Properly put brackets around array elements in initializer.

From-SVN: r18499
1998-03-12 00:43:08 +00:00
Manfred Hollstein
56c5d8bf10 d
In gcc/:
	* bitmap.c (bitmap_element_allocate): Remove unused parameter;
	change callers accordingly.
	* cplus-dem.c (arm_special): Remove unused parameter work in prototype
	and definition; change all callers accordingly.
	* except.c (init_eh): Avoid assignment of unused return value of
	build_pointer_type; cast it to void, instead, and remove unused
	variable type.
	* gcc.c (lang_specific_driver): Define prototype only #ifdef
	LANG_SPECIFIC_DRIVER.
	(temp_names): Define only #ifdef MKTEMP_EACH_FILE.
	* genoutput.c (output_epilogue): Initialize next_name to 0.
	* real.c (efrexp): #if 0 prototype and function definition.
	(eremain): Likewise.
	(uditoe): Likewise.
	(ditoe): Likewise.
	(etoudi): Likewise.
	(etodi): Likewise.
	(esqrt): Likewise.
	* reload.c (push_secondary_reload): Define prototype only
	#ifdef HAVE_SECONDARY_RELOADS.
	* varasm.c (assemble_static_space): Define rounded only
	#ifndef ASM_OUTPUT_ALIGNED_LOCAL.
In gcc/cp/:
	* call.c (default_parm_conversions): Remove prototype definition.
	(build_method_call): Remove unused variable result.
	* cvt.c (ocp_convert): Remove unused variable conversion.
	* decl2.c (ambiguous_decl): Add explicit parameter definition for name.
	* except.c (do_unwind): #if 0 definition of unused variables fcall
	and next_pc.
	* expr.c (extract_scalar_init): #if 0 prototype and function definition.
	* init.c (expand_aggr_init_1): Remove unused variable init_type.
	(build_new_1): Remove unused variable t.
	* pt.c (instantiate_class_template): Remove unused variable newtag;
	cast called function return value to void.
	(do_decl_instantiation): Remove unused variables name and fn.
	* tree.c (get_type_decl): Add default return to shut up compiler from
	complaining control reaches end of non-void function.
	* typeck.c (build_x_conditional_expr): Remove unused variable rval.

From-SVN: r18498
1998-03-12 00:29:17 +00:00