OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years ago * MAINTAINERS (Various maintainers: Ada front end): Added myself.
charlet [Mon, 20 Oct 2003 07:45:06 +0000 (07:45 +0000)]
* MAINTAINERS (Various maintainers: Ada front end): Added myself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72695 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config.gcc: Add support for arm926ejs, arm1026ejs, arm1136js,
mmitchel [Mon, 20 Oct 2003 06:27:32 +0000 (06:27 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72694 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/builtins-18.c: Wrap C99 tests with HAVE_C99_RUNTIME.
ebotcazou [Mon, 20 Oct 2003 06:15:23 +0000 (06:15 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72693 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-19 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Mon, 20 Oct 2003 04:25:32 +0000 (04:25 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72691 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Mon, 20 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72689 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * MAINTAINERS: Update my email address.
jsm28 [Sun, 19 Oct 2003 23:31:00 +0000 (23:31 +0000)]
* MAINTAINERS: Update my email address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72687 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.in (toplev.o): Add value-prof.h dependency.
rakdver [Sun, 19 Oct 2003 21:37:32 +0000 (21:37 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72685 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR other/12506
dje [Sun, 19 Oct 2003 20:58:22 +0000 (20:58 +0000)]
    PR other/12506
        * configure.host (aix4,aix*): Define os_include_dir to os/generic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72684 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/old-style-asm-1.c: Use scan-assembler-times.
rakdver [Sun, 19 Oct 2003 18:43:12 +0000 (18:43 +0000)]
* gcc.dg/old-style-asm-1.c: Use scan-assembler-times.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72682 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * i386.c (print_reg): Do not abort on certain registers.
hubicka [Sun, 19 Oct 2003 18:00:12 +0000 (18:00 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72681 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR optimization/8178
ebotcazou [Sun, 19 Oct 2003 17:53:11 +0000 (17:53 +0000)]
PR optimization/8178
* config/i386/i386.md (*movsi_zero): Delete.
(*ffs_no_cmove): Use ix86_expand_clear to zero the third operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72680 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-18 Andreas Tobler <a.tobler@schweiz.ch>
bkoz [Sun, 19 Oct 2003 17:43:44 +0000 (17:43 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72679 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix typo.
rsandifo [Sun, 19 Oct 2003 11:44:42 +0000 (11:44 +0000)]
Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72678 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/alpha/alpha.c (fix_operator): New.
rth [Sun, 19 Oct 2003 11:10:59 +0000 (11:10 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72677 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/mips.h (INITIALIZE_TRAMPOLINE): Simplify.
rsandifo [Sun, 19 Oct 2003 07:52:10 +0000 (07:52 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72671 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * doc/extend.texi: Fix typos.
kazu [Sun, 19 Oct 2003 03:22:01 +0000 (03:22 +0000)]
* doc/extend.texi: Fix typos.
* doc/invoke.texi: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72668 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* config/arm/arm.c (arm_override_options): Use arm_tune_xscale for
nico [Sun, 19 Oct 2003 01:01:46 +0000 (01:01 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72667 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Sun, 19 Oct 2003 00:16:10 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72665 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Sun, 19 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72664 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/s390/s390-protos.h (shift_count_operand): Add prototype.
uweigand [Sat, 18 Oct 2003 22:24:37 +0000 (22:24 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72661 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/m68k/m68k.c (m68k_output_function_epilogue): Add missing
bernie [Sat, 18 Oct 2003 20:46:41 +0000 (20:46 +0000)]
* config/m68k/m68k.c (m68k_output_function_epilogue): Add missing
argument to asm_fprintf statement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72656 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * integrate.c (copy_decl_for_inlining): Revert previous patch.
hubicka [Sat, 18 Oct 2003 20:32:57 +0000 (20:32 +0000)]
* integrate.c (copy_decl_for_inlining): Revert previous patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72653 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoSeparate TARGET_POWERPC64 patterns for TARGET_64BIT or TARGET_32BIT.
fjahanian [Sat, 18 Oct 2003 20:03:35 +0000 (20:03 +0000)]
Separate TARGET_POWERPC64 patterns for TARGET_64BIT or TARGET_32BIT.
Approved by David Edehlson.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72651 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoSeparate TARGET_POWERPC64 patterns for TARGET_64BIT or TARGET_32BIT.
fjahanian [Sat, 18 Oct 2003 20:02:24 +0000 (20:02 +0000)]
Separate TARGET_POWERPC64 patterns for TARGET_64BIT or TARGET_32BIT.
Approved by David Edelsohn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72650 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* final.c (final_scan_insn): Run FINAL_PRESCAN_INSNS on asm insns
aoliva [Sat, 18 Oct 2003 19:13:04 +0000 (19:13 +0000)]
* final.c (final_scan_insn): Run FINAL_PRESCAN_INSNS on asm insns
as well.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72649 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * rtl.h (rtl_size): Declare.
rsandifo [Sat, 18 Oct 2003 18:45:16 +0000 (18:45 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72647 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * integrate.c (copy_decl_for_inlining): Fix copying of copies.
hubicka [Sat, 18 Oct 2003 18:36:05 +0000 (18:36 +0000)]
* integrate.c (copy_decl_for_inlining): Fix copying of copies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72646 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * libgcc.texi: Group multi-word types, such as "long double" and
sayle [Sat, 18 Oct 2003 18:17:23 +0000 (18:17 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72645 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/12495
lerdsuwa [Sat, 18 Oct 2003 17:35:47 +0000 (17:35 +0000)]
PR c++/12495
* pt.c (lookup_template_class): Handle when current_class_type
is a local class.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72643 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Define.
hp [Sat, 18 Oct 2003 16:27:12 +0000 (16:27 +0000)]
* config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Define.
($(T)crti.o, $(T)crtn.o): Pass CRTSTUFF_T_CFLAGS here too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72641 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/i386/k6.md (k6_alux): Use the 'mode' attribute instead of
ebotcazou [Sat, 18 Oct 2003 14:55:00 +0000 (14:55 +0000)]
* config/i386/k6.md (k6_alux): Use the 'mode' attribute instead of
match_operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72639 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-18 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 18 Oct 2003 12:24:57 +0000 (12:24 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72638 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-18 Mark Wielaard <mark@klomp.org>
mkoch [Sat, 18 Oct 2003 09:00:41 +0000 (09:00 +0000)]
2003-10-18  Mark Wielaard  <mark@klomp.org>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72637 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/sparc/sparc.c (function_arg_record_value_1): New fourth
ebotcazou [Sat, 18 Oct 2003 07:39:56 +0000 (07:39 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72636 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cse.c (cse_insn) [src_folded]: Check that the tentative replacement
ebotcazou [Sat, 18 Oct 2003 07:32:08 +0000 (07:32 +0000)]
* cse.c (cse_insn) [src_folded]: Check that the tentative replacement
was successfully forced to memory before using the result.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72635 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR optimization/8178
ebotcazou [Sat, 18 Oct 2003 07:24:59 +0000 (07:24 +0000)]
PR optimization/8178
* config/i386/i386.md (*movsi_zero): New insn to set
a register to zero on TARGET_USE_MOV0 targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72634 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-17 Kelley Cook <kcook@gcc.gnu.org>
kcook [Sat, 18 Oct 2003 05:23:22 +0000 (05:23 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72633 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * doc/invoke.texi (gcse-las): Fix typo.
dje [Sat, 18 Oct 2003 00:22:22 +0000 (00:22 +0000)]
    * doc/invoke.texi (gcse-las): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72631 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Sat, 18 Oct 2003 00:16:11 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72629 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Sat, 18 Oct 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72628 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-17 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 17 Oct 2003 22:54:54 +0000 (22:54 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72626 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-17 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 17 Oct 2003 22:36:57 +0000 (22:36 +0000)]
2003-10-17  Andrew Pinski  <pinskia@physics.uc.edu>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72625 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/ptx4.h: Switch to DWARF 2; update comments.
neroden [Fri, 17 Oct 2003 22:06:04 +0000 (22:06 +0000)]
* config/ptx4.h: Switch to DWARF 2; update comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72624 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* Add PRs to Altivec ChangeLog entry.
dje [Fri, 17 Oct 2003 20:45:19 +0000 (20:45 +0000)]
* Add PRs to Altivec ChangeLog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72622 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-17 Segher Boessenkool <boessen@de.ibm.com>
dje [Fri, 17 Oct 2003 20:20:37 +0000 (20:20 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72621 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * win32.cc: (_Jv_pipe) Implemented.
membar [Fri, 17 Oct 2003 18:44:42 +0000 (18:44 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72616 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * opts.c (common_handle_option): Handle OPT_fweb
hubicka [Fri, 17 Oct 2003 18:24:41 +0000 (18:24 +0000)]
* opts.c  (common_handle_option): Handle OPT_fweb
* invoke.texi (-fweb): Add missing parts of documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72614 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/linux.h (FUNCTION_NAME_ALREADY_DECLARED): Undef
ro [Fri, 17 Oct 2003 16:55:56 +0000 (16:55 +0000)]
* config/mips/linux.h (FUNCTION_NAME_ALREADY_DECLARED): Undef
before redefinition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72613 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-17 Mostafa Hagog <mustafa@il.ibm.com>
sayle [Fri, 17 Oct 2003 16:16:45 +0000 (16:16 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72612 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/2513
lerdsuwa [Fri, 17 Oct 2003 15:41:46 +0000 (15:41 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72611 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/crtsavres.asm: Remove powerpc64 code.
amodra [Fri, 17 Oct 2003 15:05:26 +0000 (15:05 +0000)]
* config/rs6000/crtsavres.asm: Remove powerpc64 code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72610 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/crtsavres.asm: Correct alignment of powerpc64 code.
amodra [Fri, 17 Oct 2003 15:01:58 +0000 (15:01 +0000)]
* config/rs6000/crtsavres.asm: Correct alignment of powerpc64 code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72609 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * include/private/gcconfig.h (ALIGNMENT <powerpc linux>): Remove
amodra [Fri, 17 Oct 2003 14:59:17 +0000 (14:59 +0000)]
* include/private/gcconfig.h (ALIGNMENT <powerpc linux>): Remove
unsure comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72608 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-17 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 17 Oct 2003 14:47:30 +0000 (14:47 +0000)]
2003-10-17  Benjamin Kosnik  <bkoz@redhat.com>

* src/Makefile.am: Add new files.
* src/Makefile.in: Regenerate.
* src/globals.cc: Split into..
* src/globals_io.cc: New.
* src/globals_locale.cc: New.
* src/ios.cc: Split into...
* src/ios_init.cc: New.
* src/ios_locale.cc: New.
* src/locale-inst.cc: Split into..
* src/wlocale-inst.cc: New.
* src/locale-misc-inst.cc: New.
* src/locale.cc, src/localename: Split into...
* src/locale_facets.cc: New.
* src/locale_init.cc: New.
* src/wstring-inst.cc: Add copyright info.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72607 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/arm/arm.c (use_return_insn): Not a single instruction, if
nathan [Fri, 17 Oct 2003 14:45:47 +0000 (14:45 +0000)]
* config/arm/arm.c (use_return_insn): Not a single instruction, if
there's a frame pointer.
(arm_output_epilogue): Protect stack pointer from being corrupted
on interrupt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72606 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * ifcvt.c (noce_try_addcc): Handle ifs with 'else' case.
uweigand [Fri, 17 Oct 2003 13:38:52 +0000 (13:38 +0000)]
* ifcvt.c (noce_try_addcc): Handle ifs with 'else' case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72603 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * combine.c (simplify_set): Do not clear out undobuf.other_insn
uweigand [Fri, 17 Oct 2003 13:36:48 +0000 (13:36 +0000)]
* combine.c (simplify_set): Do not clear out undobuf.other_insn
already set elsewhere.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72602 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/i386/i386.c (ix86_expand_prologue): Use
kcook [Fri, 17 Oct 2003 12:28:33 +0000 (12:28 +0000)]
* config/i386/i386.c (ix86_expand_prologue):  Use
gen_allocate_stack_worker.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72601 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config.gcc (mips-sgi-irix6*o32): Only enable use_collect2
ro [Fri, 17 Oct 2003 11:44:33 +0000 (11:44 +0000)]
* config.gcc (mips-sgi-irix6*o32): Only enable use_collect2
without gas.
(mips-sgi-irix6*): Likewise.

* config/mips/iris6gas.h: New file.
* gcc/config.gcc (mips-sgi-irix6*): Use it.

* config/mips/mips.h (TARGET_IRIX): Provide default.
(TARGET_IRIX5): Likewise.
(TARGET_SGI_O32_AS): Likewise.
* config/mips/iris5.h (TARGET_IRIX): Redefine as 1.
(TARGET_IRIX5): Likewise.
* config/mips/iris6.h (TARGET_IRIX6): Remove.
(TARGET_IRIX5): Redefine as 0.

* config/mips/mips.c (mips_output_external): Test for IRIX 6 O32
linker workaround with TARGET_IRIX and mips_abi instead of
ASM_OUTPUT_UNDEF_FUNCTION.
(mips_file_end): Inline old ASM_OUTPUT_UNDEF_FUNCTION definition,
testing TARGET_IRIX and mips_abi explicitly.
* config/mips/iris5.h (ASM_OUTPUT_UNDEF_FUNCTION): Remove.
* config/mips/iris6.h (ASM_OUTPUT_UNDEF_FUNCTION): Remove undef.

* config/mips/mips.c (irix_output_external_libcall): Renamed from
mips_output_external_libcall.
Use new TARGET_IRIX in guard.
* config/mips/mips-protos.h (irix_output_external_libcall): Match
this.
* config/mips/iris5.h (TARGET_ASM_EXTERNAL_LIBCALL): Likewise.

* config/mips/iris5gas.h (HAVE_GAS_SHF_MERGE): Update comment.
Define as 0.

* config/mips/iris6.h (FUNCTION_NAME_ALREADY_DECLARED): Define
depending on mips_abi.
* config/mips/linux.h (FUNCTION_NAME_ALREADY_DECLARED): Define as 1.
* config/mips/mips.c (mips_output_function_prologue): Test
FUNCTION_NAME_ALREADY_DECLARED at runtime.
(mips_output_function_epilogue): Likewise.
(build_mips16_function_stub): Likewise.
(build_mips16_call_stub): Likewise.
* config/mips/mips.h (FUNCTION_NAME_ALREADY_DECLARED): Provide
default.

* config/mips/iris6.h (DWARF2_UNWIND_INFO): Don't define for native
IRIX 6 O32 assembler.
(SUBTARGET_CC1_SPEC): Enforce mips2 ISA with O32 ABI.
(TARGET_OS_CPP_BUILTINS): Define _ABIO32, use it to define
_MIPS_SIM for O32 ABI.
(DWARF2_FRAME_INFO): Don't define for native IRIX 6 O32 assembler.
(ASM_DECLARE_FUNCTION_NAME): Integrate mips.h version.
(ASM_DECLARE_FUNCTION_SIZE): Move undef before redefinition.
Integrate O32 version.
(SUBTARGET_ASM_SPEC): Handle -mabi=32.
(SUBTARGET_ASM_DEBUGGING_SPEC): Add mdebug_asm_spec for gas with
O32 ABI.
(BSS_SECTION_ASM_OP_32): Define.
(BSS_SECTION_ASM_OP_64): Likewise.
(BSS_SECTION_ASM_OP): Define differently for O32 and N32/N64 ABIs
using them.
(TARGET_ASM_NAMED_SECTION): Reflect renaming.
Move up to allow override for O32 ABI without GNU as.
(EH_FRAME_SECTION_NAME): Define explicitly.
(MUST_USE_SJLJ_EXCEPTIONS): Define.
[_MIPS_SIM == _ABIO32 && !GAS] (CTORS_SECTION_ASM_OP,
DTORS_SECTION_ASM_OP): Dummy definitions.
(TARGET_ASM_NAMED_SECTION): Undef statically.
(EH_FRAME_SECTION_NAME): Likewise.
(ASM_OUTPUT_FILENAME): Integrate mips.h version.
(LINK_SPEC): Only use default options -call_shared -no_unresolved
without -r.
Don't pass -init, -fini with -mabi=32.
(COLLECT_PARSE_FLAG): Define.

* config/mips/mips.c (iris6_asm_named_section_1): Changed guard to
TARGET_IRIX.
Renamed to use irix_ prefix.
(iris6_asm_named_section): Likewise.
(iris_section_align_entry_eq): Likewise.
(iris_section_align_entry_hash): Likewise.
(iris6_file_start): Likewise.
(iris6_section_align_1): Likewise.
(iris6_file_end): Likewise.
(iris6_section_type_flags): Likewise.
(iris_section_align_htab): Likewise.
(iris_orig_asm_out_file): Likewise.
[TARGET_IRIX] (TARGET_ASM_FILE_START): Reflect rename.
(TARGET_ASM_FILE_END): Likewise.
(TARGET_SECTION_TYPE_FLAGS): Likewise.

* config/mips/mips.c [TARGET_IRIX5 && !TARGET_IRIX6]
(TARGET_ASM_UNALIGNED_HI_OP): Use runtime initialization in
override_options instead.
(TARGET_ASM_UNALIGNED_SI_OP): Likewise.
(TARGET_ASM_UNALIGNED_DI_OP): Likewise.
* config/mips/mips.c (override_options) [USE_COLLECT2]: Restore
flag_gnu_linker to defaults without USE_COLLECT2 for non-IRIX O32
assemblers.
Likewise for constructor/destructor handling.
(override_options): Handle IRIX O32 assembler quirks.
[TARGET_IRIX] (irix_asm_named_section): Handle O32 ABI with and
without gas.
(mips_file_start): Use new TARGET_IRIX.
(mips_declare_object_name): No special processing for IRIX O32
assembler.
(mips_finish_declare_object): Likewise.
(irix_asm_output_align): Renamed from iris6_asm_output_align.
Don't record alignment for O32 ABI.
(irix_file_start): Renamed from iris6_file_start.
Return early for O32 ABI.
(irix_file_end): Renamed from iris6_file_end.
Don't emit .section directives for O32 ABI.
* config/mips/iris6.h (ASM_OUTPUT_ALIGN): Reflect renaming.
* config/mips/mips-protos.h (irix_asm_output_align): Likewise.

* config/mips/t-iris6 (MULTILIB_OPTIONS): Add mabi=32.
(MULTILIB_OSDIRNAMES): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72600 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * collect2.c (COLLECT_PARSE_FLAG): Provide default.
ro [Fri, 17 Oct 2003 11:27:13 +0000 (11:27 +0000)]
* collect2.c (COLLECT_PARSE_FLAG): Provide default.
(main): Use it.
* doc/tm.texi (COLLECT_PARSE_FLAG): Document it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72599 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config-ml.in (multi-do): Pass MULTIFLAGS to subdir makes.
ro [Fri, 17 Oct 2003 11:22:58 +0000 (11:22 +0000)]
* config-ml.in (multi-do): Pass MULTIFLAGS to subdir makes.

libobjc:
* Makefile.in (runtime-info.h): Use MULTIFLAGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72598 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/12369
lerdsuwa [Fri, 17 Oct 2003 11:14:55 +0000 (11:14 +0000)]
PR c++/12369
* g++.dg/template/friend25.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72596 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* arm-modes.def (CC_Nmode): New condition code mode.
rearnsha [Fri, 17 Oct 2003 10:58:17 +0000 (10:58 +0000)]
* arm-modes.def (CC_Nmode): New condition code mode.
* arm.c (thumb_condition_code): Delete.
(arm_select_cc_mode): Handle single-bit test for Thumb.
(arm_print_operand, cases 'd' and 'D'): Don't special case the
condition code logic for Thumb.
(get_arm_condition_code): Handle CC_Nmode.
(thumb_cbrch_target_operand): New function.
* arm.h (PREDICATE_CODES): Add thumb_cbrch_target_operand.
* arm-protos.h (thumb_cbrch_target_operand): Add prototype.
* arm.md: Add Thumb split patterns for zero_extract and
sign_extract.
(tbit_cbranch, andsi3_cbranch_scratch, andsi3_cbranch)
(orrsi3_cbranch_scratch, orrsi3_cbranch, xorsi3_cbranch_scratch)
(xorsi3_cbranch, addsi3_cbranch, addsi3_cbranch_scratch)
(subsi3_cbranch, subsi3_cbranch_scratch): New Thumb patterns.
(cbranchne_decr1): Re-work to use CC_Nmode.

* arm.c (thumb_expand_epilogue): Add clobbers of registers restored
by the return instruction.  Add a use of the link register if it
wasn't stored.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72595 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* flow.c (init_propagate_block_info): Don't abort if a conditional
rearnsha [Fri, 17 Oct 2003 10:30:43 +0000 (10:30 +0000)]
* flow.c (init_propagate_block_info): Don't abort if a conditional
jump is not a comparison of a register.  Instead, just don't record
conditional life information.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72594 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agofix
jason [Fri, 17 Oct 2003 04:56:47 +0000 (04:56 +0000)]
fix

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72592 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR optimization/12630
danglin [Fri, 17 Oct 2003 03:32:21 +0000 (03:32 +0000)]
PR optimization/12630
* pa.md (movstrsi, movstrsi_internal): Use match_scratch in clobbers
for operands 7 and 8.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72590 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoChange TARGET_ALTIVEC to TARGET_ALTIVEC_ABI.
dje [Fri, 17 Oct 2003 01:56:59 +0000 (01:56 +0000)]
Change TARGET_ALTIVEC to TARGET_ALTIVEC_ABI.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72589 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Fri, 17 Oct 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72587 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Fri, 17 Oct 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72586 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoRemove PR 8610 heading mistakenly added to last ChangeLog entry.
paolo [Thu, 16 Oct 2003 22:53:32 +0000 (22:53 +0000)]
Remove PR 8610 heading mistakenly added to last ChangeLog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72584 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoeliminate conflict indicator
kcook [Thu, 16 Oct 2003 22:38:32 +0000 (22:38 +0000)]
eliminate conflict indicator

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72583 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-16 Petur Runolfsson <peturr02@ru.is>
bkoz [Thu, 16 Oct 2003 22:37:53 +0000 (22:37 +0000)]
2003-10-16  Petur Runolfsson  <peturr02@ru.is>

PR libstdc++/8610
PR libstdc++/11450
PR libstdc++/11543
PR libstdc++/12065
* config/io/basic_file_stdio.cc (__basic_file::seekoff):
Change return value from streampos to streamoff.
(__basic_file::seekpos): Delete.
* config/io/basic_file_stdio.h: Same.
* config/io/c_io_stdio.h: Remove streamoff and wstreamsize typedefs.
* include/Makefile.am (bits_headers): Add bits/postypes.h.
* include/bits/char_traits.h: Include bits/postypes.h instead of
bits/fpos.h.
* include/bits/fstream.tcc (basic_filebuf::open,
basic_filebuf::pbackfail): Don't use < or >= to compare pos_type
values, use == and != instead.
(basic_filebuf::_M_seek): Use explicit conversion from streamoff
to pos_type.
(basic_filebuf::imbue):  Don't use ! on pos_type values, use
== instead. Don't use __check_facet(_M_codecvt) unless is_open().
* include/bits/postypes.h: New file.
Add __streamoff_base_type typedef, streamsize.
(streamoff, streampos, wstreampos): Define typedefs, with
streamoff defined as...
(streamoff): New class. Document implementation defined
aspects.
(fpos): New implementation. Document implementation defined
aspects.
* include/bits/sstream.tcc (basic_stringbuf::seekpos): Use
explicit conversion from pos_type to off_type.
* include/std/std_iosfwd.h: Include bits/postypes.h instead
of bits/fpos.h.
* testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: New test.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: New test.
* testsuite/27_io/fpos/11450.cc: New test.
* testsuite/27_io/fpos/mbstate_t/12065.cc: New test.
* testsuite/27_io/fpos/mbstate_t/4_neg.cc: New test.
* testsuite/27_io/types/3.cc: New test.

2003-10-16  Benjamin Kosnik  <bkoz@redhat.com>

        * configure.host: Remove fpos_include_dir.
        * configure.ac: Remove FPOS_INC_SRCDIR.
        * configure: Regenerate.
        * acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Remove FPOS_H.
        * aclocal.m4: Regenerate.
        * include/Makefile.am (host_headers): Remove fpos.h.
        (bits_headers): Add postypes.h.
        * include/Makefile.in: Regenerate.
        * config/os/gnu-linux/fposh: Remove.
        * config/os/generic/fpos.h: Remove.

        * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Fixup.
        * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Same.
        * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Same.
        * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Same.
        * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Same.
        * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Same.
        * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Same.
        * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Same.
        * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Same.
        * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Same.
        * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Same.
        * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Same.
        * testsuite/27_io/basic_istream/seekg/char/2.cc: Same.
        * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Same.
        * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Same.
        * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
        * testsuite/27_io/objects/char/10.cc: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72582 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * objc/Make-lang.in (objc-parse.o): Honor $(parsedir) for objc-parse.c.
kcook [Thu, 16 Oct 2003 22:37:03 +0000 (22:37 +0000)]
 * objc/Make-lang.in (objc-parse.o): Honor $(parsedir) for objc-parse.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72581 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * java/lang/StringBuffer.java (getChars): Fix array index checks.
ralph [Thu, 16 Oct 2003 21:35:42 +0000 (21:35 +0000)]
* java/lang/StringBuffer.java (getChars): Fix array index checks.
(append, substring, insert): Likewise.
* testsuite/libjava.lang/StringBuffer_overflow.java: New file.
* testsuite/libjava.lang/StringBuffer_overflow.out: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72579 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * java/lang/natString.cc (getChars):
ralph [Thu, 16 Oct 2003 21:28:23 +0000 (21:28 +0000)]
* java/lang/natString.cc (getChars):
Fix validation of array indexes.
(getBytes, regionMatches, startsWith, valueOf): Likewise.
* testsuite/libjava.lang/String_overflow.java: New file.
* testsuite/libjava.lang/String_overflow.out: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72578 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
ralph [Thu, 16 Oct 2003 21:19:53 +0000 (21:19 +0000)]
* prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
overflow a jint.
(_Jv_NewPrimArray): Check for overflowing a jint, replacing a
check for overflowing size_t, since the lower level functions
take a jint.
* testsuite/libjava.lang/newarray_overflow.java:  New file.
* testsuite/libjava.lang/newarray_overflow.out:  New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72577 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * MAINTAINERS: Add myself to 'Write After Approval' section.
ralph [Thu, 16 Oct 2003 21:04:15 +0000 (21:04 +0000)]
* MAINTAINERS: Add myself to 'Write After Approval' section.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72576 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 16 Oct 2003 21:01:01 +0000 (21:01 +0000)]
2003-10-16  Benjamin Kosnik  <bkoz@redhat.com>

        * acconfig.h: Add HAVE_DRAND48.
* crossconfig.m4: Remove ISATTY.
* aclocal.m4: Regenerated.
* config.h.in: Regenerated.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72575 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-16 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 16 Oct 2003 20:36:45 +0000 (20:36 +0000)]
2003-10-16  Paolo Carlini  <pcarlini@suse.de>

* src/locale.cc (locale::locale(const char*)): ... one
more comparison missed in the previous commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72574 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 16 Oct 2003 20:33:43 +0000 (20:33 +0000)]
2003-10-16  Benjamin Kosnik  <bkoz@redhat.com>

        * acconfig.h: Add HAVE_DRAND48 and HAVE_ISATTY.
* aclocal.m4: Regenerated.
* config.h.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72573 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/cpu/m68k/atomicity.h (__exchange_and_add): Use TAS on
bernie [Thu, 16 Oct 2003 19:47:45 +0000 (19:47 +0000)]
* config/cpu/m68k/atomicity.h (__exchange_and_add): Use TAS on
__mcf5400__. Don't rely on __mc68000__ to detect a bare 68000.
Document SMP safeness of asm macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72570 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Define.
dannysmith [Thu, 16 Oct 2003 19:37:53 +0000 (19:37 +0000)]
* config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Define.

* config/i386/winnt.c (gen_stdcall_suffix): Make static
(gen_fastcall_suffix): Likewise.
(i386_pe_dllexport_p): Likewise.
(i386_pe_dllimport_p): Likewise.
(i386_pe_mark_dllexport): Likewise.
(i386_pe_mark_dllimport): Likewise.
(i386_pe_asm_named_section): Fix formatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72566 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gennews (files): Add GCC 3.3 files.
mmitchel [Thu, 16 Oct 2003 19:18:52 +0000 (19:18 +0000)]
* gennews (files): Add GCC 3.3 files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72565 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-16 Ziemowit Laski <zlaski@apple.com>
zlaski [Thu, 16 Oct 2003 19:12:54 +0000 (19:12 +0000)]
2003-10-16  Ziemowit Laski  <zlaski@apple.com>

        * objc.dg/try-catch-2.m: Relax target triple to all Darwin
        versions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72563 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * configure.in: Add snprintf to gcc_AC_CHECK_DECLS list.
zack [Thu, 16 Oct 2003 18:05:57 +0000 (18:05 +0000)]
* configure.in: Add snprintf to gcc_AC_CHECK_DECLS list.
* system.h: Declare snprintf if necessary.
* configure, config.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72557 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/rs6000.c (rs6000_va_arg): Only align vector
dje [Thu, 16 Oct 2003 17:59:06 +0000 (17:59 +0000)]
* config/rs6000/rs6000.c (rs6000_va_arg): Only align vector
arguments if TARGET_ALTIVEC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72555 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-16 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 16 Oct 2003 17:53:49 +0000 (17:53 +0000)]
2003-10-16  Paolo Carlini  <pcarlini@suse.de>

* src/locale.cc (locale::locale(const char*)): Tweak
a couple of comparisons to use basic_string operators.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72554 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-16 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 16 Oct 2003 17:24:07 +0000 (17:24 +0000)]
2003-10-16  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/12540
* config/locale/gnu/monetary_members.cc
(moneypunct<wchar_t, true/false>::_M_initialize_moneypunct):
Don't leak memory if new throws.
* src/locale.cc (locale::locale(const char*)): In order not
to leak memory in case new throws, use a basic_string type
for __res too and avoid strdup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72553 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 16 Oct 2003 15:23:11 +0000 (15:23 +0000)]
2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>

* testsuite/demangle-expected: Update the expected output of
_GLOBAL__I__Z2fnv.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72552 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config.guess: Update to 2003-10-16 version.
bernie [Thu, 16 Oct 2003 11:57:24 +0000 (11:57 +0000)]
* config.guess: Update to 2003-10-16 version.
* config.sub: Update to 2003-10-16 version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72550 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.c-torture/execute/20031003-1.c: Enable only when INT_MAX
kazu [Thu, 16 Oct 2003 10:58:14 +0000 (10:58 +0000)]
* gcc.c-torture/execute/20031003-1.c: Enable only when INT_MAX
== 2147483647.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72549 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * builtins.c (fold_builtin_memcpy, fold_builtin_mempcpy,
sayle [Thu, 16 Oct 2003 02:36:48 +0000 (02:36 +0000)]
* builtins.c (fold_builtin_memcpy, fold_builtin_mempcpy,
fold_builtin_memmove, fold_builtin_strcpy, fold_builtin_strncpy,
fold_builtin_memcmp, fold_builtin_strcmp, fold_builtin_strncmp):
New functions.
(expand_builtin_memcpy): Use integer_zerop instead of testing
host_integerp and tree_low_cst directly.  Move misapplied hunk
for optimization wher SRC and DEST point to the same location.
(expand_builtin_mempcpy): From here.
(expand_builtin_memmove): Use integer_zerop instead of testing
host_integerp and tree_low_cst_directly.
(expand_builtin_memset): Likewise.
(expand_builtin_memcmp): Likewise (and for integer_onep).
(expand_builtin_strncmp): Likewise.
(fold_builtin): Call the appropriate fold_builtin_foo functions
to optimize memcpy, mempcpy, memmove, strcpy, strncpy, memcmp,
strcmp and strncmp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72547 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.c-torture/execute/960416-1.x: Remove.
kazu [Thu, 16 Oct 2003 02:15:20 +0000 (02:15 +0000)]
* gcc.c-torture/execute/960416-1.x: Remove.
* gcc.c-torture/execute/divconst-3.x: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72545 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/darwin-protos.h (machopic_non_lazy_ptr_name): Delete
geoffk [Thu, 16 Oct 2003 01:16:38 +0000 (01:16 +0000)]
* config/darwin-protos.h (machopic_non_lazy_ptr_name): Delete
prototype.  Clean up some whitespace.
* config/darwin.c: Use gen_rtx_FOO (...) rather than
gen_rtx (FOO, ...).
(machopic_non_lazy_ptr_name): Make static.
(name_needs_quotes): Allow '.' and '$' unquoted.
(machopic_legitimize_pic_address): Improve codegen in dynamic-no-pic
case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72544 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix CRLF problem with 20031012-1.c
kcook [Thu, 16 Oct 2003 00:57:55 +0000 (00:57 +0000)]
Fix CRLF problem with 20031012-1.c

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72543 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Thu, 16 Oct 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72541 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoproblem that current decl duplication mechanizm
hubicka [Wed, 15 Oct 2003 23:10:20 +0000 (23:10 +0000)]
problem that current decl duplication mechanizm
>
>         /* If we didn't remap this variable, so we can't mess with its
>     TREE_CHAIN.  If we remapped this variable to the return slot, it's

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72539 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-10-15 G�bor L�ki <alga@rgai.hu>
sayle [Wed, 15 Oct 2003 22:32:27 +0000 (22:32 +0000)]
2003-10-15  G�bor L�ki  <alga@rgai.hu>

* fold-const.c (tree_swap_operands_p): disables
some features when optimizing for size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72538 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New
daney [Wed, 15 Oct 2003 22:28:04 +0000 (22:28 +0000)]
* config/mips/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New
* config/mips/mips.h (DWARF_FRAME_REGNUM): Fixed to allow unwind
from leaf functions.
(DWARF_FRAME_RETURN_COLUMN): Ditto.
(SIGNAL_UNWIND_RETURN_COLUMN): New, used
by MD_FALLBACK_FRAME_STATE_FOR.
* testsuite/gcc.dg/cleanup-9.c: Added mips*-*-linux* target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72537 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/mips/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New
daney [Wed, 15 Oct 2003 22:24:56 +0000 (22:24 +0000)]
* config/mips/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New
* config/mips/mips.h (DWARF_FRAME_REGNUM): Fixed to allow unwind
from leaf functions.
(DWARF_FRAME_RETURN_COLUMN): Ditto.
(SIGNAL_UNWIND_RETURN_COLUMN): New, used
by MD_FALLBACK_FRAME_STATE_FOR.
* testsuite/gcc.dg/cleanup-9.c: Added mips*-*-linux* target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72536 138bc75d-0d04-0410-961f-82ee72b054a4