1. 07 Dec, 2015 20 commits
  2. 06 Dec, 2015 9 commits
    • re PR ada/60164 (Missing parenthesis in the documentation) · 8b1cbdab
      	PR ada/60164
      	* doc/gnat_ugn/gnat_and_program_execution.rst (gnatmem): Fix typo.
      
      From-SVN: r231342
      Piotr Trojanek committed
    • re PR ada/50048 ("cc1: note: obsolete option -I- used, please use -iquote… · e4b2093f
      re PR ada/50048 ("cc1: note: obsolete option -I- used, please use -iquote instead" during bootstrap)
      
      gnattools/
      	PR ada/50048
      	* Makefile.in (ftop_srcdir): New variable.
      	(INCLUDES_FOR_SUBDIR): Use -iquote and $(ftop_srcdir).
      gcc/ada/
      	PR ada/50048
      	* gcc-interface/Makefile.in (INCLUDES): Use -iquote.
      
      From-SVN: r231341
      Eric Botcazou committed
    • support for AMD clzero isa. · 62e56a0d
      gcc/ChangeLog
      2015-12-06  Victoria Stepanyan  <victoria.stepanyan@amd.com>
      
              * common/config/i386/i386-common.c
              (OPTION_MASK_ISA_CLZERO_SET): New.
              (ix86_handle_option): Handle clzero.
              * config.gcc (i[34567]86-*-*): Add clzerointrin.h,
              (x86_64-*-*): Likewise.
              * config/i386/clzerointrin.h: New header.
              * config/i386/cpuid.h (bit_CLZERO):  Define.
              * config/i386/driver-i386.c (host_detect_local_cpu): Detect
              CLZERO support.
              * config/i386/i386.opt (clzero): New.
              * config/i386/i386-c.c: Define __CLZERO__ if needed.
              * config/i386/i386.c (ix86_target_string): Define -mclzero option.
              (PTA_CLZERO): New.
              (ix86_option_override_internal): Handle new option.
              (processor_alias_table): Added PTA_CLZERO.
              (ix86_valid_target_attribute_inner_p): Add OPT_mclzero.
              (ix86_builtins): Add IX86_BUILTIN_CLZERO, IX86_BUILTIN_CLZERO.
              (ix86_expand_builtin): Handle IX86_BUILTIN_CLZERO and
              IX86_BUILTIN_CLZERO  built-ins.
              * config/i386/i386.h (TARGET_CLZERO):  New.
              * config/i386/i386.md (unspecv): Add UNSPEC_CLZERO.
              (clzero):  New pattern.
              (clzero_<mode>): New pattern.
              * config/i386/x86intrin.h: Include clzerointrin.h.
              * doc/extend.texi: Document clzero builtins.
              * doc/invoke.texi: Document -mclzero option.
      
      gcc/testsuite/ChangeLog
      2015-12-06  Victoria Stepanyan  <victoria.stepanyan@amd.com>
      
              * gcc.target/i386/clzero.c: New.
              * gcc.target/i386/sse-12.c: Add -mclzero.
              * gcc.target/i386/sse-13.c: Ditto.
              * gcc.target/i386/sse-14.c: Ditto.
              * gcc.target/i386/sse-22.c: Ditto.
              * gcc.target/i386/sse-23.c: Ditto.
              * g++.dg/other/i386-2.C: Ditto.
              * g++.dg/other/i386-3.C: Ditto.
      
      From-SVN: r231340
      Victoria Stepanyan committed
    • re PR ada/56274 (libada bootstrap failure on kfreebsd ("pthread_rwlock_t" not… · 2097a890
      re PR ada/56274 (libada bootstrap failure on kfreebsd ("pthread_rwlock_t" not declared in "OS_Interface"))
      
      	PR ada/56274
      	* s-osinte-kfreebsd-gnu.ads (pthread_rwlock_t): New subtype.
      	(pthread_rwlockattr_t): Likewise.
      
      From-SVN: r231337
      Eric Botcazou committed
    • re PR ada/49944 (Bootstrapping on x86_64-pc-kfreebsd-gnu fails with… · 928b5b52
      re PR ada/49944 (Bootstrapping on x86_64-pc-kfreebsd-gnu fails with "s-taprop.adb:856:10: "pthread_attr_setaffinity_np" is undefined (more references follow)")
      
      	PR ada/49944
      	* s-osinte-freebsd.ads: Minor reformatting.
      	(Stack_Base_Available): Correct comments.
      	* s-osinte-kfreebsd-gnu.ads (Time_Slice_Supported, nanosleep,
      	clock_id_t, clock_gettime, Stack_Base_Available, Get_Page_Size,
      	mprotect, pthread_mutexattr_setprotocol,pthread_mutexattr_getprotocol
      	pthread_mutexattr_setprioceiling, pthread_mutexattr_getprioceiling,
      	pthread_attr_setscope, pthread_attr_getscope,
      	pthread_attr_setinheritsched, pthread_attr_getinheritsched,
      	Time_Slice_Supported): Copy from s-osinte-freebsd.ads.
      	* gcc-interface/Makefile.in (x86/kfreebsd): Use the POSIX version of
      	the System.Task_Primitives.Operations package.
      
      From-SVN: r231333
      Ludovic Brenta committed
    • re PR ada/49940 (Bootstrapping on x86_64-pc-kfreebsd-gnu fails with… · f1b76208
      re PR ada/49940 (Bootstrapping on x86_64-pc-kfreebsd-gnu fails with "s-taprop.adb:717:32: "lwp_self" is undefined")
      
      	PR ada/49940
      	* s-osinte-kfreebsd-gnu.ads (lwp_self): New imported function.
      
      From-SVN: r231330
      Ludovic Brenta committed
    • download_prerequisites: Download ISL 0.15 instead of 0.14. · f78590bb
      2015-12-06  Tobias Burnus  <burnus@net-b.de>
      
              * download_prerequisites: Download ISL 0.15 instead of 0.14.
      
      From-SVN: r231329
      Tobias Burnus committed
    • Daily bump. · c7eea75b
      From-SVN: r231326
      GCC Administrator committed
  3. 05 Dec, 2015 5 commits
  4. 04 Dec, 2015 6 commits
    • check that all the scev applied ops have are dominated by their defs · e7b9f153
      2015-12-02  Aditya Kumar  <aditya.k7@samsung.com>
      	    Sebastian Pop  <s.pop@samsung.com>
      
              * gcc.dg/graphite/id-29.c: New test.
      
      gcc/ChangeLog:
      
      2015-12-02  Aditya Kumar  <aditya.k7@samsung.com>
      	    Sebastian Pop  <s.pop@samsung.com>
      
              * graphite-isl-ast-to-gimple.c (translate_isl_ast_node_user): Improve debug.
              (get_rename_from_scev): Check that all the ops in an expression have their uses dominated by corresponding defs.
      
      Co-Authored-By: Sebastian Pop <s.pop@samsung.com>
      
      From-SVN: r231310
      Aditya Kumar committed
    • fix PR68693: Check for loop structure when extending the SCoP · 15256e28
      The check for dominance while extending the scop assumed that
      multiple successors meant a loop which is not true in case of
      conditionals around the loop.
      
      Improved pretty printers for better debugging.
      
      	PR tree-optimization/68693
              * graphite-scop-detection.c (dot_all_sese): New
              (dot_all_scops_1): Renamed to dot_all_sese.
              (dot_all_scops): Removed.
              (dot_sese): New.
              (dot_cfg): New.
              (scop_detection::get_nearest_dom_with_single_entry): Check that preds are from different loop levels.
              (scop_detection::get_nearest_pdom_with_single_exit): Check that succs are from different loop levels.
              (scop_detection::print_sese): Inlined.
              (scop_detection::print_edge): New.
              (scop_detection::merge_sese): Added dumps.
              * graphite.h: Add declarations.
      
      gcc/testsuite/ChangeLog:
      
              * gfortran.dg/graphite/pr68693.f90: New test.
      
      Co-Authored-By: Sebastian Pop <s.pop@samsung.com>
      
      From-SVN: r231309
      Aditya Kumar committed
    • [AArch64] Add register constraints to add<mode>3_pluslong · bdf58480
      gcc/
      
      2015-12-04  James Greenhalgh  <james.greenhalgh@arm.com>
      
      	* config/aarch64/aarch64.md (add<mode>3_pluslong): Add register
      	constraints.
      
      gcc/testsuite/
      
      2015-12-04  James Greenhalgh  <james.greenhalgh@arm.com>
      
      	* gcc.c-torture/compile/20151204.c: New.
      
      From-SVN: r231304
      James Greenhalgh committed
    • * gcc.dg/vla-24.c: Requires alloca. · 2331aa00
      From-SVN: r231303
      Nathan Sidwell committed
    • re PR rtl-optimization/68349 (ice in decompose_normal_address with -O2 at rtlanal.c:6086) · 18c8f1a8
      2015-12-04  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/68349
      	* lra-eliminations.c (move_plus_up): New function.
      	(lra_eliminate_regs_1): Use the function.
      
      2015-12-04  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/68349
      	* gcc.target/i386/pr68349.c: New test.
      
      From-SVN: r231300
      Vladimir Makarov committed
    • nvptx.c (nvptx_assemble_decl_begin): New, replacing ... · 4ff3145a
      	gcc/
      	* config/nvptx/nvptx.c (nvptx_assemble_decl_begin): New,
      	replacing ...
      	(init_output_initializer): ... this.
      	(nvptx_output_aligned_decl, nvptx_asm_declare_constant_name,
      	nvptx_declare_object_name, nvptx_assemble_undefined_decl): Use
      	nvptx_assemble_decl_begin.
      
      	gcc/testsuite/
      	* gcc.target/nvptx/ary-init.c: New.
      
      From-SVN: r231298
      Nathan Sidwell committed