Commit Graph

53707 Commits

Author SHA1 Message Date
Arnaud Charlet 8b7ebc31f2 * MAINTAINERS (Various maintainers: Ada front end): Added myself.
From-SVN: r72695
2003-10-20 09:45:06 +02:00
Mark Mitchell 81f9037c86 config.gcc: Add support for arm926ejs, arm1026ejs, arm1136js, arm1136jfs, and armv6j.
* config.gcc: Add support for arm926ejs, arm1026ejs, arm1136js,
	arm1136jfs, and armv6j.
	* config/arm/arm.c (FL_ARCH6J): New macro.
	(FL_VFPV2): Likewise.
	(all_cores): Add entries for arm926ejs, arm1026ejs, arm1136js,
	and arm1136jfs.
	(all_architectures): Add entry for armv6j.
	(arm_override_options): Add entries for arm926ejs, arm1026ejs,
	arm1136js, and arm1136jfs.
	* config/arm/arm.h (TARGET_CPU_arm926ej_s): New macro.
	(TARGET_CPU_arm1026ej_s): Likewise.
	(TARGET_CPU_arm1136j_s): Likewise.
	(TARGET_CPU_arm1136jf_s): Likewise.
	* doc/invoke.texi: Document new ARM cores and architecture
	variants.

From-SVN: r72694
2003-10-20 06:27:32 +00:00
Eric Botcazou 5a13d72876 builtins-18.c: Wrap C99 tests with HAVE_C99_RUNTIME.
* gcc.dg/builtins-18.c: Wrap C99 tests with HAVE_C99_RUNTIME.
	Define HAVE_C99_RUNTIME except on Solaris.
	* gcc.dg/builtins-20.c: Likewise.

From-SVN: r72693
2003-10-20 06:15:23 +00:00
Andreas Tobler 0df6970d65 ffi_darwin.c (ffi_prep_args): Declare bytes again.
2003-10-19  Andreas Tobler  <a.tobler@schweiz.ch>

        * src/powerpc/ffi_darwin.c (ffi_prep_args): Declare bytes again.
        Used when FFI_DEBUG = 1.

From-SVN: r72691
2003-10-20 06:25:32 +02:00
GCC Administrator 31762a1ce7 Daily bump.
From-SVN: r72689
2003-10-20 00:16:07 +00:00
Joseph Myers afe1910cad * MAINTAINERS: Update my email address.
From-SVN: r72687
2003-10-20 00:31:00 +01:00
Zdenek Dvorak fca9dc0058 Makefile.in (toplev.o): Add value-prof.h dependency.
* Makefile.in (toplev.o): Add value-prof.h dependency.
	(value-prof.o): Add REGS_H dependency.
	* common.opt (fprofile-values, fvpt): New.
	* flags.h (flag_value_profile_transformations): Declare.
	* opts.c (common_handle_option): Handle -fprofile_values and
	-fvpt.
	* profile.c (branch_prob): Don't remove death notes here.
	* timevar.def (TV_VPT): New.
	* value-prof.c: Include regs.h.
	(insn_divmod_values_to_profile, gen_divmod_fixed_value, gen_mod_pow2,
	gen_mod_subtract, divmod_fixed_value_transform,mod_pow2_value_transform,
	mod_subtract_transform, value_profile_transformations): New.
	(insn_values_to_profile): Call insn_divmod_values_to_profile.
	(find_values_to_profile): Add dumps.
	* value-prof.h (value_profile_transformations): Declare.
	* toplev.c: Include value-prof.h.
	(rest_of_handle_value_profile_transformations): New.
	(enum dump_file_index): Add DFI_vpt.
	(dump_file): Add vpt dump.
	(flag_value_profile_transformations): New.
	(lang_independent_options): Add flag_profile_values and
	flag_value_profile_transformations.
	(rest_of_compilation): Call
	rest_of_handle_value_profile_transformations.
	(process_options): Let -fvpt imply -fprofile-values.
	* doc/invoke.texi (-fvpt): Document.

From-SVN: r72685
2003-10-19 21:37:32 +00:00
David Edelsohn 47395a24e6 re PR libstdc++/12506 (build failure of libstdc++ due to Makefile error)
PR other/12506
        * configure.host (aix4,aix*): Define os_include_dir to os/generic.

From-SVN: r72684
2003-10-19 16:58:22 -04:00
Zdenek Dvorak 29ee7b16fe * gcc.dg/old-style-asm-1.c: Use scan-assembler-times.
From-SVN: r72682
2003-10-19 18:43:12 +00:00
Jan Hubicka cb0bc26338 re PR rtl-optimization/12612 (ICE when using log function with -O3 -ffast-math)
* i386.c (print_reg): Do not abort on certain registers.

	PR optimization/12612
	* reg-stack.c (subst_stack_regs_pat):  Use st(1) for clobbers.
	* i386.md (fpatan, fyl2x, fscale patterns and expanders): Use
	match_scratch; avoid bogus paralles.

	PR target/12674
	* i386.c (ix86_function_regparm): Disable implicit register passing
	conventions when profiling.

From-SVN: r72681
2003-10-19 18:00:12 +00:00
Eric Botcazou 707e58b1a7 re PR rtl-optimization/8178 (__builtin_ffs broken with -march=k6)
PR optimization/8178
	* config/i386/i386.md (*movsi_zero): Delete.
	(*ffs_no_cmove): Use ix86_expand_clear to zero the third operand.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r72680
2003-10-19 17:53:11 +00:00
Andreas Tobler 8f4c7b679c locale.cc (locale::_S_initialize): Re-apply workaround a confusion of the use of the gthr API when...
2003-10-18  Andreas Tobler  <a.tobler@schweiz.ch>

	* src/locale.cc (locale::_S_initialize): Re-apply workaround a
	confusion of the use of the gthr API when __gthread_active_p()
	returns true.

From-SVN: r72679
2003-10-19 17:43:44 +00:00
Richard Sandiford f74c81d55a Fix typo.
From-SVN: r72678
2003-10-19 11:44:42 +00:00
Richard Henderson 64bb2e1dd4 alpha.c (fix_operator): New.
* config/alpha/alpha.c (fix_operator): New.
        (divmod_operator): Tidy.
        (alpha_emit_xfloating_cvt): Handle UNSIGNED_FIX.
        * config/alpha/alpha.h (FIXUNS_TRUNC_LIKE_FIX_TRUNC): Remove.
        (PREDICATE_CODES): Update.
        * config/alpha/alpha.md (fix_truncdfsi_ieee): Use match_operator.
        (fix_truncdfsi_internal, fix_truncdfdi_ieee): Likewise.
        (fix_truncsfsi_ieee, fix_truncsfsi_internal): Likewise.
        (fix_truncsfdi_ieee): Likewise.
        (fix_truncdfdi2, fix_truncsfdi2): Turn into define_expand.
        (fixuns_truncdfdi2, fixuns_truncsfdi2, fixuns_trunctfdi2): New.
        * config/alpha/alpha-protos.h: Update.

From-SVN: r72677
2003-10-19 04:10:59 -07:00
Richard Sandiford 91999e1db8 mips.h (INITIALIZE_TRAMPOLINE): Simplify.
* config/mips/mips.h (INITIALIZE_TRAMPOLINE): Simplify.
	* config/mips/mips.c (mips_load_got): Assume Pmode == ptr_mode.
	* config/mips/mips.md (extendsidi2, *extendsidi2): Merge. Don't accept
	contant operands.

From-SVN: r72671
2003-10-19 07:52:10 +00:00
Kazu Hirata 9c2d4260b3 extend.texi: Fix typos.
* doc/extend.texi: Fix typos.
	* doc/invoke.texi: Likewise.

From-SVN: r72668
2003-10-19 03:22:01 +00:00
Nicolas Pitre 591af2189d arm.c (arm_override_options): Use arm_tune_xscale for XScale optimizations not arm_arch_xscale.
* config/arm/arm.c (arm_override_options): Use arm_tune_xscale for
XScale optimizations not arm_arch_xscale.
* config/arm/arm.h (CONSTANT_ALIGNMENT_FACTOR, MOVE_RATIO): Likewise.

From-SVN: r72667
2003-10-19 01:01:46 +00:00
GCC Administrator 72f1978f42 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r72665.2
2003-10-19 00:16:10 +00:00
GCC Administrator 2f81172dc8 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r72664.2
2003-10-19 00:16:07 +00:00
Ulrich Weigand ac32b25eb8 s390-protos.h (shift_count_operand): Add prototype.
* config/s390/s390-protos.h (shift_count_operand): Add prototype.
	* config/s390/s390.c (shift_count_operand): New function.
	(s390_extra_constraint): Use it to implement 'Y' constraint.
	(print_shift_count_operand): New function.
	(print_operand): Use it to implement '%Y'.
	* config/s390/s390.h (EXTRA_ADDRESS_CONSTRAINT): Add 'Y' constraint.
	(PREDICATE_CODES): Add shift_count_operand.
	* config/s390/s390.md ("rotldi3"): Merge alternatives,
	using "shift_count_operand" predicate and "Y" constraint,
	and "%Y" to output the combined shift count.
	("rotlsi3"): Likewise.
	("ashldi3", "*ashldi3_31", "*ashldi3_64"): Likewise.
	("ashrdi3", "*ashrdi3_31", "*ashrdi3_64", "*ashrdi3_cc_31",
	"*ashrdi3_cc_64", "*ashrdi3_cconly_31", "*ashrdi3_cconly_64"): Likewise.
	("ashlsi3", "ashrsi3", "*ashrsi3_cc", "*ashrsi3_cconly"): Likewise.
	("lshrdi3", "*lshrdi3_31", "*lshrdi3_64"): Likewise.
	("lshrsi3"): Likewise.

From-SVN: r72661
2003-10-18 22:24:37 +00:00
Gunther Nikl 3f12a2e0b4 m68k.c (m68k_output_function_epilogue): Add missing argument to asm_fprintf statement.
* config/m68k/m68k.c (m68k_output_function_epilogue): Add missing
	argument to asm_fprintf statement.

From-SVN: r72656
2003-10-18 22:46:41 +02:00
Jan Hubicka 99ceae26e8 * integrate.c (copy_decl_for_inlining): Revert previous patch.
From-SVN: r72653
2003-10-18 20:32:57 +00:00
Fariborz Jahanian 6074164e3e Separate TARGET_POWERPC64 patterns for TARGET_64BIT or TARGET_32BIT.
Approved by David Edehlson.

From-SVN: r72651
2003-10-18 20:03:35 +00:00
Fariborz Jahanian 683bdff7d5 Separate TARGET_POWERPC64 patterns for TARGET_64BIT or TARGET_32BIT.
Approved by David Edelsohn.

From-SVN: r72650
2003-10-18 20:02:24 +00:00
Alexandre Oliva ad7e39caee final.c (final_scan_insn): Run FINAL_PRESCAN_INSNS on asm insns as well.
* final.c (final_scan_insn): Run FINAL_PRESCAN_INSNS on asm insns
as well.

From-SVN: r72649
2003-10-18 19:13:04 +00:00
Richard Sandiford e1de156021 rtl.h (rtl_size): Declare.
* rtl.h (rtl_size): Declare.
	(rtunion): Remove rtwint.
	(rtx_def): Replace 'fld' with a union of an rtunion or a HOST_WIDE_INT.
	(RTX_HDR_SIZE, RTX_SIZE): New macros.
	(RTL_CHECK1): Adjust for new rtx_def layout.
	(RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2): Likewise.
	(XWINT, XCWINT): Likewise.  Access the rtx structure directly.
	(X0WINT): Remove.
	(X0ANY): New macro.
	* rtl.def: Adjust comments for new rtx_def layout.
	* ggc.h (ggc_alloc_rtx): Take the rtx code as argument, not the
	number of slots.
	* rtl.c (rtx_size): New array.
	(rtx_alloc): Adjust call to ggc_alloc_rtx.  Use RTX_HDR_SIZE.
	(copy_rtx): Use RTX_HDR_SIZE.  Adjust for new rtx_def layout.
	(shallow_copy_rtx): Adjust call to ggc_alloc_rtx.  Use RTX_SIZE.
	* integrate.c (copy_rtx_and_substitute): Use X0ANY to copy '0' fields.
	* emit-rtl.c (copy_most_rtx): Likewise.
	(copy_rtx_if_shared): Use RTX_SIZE.
	(copy_insn_1): Use RTX_HDR_SIZE.  Adjust for new rtx_def layout.
	* gengenrtl.c (gendef): Adjust ggc_alloc_rtx call.  Use RTX_HDR_SIZE.
	* gengtype.c (write_rtx_next): Use RTX_HDR_SIZE.
	(adjust_field_rtx_def): Expect "rtx_def" to be a union rather than
	an array.  Adjust output for new rtx_def layout.
	* ggc-page.c (RTL_SIZE): Use RTX_HDR_SIZE.
	* reload1.c (eliminate_regs): Use RTX_SIZE.
	* rtlanal.c (loc_mentioned_in_p): Adjust for new rtx_def layout.
	* gdbinit.in (pi): Likewise.

From-SVN: r72647
2003-10-18 18:45:16 +00:00
Jan Hubicka 8a2b3848ff * integrate.c (copy_decl_for_inlining): Fix copying of copies.
From-SVN: r72646
2003-10-18 18:36:05 +00:00
Roger Sayle dafee8e307 libgcc.texi: Group multi-word types...
* libgcc.texi: Group multi-word types, such as "long double" and
	"unsigned int", using braces in @deftypefn and @deftypefnx nodes.
	Document __unord?f2 as returning a non-zero value, not just one.

From-SVN: r72645
2003-10-18 18:17:23 +00:00
Kriang Lerdsuwanakij 5f04800c28 re PR c++/12495 (ICE in cp/typeck.c:907)
PR c++/12495
	* pt.c (lookup_template_class): Handle when current_class_type
	is a local class.

	* g++.dg/template/crash21.C: New test.

From-SVN: r72643
2003-10-18 17:35:47 +00:00
Hans-Peter Nilsson 3a198a72d2 t-mmix (CRTSTUFF_T_CFLAGS): Define.
* config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Define.
	($(T)crti.o, $(T)crtn.o): Pass CRTSTUFF_T_CFLAGS here too.

From-SVN: r72641
2003-10-18 16:27:12 +00:00
Eric Botcazou a74f24872a k6.md (k6_alux): Use the 'mode' attribute instead of match_operand.
* config/i386/k6.md (k6_alux): Use the 'mode' attribute instead of
	match_operand.

From-SVN: r72639
2003-10-18 14:55:00 +00:00
Michael Koch 807a4cfd73 Connection.java, [...]: Merged copyright text from classpath to make it possible to merge the classes.
2003-10-18  Michael Koch  <konqueror@gmx.de>

	* gnu/java/net/protocol/file/Connection.java,
	gnu/java/net/protocol/file/Handler.java,
	gnu/java/net/protocol/http/Connection.java,
	gnu/java/net/protocol/http/Handler.java,
	gnu/java/net/protocol/jar/Connection.java,
	gnu/java/net/protocol/jar/Handler.java:
	Merged copyright text from classpath to make
	it possible to merge the classes.

From-SVN: r72638
2003-10-18 12:24:57 +00:00
Mark Wielaard 490ee176e1 Reported by M.Negovanovic
2003-10-18  Mark Wielaard  <mark@klomp.org>

	Reported by M.Negovanovic
	* java/beans/IndexedPropertyDescriptor.java
	(IndexedPropertyDescriptor): this.setIndex = setIndex, not getIndex.

From-SVN: r72637
2003-10-18 09:00:41 +00:00
Eric Botcazou cde85594f0 sparc.c (function_arg_record_value_1): New fourth parameter packed_p.
* config/sparc/sparc.c (function_arg_record_value_1): New fourth
	parameter packed_p.  Search for a DECL_PACKED field only if
	packed_p is false.  Pass packed_p recursively.
	(function_arg_record_value_2): Likewise.
	(function_arg_record_value): Update calls to
	function_arg_record_value_1 and function_arg_record_value_2.

From-SVN: r72636
2003-10-18 07:39:56 +00:00
Eric Botcazou 9d8de1de89 cse.c (cse_insn): Check that the tentative replacement was successfully forced to memory before...
* cse.c (cse_insn) [src_folded]: Check that the tentative replacement
	was successfully forced to memory before using the result.

From-SVN: r72635
2003-10-18 07:32:08 +00:00
Eric Botcazou 67e5300955 re PR rtl-optimization/8178 (__builtin_ffs broken with -march=k6)
PR optimization/8178
	* config/i386/i386.md (*movsi_zero): New insn to set
	a register to zero on TARGET_USE_MOV0 targets.

From-SVN: r72634
2003-10-18 07:24:59 +00:00
Kelley Cook fca086c1ab Makefile.in (Makefile): Depend on the all Make-lang.in fragments.
2003-10-17  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.in (Makefile): Depend on the all Make-lang.in fragments.
	(POSTSTAGE1_FLAGS_TO_PASS): Pass down MAKEINFO and MAKEINFOFLAGS.

From-SVN: r72633
2003-10-18 05:23:22 +00:00
David Edelsohn 2206e78359 * doc/invoke.texi (gcse-las): Fix typo.
From-SVN: r72631
2003-10-17 20:22:22 -04:00
GCC Administrator 66e2911fea Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r72629.2
2003-10-18 00:16:11 +00:00
GCC Administrator f2eec9f1f8 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r72628.2
2003-10-18 00:16:07 +00:00
Andrew Pinski a755e3c51c install.texi: Remove first part of the sentence for zsh not working.
2003-10-17  Andrew Pinski  <pinskia@physics.uc.edu>

        * doc/install.texi: Remove first part of the sentence for
        zsh not working.  Change gcc to GCC.

From-SVN: r72626
2003-10-17 15:54:54 -07:00
Andrew Pinski 1b49d06f9c re PR bootstrap/12546 (Missing argz.h causes the build to fail on FreeBSD 4.8)
2003-10-17  Andrew Pinski  <pinskia@physics.uc.edu>

       PR bootstrap/12546
       * doc/install.texi: Document that zsh does not work when
       configuring gcc.

From-SVN: r72625
2003-10-17 15:36:57 -07:00
Nathanael Nerode 8a765788da * config/ptx4.h: Switch to DWARF 2; update comments.
From-SVN: r72624
2003-10-17 22:06:04 +00:00
David Edelsohn eb0c90bd38 * Add PRs to Altivec ChangeLog entry.
From-SVN: r72622
2003-10-17 16:45:19 -04:00
Segher Boessenkool b4a62fa044 altivec.md ("altivec_dst", [...]): Use a memory_operand.
2003-10-17  Segher Boessenkool  <boessen@de.ibm.com>
            Hartmut Penner  <hpenner@de.ibm.com>

        * config/rs6000/altivec.md ("altivec_dst", "altivec_dstt",
        "altivec_dstst", "altivec_dststt", "altivec_lvsl", "altivec_lvsr",
        "altivec_lvebx", "altivec_lvehx", "altivec_lvewx", "altivec_lvxl",
        "altivec_lvx", "altivec_stvx", "altivec_stvxl", "altivec_stvebx",
        "altivec_stvehx", "altivec_stvewx"): Use a memory_operand.
        * config/rs6000/rs6000.c (altivec_expand_lv_builtin): New function.
        (altivec_expand_stv_builtin): Adjust for the memory_operand.
        (altivec_expand_builtin): Call altivec_expand_lv_builtin.
        (altivec_init_builtins): Use `long int' for memory offsets.

Co-Authored-By: Hartmut Penner <hpenner@de.ibm.com>

From-SVN: r72621
2003-10-17 16:20:37 -04:00
Mohan Embar ef050c9e23 win32.cc: (_Jv_pipe) Implemented.
* win32.cc: (_Jv_pipe) Implemented.
	* gnu/java/nio/natPipeImpl.cc: (nativeInit) Use
	_Jv_pipe instead of ::pipe.
	* include/posix.h: (_Jv_pipe) New inline.
	* include/win32.h: (_Jv_pipe) New declaration.

From-SVN: r72616
2003-10-17 18:44:42 +00:00
Jan Hubicka 7260e9a073 opts.c (common_handle_option): Handle OPT_fweb
* opts.c  (common_handle_option): Handle OPT_fweb
	* invoke.texi (-fweb): Add missing parts of documentation.

From-SVN: r72614
2003-10-17 18:24:41 +00:00
Rainer Orth b8557e37d5 linux.h (FUNCTION_NAME_ALREADY_DECLARED): Undef before redefinition.
* config/mips/linux.h (FUNCTION_NAME_ALREADY_DECLARED): Undef
	before redefinition.

From-SVN: r72613
2003-10-17 16:55:56 +00:00
Mostafa Hagog f5f2e3cd9b common.opt: Add description of the new -fgcse-las flag.
2003-10-17  Mostafa Hagog  <mustafa@il.ibm.com>

	* common.opt: Add description of the new -fgcse-las flag.
	* flags.h (flag_gcse_las): Declaration of global flag_gcse_las.
	* gcse.c (hash_scan_set): Handle the case of store expression and
	insert the memory expression to the hash table, this way we make it
	possible to discover redundant loads after stores and remove them.
	(pre_insert_copy_insn): moved the call to update_ld_motion_stores,
	to pre_insert_copies, it is not the correct place to call it after
	adding stores to be in the available expression hash table.
	(pre_insert_copies): Added the call to update_ld_motion_stores when
	one or more copies were inserted.
	* opts.c (common_handle_option): Handle the -fgcse-las flag.
	* toplev.c (flag_gcse_las): Initialization of flag_gcse_las.

	* doc/invoke.tex: Document new -fgcse-las flag.

From-SVN: r72612
2003-10-17 16:16:45 +00:00
Kriang Lerdsuwanakij 9579624e72 re PR c++/2513 (internal template template parameter causes ICE)
PR c++/2513
	* decl.c (make_typename_type): Use dependent_type_p.
	(make_unbound_class_template): Likewise.
	* pt.c (instantiate_class_template): Increment
	processing_template_decl during substitution of template friend
	function.  Preincrement processing_template_decl rather than
	postincrement.
	(get_mostly_instantiated_function_type): Increment
	processing_template_decl during partial substitution of function
	type.

	* g++.dg/template/typename5.C: New test.

From-SVN: r72611
2003-10-17 15:41:46 +00:00