1. 20 Jan, 2013 6 commits
  2. 19 Jan, 2013 6 commits
  3. 18 Jan, 2013 15 commits
  4. 17 Jan, 2013 13 commits
    • re PR sanitizer/55679 (new asan tests from r194458 fail on x86_64-apple-darwin10) · ec03e9e9
              PR sanitizer/55679
              * g++.dg/asan/interception-test-1.C: Skip on darwin.
              * lib/target-supports.exp (check_effective_target_swapcontext): Use
              check_no_compiler_messages to test support in ucontext.h.
      	(check_effective_target_setrlimit): Return 0 for Darwin's non-posix
      	compliant RLIMIT_AS.
      
      From-SVN: r195281
      Jack Howarth committed
    • Fix PR55833. · 1bd3f750
      From-SVN: r195280
      Marek Polacek committed
    • re PR libffi/56000 (FAIL: libffi.call/cls_uchar_va.c -O0 -W -Wall output pattern test) · 7b045477
      2013-01-07  Thorsten Glaser <tg@mirbsd.org>
      
      	PR middle-end/56000
      	* testsuite/libffi.call/cls_uchar_va.c,
      	testsuite/libffi.call/cls_ushort_va.c,
      	testsuite/libffi.call/va_1.c: Testsuite fixes.
      
      From-SVN: r195277
      Thorsten Glaser committed
    • builtins.def (DEF_BUILTIN): Factor out "__builtin_avr_" from NAME, turn NAME to… · e52a8b71
      builtins.def (DEF_BUILTIN): Factor out "__builtin_avr_" from NAME, turn NAME to an uppercase identifier.
      
      	* config/avr/builtins.def (DEF_BUILTIN): Factor out
      	"__builtin_avr_" from NAME, turn NAME to an uppercase identifier.
      	Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'.
      	Remove ID.  Adjust comments.
      	* config/avr/avr-c.c (avr_builtin_name): Remove.
      	(avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop.
      	* config/avr/avr.c (avr_tolower): New static function.
      	(DEF_BUILTIN): Remove parameter ID.  Prefix ICODE by 'CODE_FOR_'.
      	Stringify NAME, prefix it with "__builtin_avr_" and lowercase it.
      	(avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for
      	default expansion.
      
      From-SVN: r195276
      Georg-Johann Lay committed
    • re PR rtl-optimization/55273 (ICE in iv_number_of_iterations, at loop-iv.c:2819) · 610fb637
      	PR tree-optimizatoin/55273
      	* gcc.c-torture/compile/pr55273.c: New testcase.
      
      	* loop-iv.c (iv_number_of_iterations): Consider zero iteration case.
      
      From-SVN: r195275
      Jakub Jelinek committed
    • re PR rtl-optimization/55273 (ICE in iv_number_of_iterations, at loop-iv.c:2819) · 8386a7ea
      
      	PR tree-optimizatoin/51083
      
      	* gcc.c-torture/compile/pr51083.c: New testcase.
      
      	* loop-iv.c (iv_number_of_iterations): Consider zero iteration case.
      
      From-SVN: r195274
      Jan Hubicka committed
    • re PR target/55981 (std::atomic store is split in two smaller stores) · 8abaebcd
      	PR target/55981
      	* config/i386/sync.md (atomic_store<mode>): Always generate SWImode
      	store through atomic_store<mode>_1.
      	(atomic_store<mode>_1): Macroize insn using SWI mode iterator.
      
      testsuite/ChangeLog:
      
      	PR target/55981
      	* gcc.target/pr55981.c: New test.
      
      From-SVN: r195273
      Uros Bizjak committed
    • pr40887.c: Require at least armv5. · 3f5da285
      	* gcc.target/arm/pr40887.c: Require at least armv5.
      	* gcc.target/arm/pr51835.c: Avoid conflicts with multilib flags.
      	* gcc.target/arm/pr51915.c: Likewise.
      	* gcc.target/arm/pr52006.c: Likewise.
      	* gcc.target/arm/pr53187.c: Likewise.
      
      From-SVN: r195271
      Janis Johnson committed
    • ftest-support.h: Replace for compile-only tests. · 1f98b7b2
      	* gcc.target/arm/ftest-support.h: Replace for compile-only tests.
      	* gcc.target/arm/ftest-support-arm.h: Delete.
      	* gcc.target/arm/ftest-support-thumb.h: Delete.
      	* gcc.target/arm/ftest-armv4-arm.c: Replace with compile-only test.
      	* gcc.target/arm/ftest-armv4t-arm.c: Likewise.
      	* gcc.target/arm/ftest-armv4t-thumb.c: Likewise.
      	* gcc.target/arm/ftest-armv5t-arm.c: Likewise.
      	* gcc.target/arm/ftest-armv5t-thumb.c: Likewise.
      	* gcc.target/arm/ftest-armv5te-arm.c: Likewise.
      	* gcc.target/arm/ftest-armv5te-thumb.c: Likewise.
      	* gcc.target/arm/ftest-armv6-arm.c: Likewise.
      	* gcc.target/arm/ftest-armv6-thumb.c: Likewise.
      	* gcc.target/arm/ftest-armv6k-arm.c: Likewise.
      	* gcc.target/arm/ftest-armv6k-thumb.c: Likewise.
      	* gcc.target/arm/ftest-armv6m-thumb.c: Likewise.
      	* gcc.target/arm/ftest-armv6t2-arm.c: Likewise.
      	* gcc.target/arm/ftest-armv6t2-thumb.c: Likewise.
      	* gcc.target/arm/ftest-armv6z-arm.c: Likewise.
      	* gcc.target/arm/ftest-armv6z-thumb.c: Likewise.
      	* gcc.target/arm/ftest-armv7a-arm.c: Likewise.
      	* gcc.target/arm/ftest-armv7a-thumb.c: Likewise.
      	* gcc.target/arm/ftest-armv7em-thumb.c: Likewise.
      	* gcc.target/arm/ftest-armv7m-thumb.c: Likewise.
      	* gcc.target/arm/ftest-armv7r-arm.c: Likewise.
      	* gcc.target/arm/ftest-armv7r-thumb.c: Likewise.
      	* gcc.target/arm/ftest-armv8a-arm.c: Likewise.
      	* gcc.target/arm/ftest-armv8a-thumb.c: Likewise.
      
      From-SVN: r195270
      Janis Johnson committed
    • sync-cache.c (__aarch64_sync_cache_range): Cast the results of (dcache_lsize -… · 922c57d1
      sync-cache.c (__aarch64_sync_cache_range): Cast the results of (dcache_lsize - 1) and (icache_lsize - 1) to the type...
      
      2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
      
      	* config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
      	results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
      	__UINTPTR_TYPE__; also cast 'base' to the same type before the
      	alignment operation.
      
      From-SVN: r195266
      Yufeng Zhang committed
    • re PR tree-optimization/55264 (ICE: in ipa_make_edge_direct_to_target, at… · 8222c37e
      re PR tree-optimization/55264 (ICE: in ipa_make_edge_direct_to_target, at ipa-prop.c:2141 with -O2 -fno-early-inlining -fno-weak)
      
      2013-01-17  Martin Jambor  <mjambor@suse.cz>
      
      	PR tree-optimizations/55264
      	* ipa-inline-transform.c (can_remove_node_now_p_1): Never return true
      	for virtual methods.
      	* ipa.c (symtab_remove_unreachable_nodes): Never return true for
      	virtual methods before inlining is over.
      	* cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for
      	virtual functions.
      	* cgraphclones.c (cgraph_create_virtual_clone): Mark clones as
      	non-virtual.
      
      testsuite/
      	* g++.dg/ipa/pr55264.C: New test.
      
      From-SVN: r195262
      Martin Jambor committed
    • trans-stmt.c (gfc_trans_do): Conditionally compute countm1 dependent on sign of step... · c5e7e996
      2013-01-17  Richard Biener  <rguenther@suse.de>
      
      	fortran/
      	* trans-stmt.c (gfc_trans_do): Conditionally compute countm1
      	dependent on sign of step, avoids repeated evaluation of
      	step sign test.  Avoid undefined overflow issues by using unsigned
      	arithmetic.
      
      From-SVN: r195260
      Richard Biener committed
    • compiler: Provide location for initialization function. · df69b598
      From-SVN: r195259
      Ian Lance Taylor committed