1. 05 Aug, 2015 9 commits
    • re PR fortran/52846 ([F2008] Support submodules) · a56ea54a
      2015-08-05  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/52846
      	* module.c (check_access): Return true if new static flag
      	'dump_smod' is true..
      	(gfc_dump_module): Rename original 'dump_module' and call from
      	new version. Use 'dump_smod' rather than the stack state to
      	determine if a submodule is being processed. The new version of
      	this procedure sets 'dump_smod' depending on the stack state and
      	then writes both the mod and smod files if a module is being
      	processed or just the smod for a submodule.
      	(gfc_use_module): Eliminate the check for module_name and
      	submodule_name being the same.
      	* trans-decl.c (gfc_finish_var_decl, gfc_build_qualified_array,
      	get_proc_pointer_decl): Set TREE_PUBLIC unconditionally and use
      	the conditions to set DECL_VISIBILITY as hidden and to set as
      	true DECL_VISIBILITY_SPECIFIED.
      
      2015-08-05  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/52846
      
      	* lib/fortran-modules.exp: Call cleanup-submodules from
      	cleanup-modules.
      	* gfortran.dg/public_private_module_2.f90: Add two XFAILS to
      	cover the cases where private entities are no longer optimized
      	away.
      	* gfortran.dg/public_private_module_6.f90: Add an XFAIL for the
      	same reason.
      	* gfortran.dg/submodule_1.f08: Change cleanup module names.
      	* gfortran.dg/submodule_5.f08: The same.
      	* gfortran.dg/submodule_9.f08: The same.
      	* gfortran.dg/submodule_10.f08: New test
      
      From-SVN: r226622
      Paul Thomas committed
    • re PR c++/66595 ([C++14] ICE in partial specialization template variables) · 8282c877
      2015-08-05  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/66595
      	* g++.dg/cpp1y/var-templ35.C: New.
      
      From-SVN: r226617
      Paolo Carlini committed
    • re PR tree-optimization/67055 (Segmentation fault in… · cd583fe1
      re PR tree-optimization/67055 (Segmentation fault in fold_builtin_alloca_with_align in tree-ssa-ccp.c)
      
      2015-08-05  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/67055
      	* tree-ssa-ccp.c (fold_builtin_alloca_with_align): Handle
      	NULL gimple_block.
      
      	* g++.dg/torture/pr67055.C: New testcase.
      
      From-SVN: r226616
      Richard Biener committed
    • Disable AVX-512VL insns for scalar mode operands on -march=knl. · f4904740
      gcc/
      	* config/i386/i386.md (define_attr "isa"): Addd avx512vl and
      	noavx512vl.
      	(define_attr "enabled"): Handle avx521vl and noavx512vl.
      	* config/i386/sse.md (define_insn "vec_dupv2df<mask_name>"): Split
      	AVX-512 alternative out of SSE.
      	(define_insn "*vec_concatv2df"): Ditto.
      
      From-SVN: r226612
      Kirill Yukhin committed
    • Merge SSE and AVX ptest patterns. · 0ea42426
      gcc/
      	* config/i386/i386.c (bdesc_args): Rename CODE_FOR_sse4_1_ptest into
      	CODE_FOR_sse4_1_ptestv2di and CODE_FOR_avx_vtestps256 into
      	CODE_FOR_avx_ptestv4di.
      	* config/i386/sse.md (define_mode_iterator V_AVX): New.
      	(define_mode_attr sse4_1): Extend to other 128/256-bit modes.
      	(define_insn "avx_ptest256"): Merge this ...
      	(define_insn "sse4_1_ptest"): And this ...
      	(define_insn "<sse4_1>_ptest<mode>"): Into this. Use V_AVX iterator.
      
      From-SVN: r226611
      Kirill Yukhin committed
    • re PR tree-optimization/67109 (ICE at -O3 on x86_64-linux-gnu in… · 97af59b2
      re PR tree-optimization/67109 (ICE at -O3 on x86_64-linux-gnu in vect_analyze_slp_instance, at tree-vect-slp.c:1793)
      
      2015-08-05  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/67109
      	* tree-vect-data-refs.c (vect_analyze_group_access_1): Check
      	against too big groups.  Print whether this is a load or store
      	group.  Rename from ...
      	(vect_analyze_group_access): ... this which is now a wrapper
      	dissolving an invalid group.
      	(vect_analyze_data_ref_accesses): Print whether this is a load
      	or store group.
      
      	* gcc.dg/torture/pr67109.c: New testcase.
      	* gcc.dg/vect/vect-119.c: Adjust.
      
      From-SVN: r226610
      Richard Biener committed
    • re PR c/67107 (ICE: SIGSEGV in tree_class_check with -frounding-math -funsafe-math-optimizations) · f980c9a2
      2015-08-05  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/67107
      	* match.pd: Guard const_binop result checking against NULL_TREE
      	result.
      
      	* gcc.dg/pr67107.c: New testcase.
      
      From-SVN: r226609
      Richard Biener committed
    • cse.c (cse_insn): Restoring old behaviour for src_eqv when dest and value in the REG_EQUAL are... · 1e928e07
      gcc/ChangeLog:
      
      2015-08-05  Kugan Vivekanandarajah  <kuganv@linaro.org>
      
      	* cse.c (cse_insn): Restoring old behaviour for src_eqv
      	 when dest and value in the REG_EQUAL are same and dest
      	 is STRICT_LOW_PART.
      
      From-SVN: r226606
      Kugan Vivekanandarajah committed
    • Daily bump. · 4856562a
      From-SVN: r226601
      GCC Administrator committed
  2. 04 Aug, 2015 31 commits