1. 19 May, 2005 30 commits
  2. 18 May, 2005 10 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