Commit Graph

15791 Commits

Author SHA1 Message Date
Jim Wilson
8d02e5c54c Regenerate.
From-SVN: r18648
1998-03-17 08:48:45 -08:00
Mark Mitchell
297dcfb3a9 typeck2.c (build_x_arrow): Don't crash when an aggregate type has no overloaded operator ->.
* typeck2.c (build_x_arrow): Don't crash when an aggregate type
	has no overloaded operator ->.
	* call.c (build_field_call): Don't crash when presented with a
	field that is actually a nested type.
	* decl.c (pushtag): Deal with friend class injection in local
	classes.
	* call.c (build_object_call): Don't crash if OBJ is a
	pointer-to-member-function.

From-SVN: r18647
1998-03-17 14:59:43 +00:00
Jason Merrill
c7dfe58480 pt.c (push_template_decl): Complain about template with C linkage, anonymous template class.
* pt.c (push_template_decl): Complain about template with C linkage,
	anonymous template class.

From-SVN: r18646
1998-03-17 07:20:38 -05:00
Manfred Hollstein
edcd669072 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: r18645
1998-03-17 01:38:14 +00:00
Manfred Hollstein
7d6af352b9 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: r18644
1998-03-17 01:38:13 +00:00
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