Commit Graph

38955 Commits

Author SHA1 Message Date
GCC Administrator d76c8d5b76 Daily bump.
From-SVN: r47259
2001-11-22 08:16:17 +00:00
Zack Weinberg 44518ddd62 * rs6000.c (output_cbranch): Use $, not %$, in output template.
From-SVN: r47258
2001-11-22 01:54:45 -05:00
Bryce McKinlay 89d684bba3 tree-dump.c: Rename from c-dump.c.
* tree-dump.c: Rename from c-dump.c. Include c-tree.h, not c-common.h.
	(lang_type_quals): Declare.
	(dequeue_and_dump): Use lang_hooks.tree_dump.type_quals function to
	retrieve language-specific qualifiers for a type node, instead of
	C_TYPE_QUALS. Likewise for lang_hooks.tree_dump.dump_tree instead of
	lang_dump_tree.
	* tree-dump.h: Rename from c-dump.h.
	* c-common.h (C_TYPE_QUALS): Removed.
	Move declarations for tree-dump.c interface to...
	* tree.h: ... here. Remove lang_dump_tree.
	* langhooks.h (struct lang_hooks_for_tree_dump): New.
	(struct lang_hooks): Add tree_dump hooks.
	* langhooks.c (lhd_tree_dump_dump_tree): New function.
	(lhd_tree_dump_type_quals): New function.
	* langhooks-def.h (lhd_tree_dump_dump_tree, lhd_tree_dump_type_quals):
	Declare.
	(LANG_HOOKS_INITIALIZER): Add tree_dump hooks.
	* Makefile.in: Move tree-dump.o to language-independent back-end.

cp:
	* cp-tree.h (CP_TYPE_QUALS): Removed.
	* decl.c (cxx_init_decl_processing): Don't set lang_dump_tree.
	* cp-lang.c: Set LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN and
	LANG_HOOKS_TREE_DUMP_TYPE_QUALS_FN.
	* dump.c (cp_dump_tree): Use void* dump_info argument to match
	lang-hooks prototype.
	* call.c, cp-tree.h, cvt.c, decl.c, init.c, mangle.c, method.c, pt.c,
	rtti.c, semantics.c, tree.c, typeck.c, typeck2.c: All references to
	CP_TYPE_QUALS changed to cp_type_quals.
	* Make-lang.in: References to c-dump.h changed to tree-dump.h.
	(CXX_C_OBJS): Remove c-dump.o.

From-SVN: r47257
2001-11-22 02:33:02 +00:00
Kaveh R. Ghazi 4617e3b52b 1750a.h (DBX_REGISTER_NUMBER): Don't define.
* 1750a.h (DBX_REGISTER_NUMBER): Don't define.
	* alpha.h (DBX_REGISTER_NUMBER): Likewise.
	* arc.h (DBX_REGISTER_NUMBER): Likewise.
	* arm/aout.h (DBX_REGISTER_NUMBER): Likewise.
	* avr.h (DBX_REGISTER_NUMBER): Likewise.
	* c4x.h (DBX_REGISTER_NUMBER): Likewise.
	* clipper.h (DBX_REGISTER_NUMBER): Likewise.
	* convex.h (DBX_REGISTER_NUMBER): Likewise.
	* cris.h (DBX_REGISTER_NUMBER): Likewise.
	* dsp16xx.h (DBX_REGISTER_NUMBER): Likewise.
	* elxsi.h (DBX_REGISTER_NUMBER): Likewise.
	* fr30.h (DBX_REGISTER_NUMBER): Likewise.
	* h8300.h (DBX_REGISTER_NUMBER): Likewise.
	* i370.h (DBX_REGISTER_NUMBER): Likewise.
	* i860.h (DBX_REGISTER_NUMBER): Likewise.
	* i860/paragon.h (DBX_REGISTER_NUMBER): Likewise.
	* i860/sysv3.h (DBX_REGISTER_NUMBER): Likewise.
	* i860/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
	* m32r.h (DBX_REGISTER_NUMBER): Likewise.
	* m68hc11.h (DBX_REGISTER_NUMBER): Likewise.
	* m88k.h (DBX_REGISTER_NUMBER): Likewise.
	* mcore/mcore-elf.h (DBX_REGISTER_NUMBER): Likewise.
	* mcore.h (DBX_REGISTER_NUMBER): Likewise.
	* mn10200.h (DBX_REGISTER_NUMBER): Likewise.
	* mn10300.h (DBX_REGISTER_NUMBER): Likewise.
	* pdp11.h (DBX_REGISTER_NUMBER): Likewise.
	* romp.h (DBX_REGISTER_NUMBER): Likewise.
	* rs6000.h (DBX_REGISTER_NUMBER): Likewise.
	* rs6000/sysv4.h (DBX_REGISTER_NUMBER): Likewise.
	* s390/linux.h (DBX_REGISTER_NUMBER): Likewise.
	* stormy16.h (DBX_REGISTER_NUMBER): Likewise.
	* v850.h (DBX_REGISTER_NUMBER): Likewise.
	* vax.h (DBX_REGISTER_NUMBER): Likewise.
	* we32k.h (DBX_REGISTER_NUMBER): Likewise.

	* defaults.h (DBX_REGISTER_NUMBER): Provide a default.
	* doc/tm.texi (DBX_REGISTER_NUMBER): Update.

From-SVN: r47256
2001-11-22 02:19:58 +00:00
Bryce McKinlay 9c5a221c37 tree-dump.{c,h} renamed from c-dump.{c,h}.
From-SVN: r47255
2001-11-22 01:46:54 +00:00
H.J. Lu 13422e9d3b sysv4.h (LIB_SPEC): Fix a typo.
2001-11-21  H.J. Lu <hjl@gnu.org>

	* config/rs6000/sysv4.h (LIB_SPEC): Fix a typo.

From-SVN: r47254
2001-11-21 17:03:16 -08:00
Kaveh R. Ghazi 40c13662d7 s390.c (s390_va_arg): Eliminate ALIGN parameter in call to emit_cmp_and_jump_insns.
* s390.c (s390_va_arg): Eliminate ALIGN parameter in call to
	emit_cmp_and_jump_insns.

	* stormy16.c (xstormy16_expand_builtin_va_arg,
	xstormy16_expand_casesi): Likewise.

From-SVN: r47253
2001-11-22 00:36:09 +00:00
Mark Mitchell 12eb9f939a re PR c++/3637 (Internal compiler error in finish_member_declaration)
PR c++/3637
	* pt.c (lookup_template_class): Ensure that all specializations
	are registered on the list corresponding to the most general
	template.

From-SVN: r47252
2001-11-22 00:21:13 +00:00
Richard Kenner 3258e9961c function.c (keep_stack_depressed): Major rework.
* function.c (keep_stack_depressed): Major rework.
	(handle_epilogue_set, emit_equiv_load): New functions.
	(thread_prologue_and_epilogue_insns): keep_stack_depressed now
	has return value.
	* jump.c (returnjump_p_1): Also return 1 if SET with SET_IS_RETURN_P.
	* rtl.h (SET_IS_RETURN_P): New macro.

From-SVN: r47250
2001-11-21 18:41:40 -05:00
Richard Kenner c11c10d87b expr.c (expand_expr, [...]): Refine slightly and also support TREE_ADDRESSABLE.
* expr.c (expand_expr, case VIEW_CONVERT_EXPR): Refine slightly
	and also support TREE_ADDRESSABLE.
	* tree.def (VIEW_CONVERT_EXPR): Document TREE_ADDRESSABLE.

From-SVN: r47249
2001-11-21 18:32:03 -05:00
David Edelsohn 2e7d5318fc * rs6000.md (cmptf_internal1): Replace %$ with $.
From-SVN: r47248
2001-11-21 17:17:27 -05:00
Paolo Carlini dcc61724f1 re PR libstdc++/4548 (When reserving a string to become smaller, program crashes)
2001-11-21  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/4548
	* include/bits/basic_string.tcc (basic_string::reserve):  Never shrink
	below the current size.
	* testsuite/21_strings/capacity.cc (test02):  Add test.

From-SVN: r47246
2001-11-21 22:04:53 +00:00
Douglas B Rupp ae1139f97d cppfiles.c (STAT_SIZE_TOO_BIG): Define.
* cppfiles.c (STAT_SIZE_TOO_BIG): Define.
	(read_include_file): Use STAT_SIZE_TOO_BIG.

From-SVN: r47245
2001-11-21 17:03:27 -05:00
Douglas B Rupp ca47c89e55 cppinit.c (INO_T_COPY): Define.
* cppinit.c (INO_T_COPY): Define.
	(INO_T_EQ): Uppercase parameters.
	(append_include_chain): Use INO_T_COPY.

From-SVN: r47244
2001-11-21 16:55:36 -05:00
Richard Sandiford 9d083c8c16 * cfg.c: Fix typos and formatting in the introductory comment.
From-SVN: r47243
2001-11-21 16:02:09 +00:00
Jan Hubicka b9224c9422 profile.c (compute_branch_probabilites): Compute probabilities for entry/exit edges; estimate probabilities for zero counts.
* profile.c (compute_branch_probabilites):  Compute probabilities
	for entry/exit edges; estimate probabilities for zero counts.

From-SVN: r47242
2001-11-21 11:47:02 +00:00
Jakub Jelinek 1258ee8070 explow.c (probe_stack_range): Use LCT_NORMAL as second argument to emit_library_call.
* explow.c (probe_stack_range): Use LCT_NORMAL as second argument
	to emit_library_call.
	* function.c (expand_main_function, expand_function_start,
	expand_function_end): Likewise.
	* profile.c (output_func_start_profiler): Likewise.
	* stmt.c (expand_nl_goto_receivers): Use LCT_NORETURN as
	second argument to emit_library_call.
	* optabs.c (prepare_cmp_insn): Use LCT_CONST_MAKE_BLOCK
	as second argument to emit_library_call.
	* calls.c (emit_library_call): Update fn_type description.

From-SVN: r47241
2001-11-21 12:13:14 +01:00
Jakub Jelinek 83dea45d59 c-decl.c (c_expand_deferred_function): Only call c_expand_body if fndecl is still DECL_INLINE and has DECL_RESULT.
* c-decl.c (c_expand_deferred_function): Only call c_expand_body
	if fndecl is still DECL_INLINE and has DECL_RESULT.

	* gcc.c-torture/compile/20011119-1.c: New test.
	* gcc.c-torture/compile/20011119-2.c: New test.

From-SVN: r47240
2001-11-21 12:09:01 +01:00
GCC Administrator a558c691e1 Daily bump.
From-SVN: r47235
2001-11-21 08:16:23 +00:00
Toon Moene 669350302a g77.texi: egcs was not a `@command'.
2001-11-21  Toon Moene  <toon@moene.indiv.nluug.nl>

	* g77.texi: egcs was not a `@command'.
	* invoke.texi: Ditto.
	* news.texi: Substitute `@command' for `@code'
	and `@option' for `@samp' where appropriate.

From-SVN: r47234
2001-11-21 06:30:50 +00:00
Kaveh R. Ghazi cd4c46f3de clipper.c (clipper_movstr): Avoid uninitialized warning.
* clipper.c (clipper_movstr): Avoid uninitialized warning.
	* i960.c (is_mask, legitimize_address): Likewise.
	* m88k.c (m88k_expand_prologue): Likewise.
	* m88k.md: Likewise.
	* mcore.c (emit_new_cond_insn): Likewise.
	* stormy16.c (xstormy16_emit_cbranch): Likewise.

From-SVN: r47233
2001-11-21 04:57:09 +00:00
Zack Weinberg f607bc57e3 config.gcc: Delete powerpcle-*-solaris2* stanza.
* config.gcc: Delete powerpcle-*-solaris2* stanza.
	* config/rs6000/eabi.asm, config/rs6000/rs6000.c,
	config/rs6000/rs6000.h, config/rs6000/rs6000.md,
	config/rs6000/sol-ci.asm, config/rs6000/sol-cn.asm,
	config/rs6000/sysv4.h, config/rs6000/t-ppccomm,
	config/rs6000/t-ppcos: Expunge all references to Solaris.

	* config/rs6000/sol-c0.c, config/rs6000/sol2.h: Delete.

	* config/rs6000/rs6000.md: Replace '%$' with '$' in all
	output templates.
	* config/rs6000/rs6000.h: Define DEFAULT_PCC_STRUCT_RETURN to 0,
	and change RETURN_IN_MEMORY to just check AGGREGATE_TYPE_P.

From-SVN: r47232
2001-11-21 02:57:16 +00:00
Kaveh R. Ghazi 533f5e0fbe sh.md: Avoid uninitialized warnings.
* sh.md: Avoid uninitialized warnings.
	* vax.c (vax_rtx_cost): Likewise.

From-SVN: r47231
2001-11-21 02:28:45 +00:00
David Edelsohn d6f99ca421 Add cmptf missed in patch.
From-SVN: r47230
2001-11-20 21:18:58 -05:00
David O'Brien b6458e8551 config.gcc: Add FreeBSD/PowerPC target.
2001-11-20  David O'Brien  <obrien@FreeBSD.org>
	* config.gcc: Add FreeBSD/PowerPC target.
	(powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
	powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
	powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
	powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
	powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
	powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add
	freebsd-spec.h to tm_file.
	(rs6000-*-lynxos*): Add lynx.h to tm_file.
	* config/freebsd.h: Tidy up.
	(USING_CONFIG_FREEBSD): Define.
	(FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG,
	FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC,
	FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h).
	(TARGET_HAS_F_SETLKW): Define.
	(ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine.
	* config/freebsd-spec.h: New file.
	* config/rs6000/freebsd.h: New file.
	* config/rs6000/rs6000.h (TARGET_VERSION): Do not define.
	* config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than
	USING_SVR4_H to know when to turn on ELF support.
	* config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef,
	define only if not already defined.
	Add FreeBSD support.
	* config/rs6000/aix.h (TARGET_VERSION): Define.
	* config/rs6000/beos.h: Likewise.
	* config/rs6000/darwin.h: Likewise.
	* config/rs6000/mach.h: Likewise.
	* config/rs6000/lynx.h (TARGET_VERSION): Likewise.
	Don't include lynx.h directly.

Approved by:  Geoff Keating <geoffk@geoffk.org>
              Message-Id: <200111192053.MAA11977@geoffk.org>
			  Stan Shebs <shebs@apple.com>  (Darwin bits)
              Message-ID: <3BF95F29.794BC924@apple.com>

From-SVN: r47229
2001-11-21 02:06:45 +00:00
Aldy Hernandez 00b960c7ad rs6000.c (direct_return): Check if we are saving altivec registers.
* rs6000.c (direct_return): Check if we are saving altivec
	registers.
	(first_altivec_reg_to_save): New.
	Updated stack frame layout comments.
	(rs6000_stack_info): Calculate altivec register save size.
	Save link register if we saved some altivec registers.
	(rs6000_stack_info): Align save size to 16 if altivec abi or
	abi_darwin.
	(rs6000_stack_info): Calculate altivec register offsets.
	(rs6000_stack_info): Add altivec info to save_size.
	(debug_stack_info): Add altivec debug info.
	(rs6000_emit_prologue): Save altivec registers and vrsave.
	(compute_vrsave_mask): New.
	(altivec_expand_builtin): Remove unused variables.
	(rs6000_parse_abi_options): Add static qualifier.
	(rs6000_expand_builtin): Remove unused parameters.
	(altivec_expand_builtin): Cast bdesc_2arg to get rid of warning.
	(altivec_init_builtins): Same.
	(is_altivec_return_reg): New.
	(vrsave_operation): New.
	(ALTIVEC_REG_BIT): New.
	(generate_set_vrsave): New.

	* rs6000.md (get_vrsave): New.
	(set_vrsave): New.
	(*set_vrsave_internal): New.

	* rs6000.h (rs6000_stack): Add first_altivec_reg_save,
	altivec_save_offset, vrsave_save_offset, altive_size, vrsave_size,
	altivec_padding_size, vrsave_mask.
	(TOTAL_ALTIVEC_REGS): New.
	(EPILOGUE_USES): Add VRSAVE_REGNO.

From-SVN: r47228
2001-11-21 01:04:44 +00:00
Jeff Law 1b735a5700 unroll.c (copy_loop_body): Update LABEL_NUSES for the exit label as necessary.
* unroll.c (copy_loop_body): Update LABEL_NUSES for the
        exit label as necessary.

From-SVN: r47227
2001-11-20 17:50:56 -07:00
Brad Kaiser 92a2114171 reload1.c (elimination_effects): Use function_invariant_p instead of CONSTANT_P when...
* reload1.c (elimination_effects): Use function_invariant_p
        instead of CONSTANT_P when considering register equivalences.

From-SVN: r47226
2001-11-20 16:04:47 -08:00
Aldy Hernandez da6ccf8361 altivec-1.c: Fix typo.
2001-11-17  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/altivec-1.c: Fix typo.

From-SVN: r47225
2001-11-20 21:15:52 +00:00
David O'Brien b7e0196a08 Add the part of the freebsd-ppc patch that was rejected by patch(1).
From-SVN: r47224
2001-11-20 19:49:28 +00:00
David O'Brien b91da81fbd config.gcc: Add FreeBSD/PowerPC target.
2001-11-20  David O'Brien  <obrien@FreeBSD.org>
	* config.gcc: Add FreeBSD/PowerPC target.
	(powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
	powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
	powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
	powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
	powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
	powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*): Add
	freebsd-spec.h to tm_file.
	(rs6000-*-lynxos*): Add lynx.h to tm_file.
	* config/freebsd.h: Tidy up.
	(USING_CONFIG_FREEBSD): Define.
	(FBSD_SWITCH_TAKES_ARG, FBSD_WORD_SWITCH_TAKES_ARG,
	FBSD_CPP_PREDEFINES, FBSD_CPP_SPEC, FBSD_STARTFILE_SPEC,
	FBSD_ENDFILE_SPEC, FBSD_LIB_SPEC): Remove (moved to freebsd-spec.h).
	(TARGET_HAS_F_SETLKW): Define.
	(ASM_OUTPUT_IDENT): Delete, the elfos.h definition is fine.
	* config/freebsd-spec.h: New file.
	* config/rs6000/freebsd.h: New file.
	* config/rs6000/rs6000.h (TARGET_VERSION): Do not define.
	* config/rs6000/rs6000.c: Test for USING_ELFOS_H rather than
	USING_SVR4_H to know when to turn on ELF support.
	* config/rs6000/sysv4.h (TARGET_VERSION, CPP_PREDEFINES): Don't undef,
	define only if not already defined.
	Add FreeBSD support.
	* config/rs6000/aix.h (TARGET_VERSION): Define.
	* config/rs6000/beos.h: Likewise.
	* config/rs6000/darwin.h: Likewise.
	* config/rs6000/mach.h: Likewise.
	* config/rs6000/lynx.h (TARGET_VERSION): Likewise.
	Don't include lynx.h directly.

Approved by:  Geoff Keating <geoffk@geoffk.org>
              Message-Id: <200111192053.MAA11977@geoffk.org>
			  Stan Shebs <shebs@apple.com>  (Darwin bits)
              Message-ID: <3BF95F29.794BC924@apple.com>

From-SVN: r47223
2001-11-20 19:43:28 +00:00
Graham Stott 5d393c8e17 unwind-dw2-fde.c (__deregister_frame_info_bases): Fix lossage in last change return OB.
* unwind-dw2-fde.c (__deregister_frame_info_bases):
	Fix lossage in last change return OB.

From-SVN: r47222
2001-11-20 18:14:19 +00:00
Roger Sayle 9c2fcf0966 parse.h (java_expand_switch): Remove old prototype.
2001-11-18  Roger Sayle <roger@eyesopen.com>

	* parse.h (java_expand_switch): Remove old prototype.

From-SVN: r47221
2001-11-20 18:02:25 +00:00
Douglas B Rupp a6e50ecbf7 xm-vms.h (_POSIX_EXIT): Define.
* config/alpha/xm-vms.h (_POSIX_EXIT): Define.
	Remove unneeded exit related macros.

From-SVN: r47219
2001-11-20 12:07:08 -05:00
David Edelsohn 06f4e019e2 rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.
* rs6000.c (rs6000_emit_eh_toc_restore): Remove ALIGN parm.

        * rs6000.c (rs6000_emit_move): Add TFmode case.
        * sysv4.h (MASK_LONG_DOUBLE_128, TARGET_LONG_DOUBLE_128,
        LONG_DOUBLE_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE,
        LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Move from here...
        * rs6000.h: ... to here.
        * rs6000.md (movtf, extenddftf2, extendsftf2, trunctfdf2,
        trunctfsf2, floatditf2, floatsitf2, fix_trunctfdi2,
        fix_trunctfsi2, negtf2, abstf2, nabstf2): New patterns.

From-SVN: r47218
2001-11-20 11:13:07 -05:00
Joseph Myers ca34930415 * gcc.dg/c90-intconst-1.c, gcc.dg/c99-intconst-1.c: New tests.
From-SVN: r47215
2001-11-20 12:29:30 +00:00
Nick Clifton 8f7a5cdc99 Treat XScale as ARM
From-SVN: r47214
2001-11-20 12:00:10 +00:00
Richard Kenner 916f389ba0 * emit-rtl.c (get_mem_attrs): Fix typo.
From-SVN: r47213
2001-11-20 06:50:23 -05:00
Jakub Jelinek 2dbd62fff2 c-lang.c (finish_file): Backout 2001-11-16 changes...
* c-lang.c (finish_file): Backout 2001-11-16
	changes, instead set DECL_DEFER_OUTPUT for static inline functions
	before calling c_expand_deferred_function.

From-SVN: r47212
2001-11-20 12:10:16 +01:00
Jakub Jelinek 55fae1a97f unwind-dw2-fde.c (__register_frame_info_bases, [...]): Don't register empty .eh_frame sections.
* unwind-dw2-fde.c (__register_frame_info_bases, __register_frame):
	Don't register empty .eh_frame sections.
	(__deregister_frame_info_bases, __deregister_frame): Don't
	unregister them either.

From-SVN: r47211
2001-11-20 12:08:17 +01:00
Geoffrey Keating 5f0e9ea278 configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.
* configure.in (HAVE_AS_GDWARF2_DEBUG_FLAG): Define.
	(HAVE_AS_GSTABS_DEBUG_FLAG): Define.
	* configure: Regenerate.
	* config.in: Add dummy definitions of new flags.
	* toplev.c (PREFERRED_DEBUGGING_TYPE): Move definition to...
	* defaults.h (PREFERRED_DEBUGGING_TYPE): ... here.
	* gcc.c (ASM_DEBUG_SPEC): New macro.
	(asm_debug): New static variable.
	(default_compilers): Add asm_debug when assembling from
	user input.
	(static_specs): Add asm_debug.

From-SVN: r47210
2001-11-20 10:16:09 +00:00
Mark Mitchell 2d2e8123b5 re PR c++/3637 (Internal compiler error in finish_member_declaration)
PR c++/3637
	* call.c (non_reference): Add documentation.
	(convert_class_to_reference): Do not strip reference types
	from conversion operators.
	(maybe_handle_ref_bind): Simplify.
	(compare_ics): Correct handling of references.

From-SVN: r47209
2001-11-20 09:00:33 +00:00
GCC Administrator 30cfa1bb50 Daily bump.
From-SVN: r47206
2001-11-20 08:16:18 +00:00
Loren J. Rittle a5f4f16cdc * config.gcc (*-*-freebsd*): Remove configuration block.
From-SVN: r47205
2001-11-20 07:36:29 +00:00
Loren J. Rittle d8140df691 configure.in: Setup ability to run ./stage[1234]/xgcc in fixinc *as if* it were a proper lang...
bootstrap/4422
	* configure.in: Setup ability to run ./stage[1234]/xgcc in
	fixinc *as if* it were a proper lang subdirectory.
	* configure: Rebuilt.

From-SVN: r47204
2001-11-20 06:38:53 +00:00
Loren J. Rittle c185387d50 * config/freebsd.h: Remove DEFAULT_VTABLE_THUNKS (again).
From-SVN: r47203
2001-11-20 05:49:35 +00:00
Tom Tromey 8051c3d633 verify.cc (_Jv_BytecodeVerifier::branch_prepass): Uses two operand bytes, not one.
* verify.cc (_Jv_BytecodeVerifier::branch_prepass) [op_iinc]:
	Uses two operand bytes, not one.
	[op_arraylength]: Has no operands in bytecode.
	(_Jv_BytecodeVerifier::push_jump): Fixed call to
	check_no_uninitialized_objects.
	(_Jv_BytecodeVerifier::push_exception_jump): Likewise.
	(_Jv_BytecodeVerifier::handle_ret_insn): Likewise.
	(_Jv_BytecodeVerifier::handle_jsr_insn): Likewise.

From-SVN: r47202
2001-11-20 05:16:17 +00:00
Mark Mitchell 78a40378a9 re PR c++/4629 (non-constant `sizeof (void*)' cannot be used as template argument)
* dump.c (dump_op): New function.
	(cp_dump_tree): Dump CLASSTYPE_TEMPLATE_SPECIALIZATION.  Use
	dump_op.  Dump DECL_MUTABLE, access and staticness for VAR_DECLs.
	DECL_PURE_VIRTUAL_P, DECL_VIRTUAL_P,

	PR4629
	* semantics.c (finish_sizeof): Make sure that expression created
	while processing a template do not have a type.
	(finish_alignof): Likewise.
	* typeck.c (c_sizeof): Likewise.
	(expr_sizeof): Likewise.

From-SVN: r47201
2001-11-20 05:09:34 +00:00
Loren J. Rittle 34f62c3635 * Make-lang.in: Complete ``Build g77.1 in $(srcdir)''.
From-SVN: r47198
2001-11-20 04:39:13 +00:00
Kaveh R. Ghazi 79663a627b * 1750a.md: Don't use hex format for a const_int.
From-SVN: r47197
2001-11-20 04:37:12 +00:00