1. 31 May, 2005 15 commits
    • loop.c (loop_invariant_p, [...]): Revert last change. · ec22e73b
      2005-05-31  Pat Haugen  <pthaugen@us.ibm.com>
      
              * loop.c (loop_invariant_p, valid_initial_value_p): Revert last
              change.
      
      From-SVN: r100408
      Pat Haugen committed
    • PR libstdc++/20534 (contd) · 87d33b41
      2005-05-31  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/20534 (contd)
      	* include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using
      	__gnu_debug::__fancy_abort.
      	* src/debug.cc: Define the latter.
      	* include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of
      	assert.
      	* config/linker-map.gnu (__gnu_debug::__fancy_abort): Add.
      
      From-SVN: r100405
      Paolo Carlini committed
    • re PR c++/21165 (bogus error on a user-defined conversion in a template) · 8bd46447
      cp:
      PR c++/21165
      	* init.c (integral_constant_value): Check the type of the
      	initializer, not the decl.
      testsuite:
      	PR c++/21165
      	* g++.dg/template/init5.C: New.
      
      From-SVN: r100402
      Nathan Sidwell committed
    • char_initialiser_actual.f90: Test character initialisers as actual arguments. · fba53b18
      2005-05-30  Paul Thomas  <pault@gcc.gnu.org>
      
      	* gfortran.dg/char_initialiser_actual.f90:
      	Test character initialisers as actual arguments.
      	* gfortran.dg/char_pointer_comp_assign.f90:
      	Test character pointer structure component assignments.
      	* gfortran.dg/char_array_structure_constructor.f90:
      	Test character components in structure constructors.
      
      From-SVN: r100401
      Paul Thomas committed
    • re PR fortran/18109 (ICE with explicit array of strings) · 2b052ce2
      2005-05-30  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/18109
      	PR fortran/18283
      	PR fortran/19107
      	* fortran/trans-array.c (gfc_conv_expr_descriptor): Obtain the
      	string length from the expression typespec character length value
      	and set temp_ss->stringlength and backend_decl. Obtain the
      	tree expression from gfc_conv_expr rather than gfc_conv_expr_val.
      	Dereference the expression to obtain the character.
      	* fortran/trans-expr.c (gfc_conv_component_ref): Remove the
      	dereference of scalar character pointer structure components.
      	* fortran/trans-expr.c (gfc_trans_subarray_assign): Obtain the
      	string length for the structure component from the component
      	expression.
      
      From-SVN: r100400
      Paul Thomas committed
    • [multiple changes] · d763bb10
      2005-05-31  Andrew pinski  <pinskia@physics.uc.edu>
      
              PR middle-end/20931
              * g++.dg/opt/pr20931.C: New test.
      
      2005-05-31  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR middle-end/20931
              PR middle-end/20946
              * fold-const.c (fold_checksum_tree): Copy types also if
              TYPE_CONTAINS_PLACEHOLDER_INTERNAL is set.
              Don't call fold_checksum_tree for TREE_LIST's TREE_CHAIN
              first.
              Tail recurse TREE_LIST's TREE_CHAIN.
      
      From-SVN: r100397
      Andrew Pinski committed
    • re PR tree-optimization/21732 (-ftree-dump-all-details hangs during… · fb03baf2
      re PR tree-optimization/21732 (-ftree-dump-all-details hangs during *.c.t24.copyprop or *.c.t38.copyprop2)
      
      2005-05-31  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR tree-opt/21732
              * tree-ssa-copy.c (dump_copy_of): Create a bitmap and don't visit a
              SSA_NAME twice and cause the loop to become finite.  Remove the test
              for val.
      
      From-SVN: r100396
      Andrew Pinski committed
    • re PR testsuite/20772 (x86 tests should run on both i?86 and x86_64) · 8c7a0ea6
      	PR testsuite/20772
      	* g++.dg/abi/dtor1.C, g++.dg/abi/empty10.C, g++.dg/abi/layout3.C,
      	g++.dg/eh/simd-2.C, g++.dg/opt/cse2.C,
      	g++.old-deja/g++.ext/asmspec1.C,
      	g++.old-deja/g++.other/regstack.C,
      	gcc.dg/20000614-1.c, gcc.dg/20000807-1.c, gcc.dg/20000904-1.c,
      	gcc.dg/20001127-1.c, gcc.dg/20010202-1.c, gcc.dg/20010520-1.c,
      	gcc.dg/20011009-1.c, gcc.dg/20011029-2.c, gcc.dg/20020224-1.c,
      	gcc.dg/20020531-1.c, gcc.dg/20020616-1.c, gcc.dg/980226-1.c,
      	gcc.dg/980414-1.c, gcc.dg/980520-1.c, gcc.dg/980709-1.c,
      	gcc.dg/990117-1.c, gcc.dg/990130-1.c, gcc.dg/990213-2.c,
      	gcc.dg/990214-1.c, gcc.dg/991129-1.c, gcc.dg/991209-1.c,
      	gcc.dg/991214-1.c, gcc.dg/asm-1.c, gcc.dg/attr-returns_twice-1.c,
      	gcc.dg/clobbers.c, gcc.dg/i386-387-7.c, gcc.dg/i386-387-8.c,
      	gcc.dg/i386-3dnowA-1.c, gcc.dg/i386-3dnowA-2.c, gcc.dg/i386-asm-1.c
      	gcc.dg/i386-asm-2.c, gcc.dg/i386-asm-3.c, gcc.dg/i386-bitfield3.c
      	gcc.dg/i386-call-1.c, gcc.dg/i386-memset-1.c,
      	gcc.dg/i386-signbit-3.c, gcc.dg/i386-ssefn-1.c,
      	gcc.dg/i386-ssefn-2.c, gcc.dg/i386-ssefn-3.c, gcc.dg/i386-ssefn-4.c
      	gcc.dg/i386-volatile-1.c, gcc.dg/i386-xorps.c, gcc.dg/pr12092-1.c
      	gcc.dg/pr14289-1.c, gcc.dg/pr19236-1.c, gcc.dg/pr20204.c,
      	gcc.dg/pr9771-1.c, gcc.dg/register-var-1.c,
      	gcc.dg/sibcall-5.c, gcc.dg/charset/asm3.c,
      	gcc.dg/cpp/trad/num-sign.c: Run tests also on x86_64.
      
      From-SVN: r100394
      Andreas Jaeger committed
    • tree-cfg.c (verify_expr): Add checking for COND_EXPR's conditional expression. · 9c691961
      2005-05-31  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * tree-cfg.c (verify_expr): Add checking for COND_EXPR's conditional
              expression.
      
      From-SVN: r100393
      Andrew Pinski committed
    • tm.texi (TARGET_GET_PCH_VALIDITY, [...]): Tweak the documentation to make it more future-proof. · 8d932be3
      	* doc/tm.texi (TARGET_GET_PCH_VALIDITY, TARGET_PCH_VALID_P): Tweak
      	the documentation to make it more future-proof.
      	(TARGET_CHECK_PCH_TARGET_FLAGS): Document this new hook.
      	* target.h (gcc_target): Add check_pch_target_flags.
      	* target-def.h (TARGET_CHECK_PCH_TARGET_FLAGS): New macro.
      	(TARGET_INITIALIZER): Include it.
      	* toplev.c (default_pch_valid_p): Use targetm.check_pch_target_flags.
      	* config/sh/sh.h (sh_pch_valid_p): Delete.
      	* config/sh/sh.c (TARGET_PCH_VALID_P, sh_pch_valid_p): Delete.
      	(sh_check_pch_target_flags): New function.
      	(TARGET_CHECK_PCH_TARGET_FLAGS): Override default.
      
      From-SVN: r100392
      Richard Sandiford committed
    • fold-const.c (extract_array_ref): Handle more cases, do some useful canonicalization of the base. · 4ea73bfa
              * fold-const.c (extract_array_ref): Handle more cases,
              do some useful canonicalization of the base.
              (fold_binary): Explicitly deal with arrays of zero-sized
              structures during folding of &a[i] == &a[j].
      
              * gcc.dg/tree-ssa/foldaddr-1.c: New test.
      
      From-SVN: r100391
      Jeff Law committed
    • * sv.po: Update. · aa7f9102
      From-SVN: r100389
      Joseph Myers committed
    • install.texi (sparc-sun-solaris2*): Update note about Sun bug 4910101. · dd48afcd
      	* doc/install.texi (sparc-sun-solaris2*): Update note
      	about Sun bug 4910101.
      
      From-SVN: r100385
      Eric Botcazou committed
    • install.texi (sparc-sun-solaris2.7): Document bootstrap failure with Sun WorkShop 6 99/08/18 as. · 661f4f90
      	* doc/install.texi (sparc-sun-solaris2.7): Document bootstrap
      	failure with Sun WorkShop 6 99/08/18 as.
      
      From-SVN: r100383
      Eric Botcazou committed
    • Daily bump. · 994d1b20
      [[Split portion of a mixed commit.]]
      
      From-SVN: r100380.2
      GCC Administrator committed
  2. 30 May, 2005 25 commits