1. 19 May, 2005 18 commits
  2. 18 May, 2005 22 commits
    • rs6000.md (insvsi_internal1): Subtract shift from the mask end. · 46e5b15e
             * config/rs6000/rs6000.md (insvsi_internal1): Subtract shift from
             the mask end.
             * g++.dg/opt/20050511-1.C: New test.
      
      From-SVN: r99936
      Devang Patel committed
    • tree-ssa-forwprop.c (cfg_changed): New. · 5bcd8644
              * tree-ssa-forwprop.c (cfg_changed): New.
              (tidy_after_forward_propagate_addr): New.
              (forward_propagate_addr_expr): Use it, and fold_stmt_inplace.
              (forward_propagate_addr_into_variable_array_index): Likewise.
              (tree_ssa_forward_propagate_single_use_vars): Cleanup cfg if
              edges were removed.
      
      From-SVN: r99935
      Richard Henderson committed
    • re PR libstdc++/19495 (basic_string::_M_rep() can produce an unnaturally aligned pointer to _Rep) · 66143232
      2005-05-18  Paolo Carlini  <pcarlini@suse.de>
      	    Nathan Myers  <ncm@cantrip.org>
      
      	PR libstdc++/19495
      	* include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
      	size_type instead of char and rename to _Raw_alloc.
      	* include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
      	Use the above.
      	* src/bitmap_allocator.cc: Add instantiation for size_type.
      	* src/mt_allocator.cc: Likewise.
      	* src/pool_allocator.cc: Likewise.
      	* include/ext/array_allocator.h: Tweak slightly, avoid assuming
      	the existence of an _Array::begin() and size() members.
      	* testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
      	of size_type, instead of char, thus avoiding problems with
      	rebinds, not treated correctly by array_allocator.
      
      Co-Authored-By: Nathan Myers <ncm@cantrip.org>
      
      From-SVN: r99933
      Paolo Carlini committed
    • Fix forgotten ChangeLog entries. · 7bd3a7bf
      From-SVN: r99930
      Jan Hubicka committed
    • dummy-checksum.c: New. · 3fd30b88
      2005-05-18  Geoffrey Keating  <geoffk@apple.com>
      
      	* dummy-checksum.c: New.
      	* genchecksum.c: New.
      	* c.opt (print_pch_checksum): New flag.
      	* c-pch.c (struct c_pch_validity): Make much shorter.
      	(no_checksum): New.
      	(host_machine): Remove.
      	(target_machine): Remove.
      	(get_ident): Change PCH version number.
      	(pch_init): When -fverbose-asm, print out the compiler fingerprint.
      	Don't put triplets or version string in PCH validity data.
      	Do put the compiler checksum in the validity data.
      	(c_common_valid_pch): Don't check triplets or version string.  Do
      	check checksum.
      	(c_common_print_pch_checksum): New.
      	* c-opts.c (c_common_handle_option): Add OPT_print_pch_checksum.
      	Print fingerprint with -v.
      	* c-common.h (c_common_print_pch_checksum): New.
      	(executable_checksum): New.
      	* Makefile.in (STAGEMOVESTUFF): Add cc1*-dummy, *-checksum.c.
      	(cc1-dummy): New rule.
      	(cc1-checksum.c): New rule.
      	(cc1-checksum.o): New rule.
      	(cc1): Add checksum support.
      	(build/genchecksum): New.
      	(build/genchecksum.o): New.
      	(dummy-checksum.o): New.
      	(genobjnames): Add genchecksum.o.
      	(mostlyclean): Remove *-checksum.c.
      	(gnucompare): Add libgcc to list of directories checked.
      	Make comparison problems in libgcc/ and with checksum files only
      	be warnings.
      	* doc/invoke.texi (Precompiled Headers): Remove caution.
      	Document that it must be the exact same binary.  Add a few
      	known-safe flags to the list.
      
      In cp/:
      2005-05-18  Geoffrey Keating  <geoffk@apple.com>
      
      	* Make-lang.in (cc1plus-dummy): New.
      	(cc1plus-checksum.c): New.
      	(cc1plus-checksum.o): New.
      	(cc1plus): Add cc1plus-checksum.o.
      
      In objc/:
      2005-05-18  Geoffrey Keating  <geoffk@apple.com>
      
      	* Make-lang.in (cc1obj-dummy): New.
      	(cc1obj-checksum.c): New.
      	(cc1obj-checksum.o): New.
      	(cc1obj): Add cc1obj-checksum.o.
      
      In objcp/:
      2005-05-18  Geoffrey Keating  <geoffk@apple.com>
      
      	* Make-lang.in (cc1objplus-dummy): New.
      	(cc1objplus-checksum.c): New.
      	(cc1objplus-checksum.o): New.
      	(cc1objplus): Add cc1objplus-checksum.o.
      
      From-SVN: r99928
      Geoffrey Keating committed
    • predicates.md (fix_trunc_dest_operand): New. · 045a8eb3
      	* rs6000/predicates.md (fix_trunc_dest_operand): New.
      	* rs6000/rs6000.md (fix_truncdfsi2): Use fix_trunc_dest_operand.
      	Check that a memory operand is valid before trying to use it.
      
      From-SVN: r99927
      Geoffrey Keating committed
    • re PR libfortran/21127 (reshape of complex broken) · 5ac7af02
      2005-05-18  Thomas Koenig  <Thomas.Koenig@online.de>
      
              PR libfortran/21127
              * Makefile.am:  Really commit.
              * Makefile.in:  Really commit.
      
      From-SVN: r99926
      Thomas Koenig committed
    • re PR libfortran/21127 (reshape of complex broken) · 8f4dc7af
      2005-05-18  Thomas Koenig  <Thomas.Koenig@online.de>
      
              PR libfortran/21127
              * Makefile.am:  Add generated/reshape_c4.c and
              generated/reshape_c8.c.
              * Makefile.in:  Regenerated.
              * m4/iparm.m4:  Define rtype_ccode to be c4 or c8 for
              complex types, 4 or 8 otherwise.
              * m4/reshape.m4:  Use rtype_ccode instead of rtype_kind
              in function name.
              * generated/reshape_c4.c: New file.
              * generated/reshape_c8.c: New file.
      
      2005-05-18  Thomas Koenig  <Thomas.Koenig@online.de>
      
              PR libfortran/21127
              * fortran/iresolve.c (gfc_resolve_reshape): Add
              gfc_type_letter (BT_COMPLEX) for complex to
              to resolved function name.
      
      2005-05-18  Thomas Koenig  <Thomas.Koenig@online.de>
      
              PR libfortran/21127
              * gfortran.dg/reshape-complex.f90:  New test.
      
      From-SVN: r99925
      Thomas Koenig committed
    • tree.c (build1_stat): Don't try to handle two-operand tree codes. · 90b45528
      2005-05-18  Richard Guenther  <rguenth@gcc.gnu.org>
      
      	* tree.c (build1_stat): Don't try to handle two-operand
      	tree codes.
      
      From-SVN: r99923
      Richard Guenther committed
    • re PR objc/21641 (cris-axis-elf, cris-axis-linux-gnu, mmix-knuth-mmixware,… · 55cb0169
      re PR objc/21641 (cris-axis-elf, cris-axis-linux-gnu, mmix-knuth-mmixware, x86_64-unknown-linux-gnu broken libobjc/Object.m)
      
              PR objc/21641
              * objc-act.c (struct interface_tuple): Mark it up for GC.
              (interface_htab): It is really a struct interface_tuple.
      
      From-SVN: r99922
      Mike Stump committed
    • Fix date on ChangeLog entry · 755b3990
      From-SVN: r99920
      Tobias Schlüter committed
    • array.c (gfc_match_array_constructor): Support [ ... · acc75ae3
      fortran/
      	* array.c (gfc_match_array_constructor): Support [ ... ]
      	style array constructors.
      testsuite/
      	* gfortran.dg/array_constructor_1.f90: New test.
      	* gfortran.dg/array_constructor_2.f90: New test.
      
      From-SVN: r99919
      Erik Edelmann committed
    • config.gcc (sh*-*-*): Define SUPPORT_* macros to 1. · c0fb94d7
      	* config.gcc (sh*-*-*): Define SUPPORT_* macros to 1.
      	* config/sh/sh.h: Update mask names throughout.
      	(target_flags, ISIZE_BIT, DALIGN_BIT, SH1_BIT, SH2_BIT, SH3_BIT)
      	(SH_E_BIT, HARD_SH4_BIT, FPU_SINGLE_BIT, SH4_BIT, SH4A_BIT, FMOVD_BIT)
      	(SH5_BIT, SPACE_BIT, BIGTABLE_BIT, RELAX_BIT, USERMODE_BIT)
      	(HITACHI_BIT, NOMACSAVE_BIT, PREFERGOT_BIT, PADSTRUCT_BIT)
      	(LITTLE_ENDIAN_BIT, IEEE_BIT, SAVE_ALL_TR_BIT, HARD_SH2A_BIT)
      	(HARD_SH2A_DOUBLE_BIT, INDEXED_ADDRESS_BIT, PT_FIXED_BIT)
      	(INVALID_SYMBOLS_BIT, ADJUST_UNROLL_BIT, TARGET_DUMPISIZE)
      	(TARGET_ALIGN_DOUBLE, TARGET_SH1, TARGET_SH2, TARGET_SH3)
      	(TARGET_HARD_SH4, TARGET_FPU_SINGLE, TARGET_SH5, TARGET_FMOVD)
      	(TARGET_IEEE, TARGET_SMALLCODE, TARGET_BIGTABLE, TARGET_RELAX)
      	(TARGET_HITACHI, TARGET_NOMACSAVE, TARGET_PADSTRUCT)
      	(TARGET_LITTLE_ENDIAN, TARGET_USERMODE, TARGET_PREFERGOT)
      	(TARGET_SAVE_ALL_TARGET_REGS, TARGET_ALLOW_INDEXED_ADDRESS)
      	(TARGET_PT_FIXED, TARGET_INVALID_SYMBOLS, TARGET_ADJUST_UNROLL)
      	(TARGET_SWITCH_SH1, TARGET_SWITCH_SH2, TARGET_SWITCH_SH2E)
      	(TARGET_SWITCH_SH2A, TARGET_SWITCH_SH2A_SINGLE_ONLY)
      	(TARGET_SWITCH_SH2A_SINGLE, TARGET_SWITCH_SH2A_NOFPU)
      	(TARGET_SWITCH_SH3, TARGET_SWITCH_SH3E, TARGET_SWITCH_SH4_SINGLE_ONLY)
      	(TARGET_SWITCH_SH4_SINGLE, TARGET_SWITCH_SH4_NOFPU, TARGET_SWITCH_SH4)
      	(TARGET_SWITCH_SH4A, TARGET_SWITCH_SH4A_SINGLE_ONLY)
      	(TARGET_SWITCH_SH4A_SINGLE, TARGET_SWITCH_SH4A_NOFPU)
      	(TARGET_SWITCH_SH4AL, TARGET_SWITCH_SH5_64MEDIA)
      	(TARGET_SWITCH_SH5_64MEDIA_NOFPU, TARGET_SWITCHES_SH5_32MEDIA)
      	(TARGET_SWITCHES_SH5_32MEDIA_NOFPU, TARGET_SWITCH_SH5_32_ANY_EXTRA)
      	(TARGET_SWITCH_SH5_MEDIA_ANY_EXTRA, TARGET_SWITCHES)
      	(SUBTARGET_SWITCHES): Delete.
      	(TARGET_SH2E, TARGET_SH2A, TARGET_SH2A_SINGLE, TARGET_SH2A_DOUBLE)
      	(TARGET_SH3E, TARGET_CACHE32, TARGET_SUPERSCALAR, TARGET_HARVARD)
      	(TARGET_FPU_DOUBLE, TARGET_SH4A_ARCH, TARGET_SHMEDIA32)
      	(TARGET_SHMEDIA64): Redefine using other TARGET_* macros.
      	(TARGET_SH4): Undefine options.h definition and check MASK_SH1 as well.
      	(SUPPORT_SH1, SUPPORT_SH2E, SUPPORT_SH4, SUPPORT_SH4_SINGLE)
      	(SUPPORT_SH2A, SUPPORT_SH2A_SINGLE): Make numeric.
      	(SUPPORT_SH2): Define to 1 if SUPPORT_SH1.
      	(SUPPORT_SH3): Likewise SUPPORT_SH2.
      	(SUPPORT_SH4_NOFPU): Likewise SUPPORT_SH3.
      	(SUPPORT_SH4A_NOFPU, SUPPORT_SH4AL, SUPPORT_SH2A_NOFPU): Likewise
      	SUPPORT_SH4_NOFPU.
      	(SUPPORT_SH3E): Likewise SUPPORT_SH2E.
      	(SUPPORT_SH4_SINGLE_ONLY, SUPPORT_SH4A_SINGLE_ONLY)
      	(SUPPORT_SH2A_SINGLE_ONLY): Likewise SUPPORT_SH3E.
      	(SUPPORT_SH4A): Likewise SUPPORT_SH4.
      	(SUPPORT_SH4A_SINGLE): Likewise SUPPORT_SH4_SINGLE.
      	(SUPPORT_SH5_32MEDIA): Likewise SUPPORT_SH5_COMPACT.
      	(SUPPORT_SH5_32MEDIA_NOFPU): Likewise SUPPORT_SH5_COMPACT_NOFPU.
      	(SUPPORT_ANY_SH5_32MEDIA, SUPPORT_ANY_SH5_64MEDIA)
      	(SUPPORT_ANY_SH5): New macros.
      	(TARGET_NONE): Replace with...
      	(MASK_ARCH): ...this new macro.
      	* config/sh/elf.h: Update mask names
      	* config/sh/linux.h: Likewise.
      	* config/sh/little.h: Likewise.
      	* config/sh/netbsd-elf.h: Likewise.
      	* config/sh/symbian-pre.h: Likewise.
      	* config/sh/sh.c (sh_handle_option): New function.
      	(TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Override defaults.
      	(calc_live_regs): Use MASK_FPU_SINGLE instead of FPU_SINGLE_BIT.
      	(sh_target_switches, target_switches): Delete.
      	(sh_pch_valid_p): Check for specific differences in the target_flags
      	settings.
      	(sh_init_cumulative_args): Use MASK_HITACHI instead of HITACHI_BIT.
      	* config/sh/sh.opt: New file.
      
      From-SVN: r99916
      Richard Sandiford committed
    • re PR target/21632 (ICE with small model attribute on ia64) · 3d4ee182
              PR target/21632
              * config/ia64/ia64.c (ia64_extra_constraint) <'T'>: Use
              small_addr_symbolic_operand.
      
      From-SVN: r99910
      Richard Henderson committed
    • 2.cc: Adjust dg-require-namedlocale. · 6aca9695
      2005-05-18  Paolo Carlini  <pcarlini@suse.de>
      
      	* testsuite/22_locale/ctype/is/char/2.cc: Adjust dg-require-namedlocale.
      	* testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/time_get/get_year/char/wrapped_env.cc: Add
      	missing dg-require-namedlocale.
      	* testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc:
      	Likewise.
      	* testsuite/22_locale/time_get/get_year/wchar_t/wrapped_env.cc:
      	Likewise.
      	* testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc:
      	Likewise.
      
      From-SVN: r99908
      Paolo Carlini committed
    • tree-ssa-forwprop.c (forward_propagate_addr_expr): Do not propagate an ADDR_EXPR… · 472945f6
      tree-ssa-forwprop.c (forward_propagate_addr_expr): Do not propagate an ADDR_EXPR if the definition and use sites are in different...
      
              * tree-ssa-forwprop.c (forward_propagate_addr_expr): Do not
              propagate an ADDR_EXPR if the definition and use sites are
              in different EH regions.
      
      From-SVN: r99906
      Jeff Law committed
    • re PR libgcj/19729 (libgcj DSASignature.java null pointer exception) · 33a9ae49
      2005-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	PR libgcj/19729
      	* gnu/java/security/provider/DSASignature.java: Import updates
      	from GNU Crypto.
      
      From-SVN: r99904
      Thomas Fitzsimmons committed
    • gtk_jawt.c (classpath_jawt_object_lock, [...]): New functions. · 9a6411ed
      2005-05-18  Anthony Green  <green@redhat.com>
      
              * jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
              classpath_jawt_object_unlock, classpath_jawt_create_lock,
              classpath_jawt_destroy_lock): New functions.
              * jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
              classpath_jawt_object_unlock, classpath_jawt_create_lock,
              classpath_jawt_destroy_lock): New functions.
              * include/jawt.h (struct _JAWT_DrawingSurface): Add lock
              field.
              * jawt.c: #include malloc.h.
              (_Jv_Lock): Use lock.
              (_Jv_Unlock): Ditto.
              (_Jv_GetDrawingSurface): Initialize lock.
              (_Jv_FreeDrawingSurface): Destroy lock.
              (_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
      
      From-SVN: r99903
      Anthony Green committed
    • split old changelogs by year · 4e876a0f
      From-SVN: r99901
      Nathan Sidwell committed
    • f95-lang.c (gfc_init_builtin_functions): Define BUILT_IN_TRUNC and… · e743d142
      f95-lang.c (gfc_init_builtin_functions): Define BUILT_IN_TRUNC and BUILT_IN_TRUNCF instead of BUILT_IN_FLOOR and...
      
      	* f95-lang.c (gfc_init_builtin_functions): Define BUILT_IN_TRUNC
      	and BUILT_IN_TRUNCF instead of BUILT_IN_FLOOR and BUILT_IN_FLOORF.
      	* trans-intrinsic.c (build_fix_expr): Change 'op' argument
      	to correct enum type.
      	(gfc_conv_intrinsic_aint): Likewise.  Clarify comment in front of
      	function.  Add default case to switch, deal with FIX_TRUNC_EXPR
      	instead of FIX_FLOOR_EXPR.
      
      From-SVN: r99900
      Tobias Schlüter committed
    • read-rtl.c (mode_attr_index): Use obstack_grow0, not obstack_grow. · 33af9c08
      	* read-rtl.c (mode_attr_index): Use obstack_grow0, not
      	obstack_grow.
      
      From-SVN: r99899
      Ian Lance Taylor committed