1. 27 Oct, 2008 2 commits
  2. 26 Oct, 2008 2 commits
  3. 25 Oct, 2008 3 commits
  4. 24 Oct, 2008 16 commits
  5. 23 Oct, 2008 7 commits
  6. 22 Oct, 2008 10 commits
    • bfin.c (bdesc_2arg): Add mulhisill, mulhisilh, mulhisihl and mulhisihh builtins. · 2aca912d
      gcc/:
      	* config/bfin/bfin.c (bdesc_2arg): Add mulhisill, mulhisilh,
      	mulhisihl and mulhisihh builtins.
      
      gcc/testsuite/:
      	* gcc.target/bfin/hisilh.c: New file.
      	* gcc.target/bfin/hisilh-O0.c: New file.
      
      From-SVN: r141312
      Bernd Schmidt committed
    • From Jie Zhang <jie.zhang@analog.com> · 23cf1526
      	* config/bfin/bfin.md (composev2hi): Put operands into vector
      	with correct order.
      
      From-SVN: r141311
      Bernd Schmidt committed
    • * config/mips/mips.opt (msmartmips): Accept -mno-smartmips. · a166140f
      From-SVN: r141309
      Chao-ying Fu committed
    • gcc/: · 318b3009
      	From Mike Frysinger  <michael.frysinger@analog.com>
      	* config/bfin/bfin-protos.h (bfin_cpu_type): Add BFIN_CPU_BF512,
      	BFIN_CPU_BF514, BFIN_CPU_BF516, and BFIN_CPU_BF518.
      	* config/bfin/bfin.c (bfin_cpus[]): Add 0.0 for bf512, bf514, bf516,
      	and bf518.  Add 0.2 for bf522, bf523, bf524, bf526, and bf527.
      	Add 0.6 for bf533, bf532, and bf531.  Add 0.5 for bf538 and bf539.
      	Add 0.2 for bf542, bf544, bf547, bf548, and bf549.
      	* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __ADSPBF512__
      	for BFIN_CPU_BF512, __ADSPBF514__ for BFIN_CPU_BF514, __ADSPBF516__
      	for BFIN_CPU_BF516, and __ADSPBF518__ for BFIN_CPU_BF518.  Define
      	__ADSPBF51x__ for all of them.
      	* config/bfin/elf.h (LIB_SPEC): Select proper linker scripts for
      	-mcpu bf512, bf514, bf516, and bf518.
      	* config/bfin/t-bfin-elf (MULTILIB_MATCHES): Select bf532-none for
      	bf512-none, bf514-none, bf516-none, and bf518-none.
      	* config/bfin/t-bfin-linux (MULTILIB_MATCHES): Likewise.
      	* config/bfin/t-bfin-uclinux (MULTILIB_MATCHES): Likewise.
      	* doc/invoke.texi (Blackfin Options): Document that
      	-mcpu now accepts bf512, bf514, bf516, and bf518.
      
      gcc/testsuite/:
      	From Mike Frysinger  <michael.frysinger@analog.com>
      	* gcc.target/bfin/mcpu-bf522.c: Check SILICON_REVISION is 0x0002.  Invert
      	check for __WORKAROUND_RETS when SILICON_REVISION is 0x0002+.
      	* gcc.target/bfin/mcpu-bf523.c: Likewise.
      	* gcc.target/bfin/mcpu-bf524.c: Likewise.
      	* gcc.target/bfin/mcpu-bf525.c: Likewise.
      	* gcc.target/bfin/mcpu-bf526.c: Likewise.
      	* gcc.target/bfin/mcpu-bf527.c: Likewise.
      	* gcc.target/bfin/mcpu-bf531.c: Check SILICON_REVISION is 0x0006.  Invert
      	check for __WORKAROUND_RETS when SILICON_REVISION is 0x0006+.
      	* gcc.target/bfin/mcpu-bf532.c: Likewise.
      	* gcc.target/bfin/mcpu-bf533.c: Likewise.
      	* gcc.target/bfin/mcpu-bf538.c: Check SILICON_REVISION is 0x0005.  Invert
      	check for __WORKAROUND_RETS when SILICON_REVISION is 0x0005+.
      	* gcc.target/bfin/mcpu-bf539.c: Likewise.
      	* gcc.target/bfin/mcpu-bf542.c: Check SILICON_REVISION is 0x0002.  Invert
      	check for __WORKAROUND_RETS when SILICON_REVISION is 0x0002+.
      	* gcc.target/bfin/mcpu-bf544.c: Likewise.
      	* gcc.target/bfin/mcpu-bf547.c: Likewise.
      	* gcc.target/bfin/mcpu-bf548.c: Likewise.
      	* gcc.target/bfin/mcpu-bf549.c: Likewise.
      	* gcc.target/bfin/mcpu-bf512.c: New file.
      	* gcc.target/bfin/mcpu-bf514.c: Likewise.
      	* gcc.target/bfin/mcpu-bf516.c: Likewise.
      	* gcc.target/bfin/mcpu-bf518.c: Likewise.
      
      From-SVN: r141305
      Bernd Schmidt committed
    • re PR middle-end/37882 (Bitfield miscompilation) · 972afb58
      	PR middle-end/37882
      	* fold-const.c (build_range_type): For 1 .. signed_max
      	range call build_nonstandard_inter_type if signed_type_for
      	returned a type with bigger precision.
      
      	* gcc.c-torture/execute/pr37882.c: New test.
      
      From-SVN: r141303
      Jakub Jelinek committed
    • Import GNU Classpath (libgcj-import-20081021). · 58ddc179
      2008-10-22  Matthias Klose  <doko@ubuntu.com>
      
              Import GNU Classpath (libgcj-import-20081021).
      
              * Regenerate class and header files.
              * Regenerate auto* files.
      
      From-SVN: r141302
      Matthias Klose committed
    • tree.def (COMPLEX_TYPE): Constrain element type. · 51c869ca
      2008-10-22  Richard Guenther  <rguenther@suse.de>
      
      	* tree.def (COMPLEX_TYPE): Constrain element type.
      	* tree.c (build_complex_type): Assert that.
      	* tree-ssa-structalias.c (could_have_pointers): Complex types
      	cannot have pointers.
      
      From-SVN: r141299
      Richard Guenther committed
    • re PR c/30949 ("incompatible pointer type" warning does not point to declaration) · a7da8b42
      2008-10-22  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	PR c/30949
      	* c-typeck.c (convert_for_assignment): Do not give declaration's
      	location for builtins. Spell out which type was expected and which
      	was given.
      testsuite/
      	* gcc.target/i386/sse-vect-types.c: Update.
      	* gcc.dg/simd-5.c: Update.
      	* gcc.dg/assign-warn-2.c: Update.
      	* gcc.dg/simd-2.c: Update.
      	* gcc.dg/simd-6.c: Update.
      	* gcc.dg/assign-warn-1.c: Update.
      	* gcc.dg/dfp/composite-type.c: Update.
      	* gcc.dg/simd-1.c: Update.
      	* gcc.dg/pr36997.c: Update.
      
      From-SVN: r141298
      Manuel López-Ibáñez committed
    • system_error (is_error_code_enum): Specialize for errc. · 92010a79
      2008-10-22  Chris Fairles  <cfairles@gcc.gnu.org>
      
              * include/std/system_error (is_error_code_enum): Specialize for errc.
              (error_category::error_category): Defaulted and protected.
              (error_category::~error_category): New, virtual.
              (error_category::error_category(const error_category&),
              error_category::operator=(const error_category&)): Deleted.
              (get_system_category, get_posix_category): Remove (DR 890).
              (system_category): External linkage (DR 890).
              (posix_category): Remove.
              (generic_category): Add. External linkage (DR 890).
              (error_code::error_code<>(_ErrorCodeEnum)): Use generic_category.
              (error_code::clear, error_code::operator=<>(_ErrorCodeEnum)): Forward to
              error_code::assign, use generic_category.
              (error_condition::error_condition,
              error_condition::error_condition<>(_ErrorConditionEnum)): Use
              generic_category.
              (error_condition::clear,
              error_condition::operator=<>(_ErrorConditionEnum)): Forward to
              error_code::assign, use generic_category.
              (make_error_code, make_error_condition): Define in namespace std.
              * include/std/mutex (unique_lock<>::lock, unique_lock<>::try_lock,
              unique_lock<>::try_lock_until<>(duration),
              unique_lock<>::try_lock_for<>(duration)): Replace posix_error with errc.
              * src/system_error.cc (system_error_category, generic_error_category):
              New.
              (gnu_error_category): Remove.
              (get_system_category, get_posix_category): Remove (DR 890).
              (system_category, generic_category): Define.
              * src/functexcept.cc (__throw_system_error): Use generic_category.
              * config/abi/pre/gnu.ver: Export system_category and generic_category,
              remove get_system_category and get_generic_category (DR 890).
              * config/os/generic/error_constants.h (posix_errno): Rename to errc, use
              enum class type. Fix spelling.
              * config/os/mingw32/error_constants.h (posix_errno): Likewise.
              * testsuite/19_diagnostics/error_code/cons/1.cc: Use errc and
              generic_category.
              * testsuite/19_diagnostics/error_code/operators/bool.cc: Use errc.
              * testsuite/19_diagnostics/error_code/operators/equal.cc: Likewise.
              * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Likewise.
              * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Update
              dg-error line numbers.
              * testsuite/19_diagnostics/error_condition/cons/1.cc: Use
              generic_category.
              * testsuite/19_diagnostics/error_condition/operators/bool.cc: Use errc.
              * testsuite/19_diagnostics/error_condition/operators/equal.cc: Likewise.
              * testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
              Likewise.
              * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc: New.
              * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc:
              Remove using tests since errc is not a namespace.
              * testsuite/19_diagnostics/system_error/cons-1.cc: Use errc.
              * testsuite/19_diagnostics/system_error/what-4.cc: Likewise.
              * testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
              Likewise.
              * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
              Likewise.
              * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
      
      From-SVN: r141297
      Chris Fairles committed
    • frv.h (HARD_REGNO_RENAME_OK): Define. · b8a19ec4
              * config/frv/frv.h (HARD_REGNO_RENAME_OK): Define.  Do not allow
              the fdpic register to be a target when running in fdpic mode.
      
      From-SVN: r141295
      Nick Clifton committed