1. 18 Sep, 2014 9 commits
  2. 17 Sep, 2014 13 commits
  3. 16 Sep, 2014 15 commits
    • re PR target/61853 (ICE: SIGSEGV in store_field) · cbf6bcbe
      	PR target/61853
      	* config/pa/pa.c (pa_function_value): Directly handle aggregates
      	that fit exactly in a word or double word.
      
      From-SVN: r215309
      John David Anglin committed
    • PR libfortran/62768 Handle filenames with embedded null characters. · 0e05c303
      testsuite ChangeLog:
      
      2014-09-17  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	PR libfortran/62768
      	* gfortran.dg/filename_null.f90: New test.
      
      libgfortran ChangeLog:
      
      2014-09-17  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	PR libfortran/62768
      	* io/io.h (gfc_unit): Store C string for the filename.
      	* io/close.c (st_close): Use gfc_unit.filename.
      	* io/inquire.c (inquire_via_unit): Likewise.
      	* io/open.c (new_unit): Likewise.
      	(already_open): Likewise, unlink file before freeing filename.
      	* io/unit.c (init_units): Likewise.
      	(close_unit_1): Likewise.
      	(filename_from_unit): Likewise.
      	* io/unix.c (compare_file_filename): Likewise.
      	(find_file0): Likewise.
      	(delete_file): Likewise.
      
      From-SVN: r215307
      Janne Blomqvist committed
    • Fix a typo in gcc.dg/pg-override.c · 7425e424
      	* gcc.dg/pg-override.c: Fix a typo.
      
      From-SVN: r215304
      H.J. Lu committed
    • Fix a typo in gcc.dg/pg.c · 1ca894fa
      	* gcc.dg/pg.c: Fix a typo.
      
      From-SVN: r215301
      H.J. Lu committed
    • re PR testsuite/63258 (FAIL: gcc.dg/vect/costmodel/ppc/costmodel-slp-33.c… · a0a2a23b
      re PR testsuite/63258 (FAIL: gcc.dg/vect/costmodel/ppc/costmodel-slp-33.c scan-tree-dump-times vect "vectorization not profitable" 1)
      
      2014-09-16  Richard Biener  <rguenther@suse.de>
      
      	PR testsuite/63258
      	* gcc.dg/vect/costmodel/ppc/costmodel-slp-33.c: Remove scan
      	for "vectorization not profitable".
      
      From-SVN: r215299
      Richard Biener committed
    • driver-i386.c (host_detect_local_cpu): Detect lack of zmm/k regs support. · 2c12f2f4
      gcc/
      2014-09-16  Ilya Tocar  <ilya.tocar@intel.com>
      
              * config/i386/driver-i386.c (host_detect_local_cpu): Detect lack of
              zmm/k regs support.
      
      testsuite/
      2014-09-16  Ilya Tocar  <ilya.tocar@intel.com>
      
              * gcc.target/i386/avx512f-os-support.h: Remove magic number.
      
      From-SVN: r215297
      Ilya Tocar committed
    • AVX-512. Extend extract insn patterns. · 0774c160
      gcc/
      	* config/i386/i386.c
      	(ix86_expand_vector_extract): Handle V32HI and V64QI modes.
      	* config/i386/sse.md
      	(define_mode_iterator VI48F_256): New.
      	(define_mode_attr extract_type): Ditto.
      	(define_mode_attr extract_suf): Ditto.
      	(define_mode_iterator AVX512_VEC): Ditto.
      	(define_expand
      	"<extract_type>_vextract<shuffletype><extract_suf>_mask"): Use
      	AVX512_VEC.
      	(define_insn "avx512dq_vextract<shuffletype>64x2_1_maskm"): New.
      	(define_insn
      	"<mask_codefor>avx512dq_vextract<shuffletype>64x2_1<mask_name>"):
      	Ditto.
      	(define_mode_attr extract_type_2): Ditto.
      	(define_mode_attr extract_suf_2): Ditto.
      	(define_mode_iterator AVX512_VEC_2): Ditto.
      	(define_expand
      	"<extract_type_2>_vextract<shuffletype><extract_suf_2>_mask"): Use
      	AVX512_VEC_2 mode iterator.
      	(define_insn "vec_extract_hi_<mode>_maskm"): Ditto.
      	(define_expand "avx512vl_vextractf128<mode>"): Ditto.
      	(define_insn_and_split "vec_extract_lo_<mode>"): Delete.
      	(define_insn "vec_extract_lo_<mode><mask_name>"): New.
      	(define_split for V16FI mode): Ditto.
      	(define_insn_and_split "vec_extract_lo_<mode>"): Delete.
      	(define_insn "vec_extract_lo_<mode><mask_name>"): New.
      	(define_split for VI8F_256 mode): Ditto.
      	(define_insn "vec_extract_hi_<mode><mask_name>"): Add masking.
      	(define_insn_and_split "vec_extract_lo_<mode>"): Delete.
      	(define_insn "vec_extract_lo_<mode><mask_name>"): New.
      	(define_split for VI4F_256 mode): Ditto.
      	(define_insn "vec_extract_lo_<mode>_maskm"): Ditto.
      	(define_insn "vec_extract_hi_<mode>_maskm"): Ditto.
      	(define_insn "vec_extract_hi_<mode><mask_name>"): Add masking.
      	(define_mode_iterator VEC_EXTRACT_MODE): Add V64QI and V32HI modes.
      	(define_insn "vcvtph2ps<mask_name>"): Fix pattern condition.
      	(define_insn "avx512f_vextract<shuffletype>32x4_1_maskm"): Ditto.
      	(define_insn "<mask_codefor>avx512f_vextract<shuffletype>32x4_1<mask_name>"):
      	Update `type' attribute, remove explicit `memory' attribute calculation.
      
      
      Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com>
      Co-Authored-By: Anna Tikhonova <anna.tikhonova@intel.com>
      Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com>
      Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com>
      Co-Authored-By: Kirill Yukhin <kirill.yukhin@intel.com>
      Co-Authored-By: Maxim Kuznetsov <maxim.kuznetsov@intel.com>
      Co-Authored-By: Michael Zolotukhin <michael.v.zolotukhin@intel.com>
      
      From-SVN: r215296
      Alexander Ivchenko committed
    • re PR fortran/56408 (Fix dependency handling of testsuite/gfortran.dg) · 7c943bd8
      	PR fortran/56408
      	* gfortran.dg/dg.exp (dg-compile-aux-modules): Workaround
      	missing nexted dg-test call support in dejaGNU 1.4.4.
      
      From-SVN: r215293
      Jakub Jelinek committed
    • Clean up useless initialization for IRA if using LRA. · 9994ad20
      gcc/
      	* ira.c (ira): Don't initialize ira_spilled_reg_stack_slots and
      	ira_spilled_reg_stack_slots_num if using lra.
      	(do_reload): Remove release ira_spilled_reg_stack_slots part.
      	* ira-color.c (ira_sort_regnos_for_alter_reg): Add assertion to
      	make sure not using lra.
      	(ira_reuse_stack_slot): Likewise.
      	(ira_mark_new_stack_slot): Likewise.
      
      From-SVN: r215286
      Kito Cheng committed
    • Add some more test cases for fentry and pg · a86507b2
      Test fentry and no_instrument_function overriding.
      
      gcc/testsuite/:
      
      2014-09-15  Andi Kleen  <ak@linux.intel.com>
      
      	* gcc.dg/pg-override.c: New test.
      	* gcc.dg/pg.c: New test.
      	* gcc.target/i386/fentry-override.c: New test.
      	* gcc.target/i386/fentry.c: New test.
      
      From-SVN: r215285
      Andi Kleen committed
    • Always set DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT correctly · 0b37ba8a
      When profiling is disabled force DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT
      for each function to one. This information is then preserved
      through LTO.
      
      With this patch for LTO builds -pg needs to be set on both the
      LTO final link and the original source build, to allow -pg
      (or -pg -fentry) to be active for that source file. This allows
      to build large projects mostly with -pg, except for a few files,
      and still use LTO.
      
      gcc/:
      
      2014-09-15  Andi Kleen  <ak@linux.intel.com>
      
      	* function.c (allocate_struct_function): Force
      	DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT to one when
      	profiling is disabled.
      
      From-SVN: r215284
      Andi Kleen committed
    • pt.c (lookup_template_class_1): Splice out abi_tag attribute if necessary. · e9305042
      	* pt.c (lookup_template_class_1): Splice out abi_tag attribute if
      	necessary.  Call inherit_targ_abi_tags here.
      	* class.c (check_bases_and_members): Not here.
      	(inherit_targ_abi_tags): Check CLASS_TYPE_P.
      	* cp-tree.h: Declare inherit_targ_abi_tags.
      
      From-SVN: r215283
      Jason Merrill committed
    • Replace INSN_DELETED_P with rtx_insn member functions · 4654c0cf
      gcc/
      
      	* cfgrtl.c, combine.c, config/arc/arc.c, config/mcore/mcore.c,
      	config/rs6000/rs6000.c, config/sh/sh.c, cprop.c, dwarf2out.c,
      	emit-rtl.c, final.c, function.c, gcse.c, jump.c, reg-stack.c,
      	reload1.c, reorg.c, resource.c, sel-sched-ir.c: Replace INSN_DELETED_P
      	macro with statically checked member functions.
      	* rtl.h (rtx_insn::deleted): New method.
      	(rtx_insn::set_deleted): Likewise.
      	(rtx_insn::set_undeleted): Likewise.
      	(INSN_DELETED_P): Remove.
      
      From-SVN: r215282
      Trevor Saunders committed
    • use rtx_insn * more · e73de8f3
      gcc/ChangeLog:
      
      2014-09-15  Trevor Saunders  <tsaunders@mozilla.com>
      
      	* config/mn10300/mn10300.c (mn10300_insert_setlb_lcc): Assign the
      	result of emit_jump_insn_before to a new variable.
      	* jump.c (mark_jump_label): Change the type of insn to rtx_insn *.
      	(mark_jump_label_1): Likewise.
      	(mark_jump_label_asm): Likewise.
      	* reload1.c (gen_reload): Change type of tem to rtx_insn *.
      	* rtl.h (mark_jump_label): Adjust.
      
      From-SVN: r215281
      Trevor Saunders committed
    • Daily bump. · a9a54305
      From-SVN: r215280
      GCC Administrator committed
  4. 15 Sep, 2014 3 commits
    • re PR fortran/56408 (Fix dependency handling of testsuite/gfortran.dg) · f6815e40
      	PR fortran/56408
      	* gfortran.dg/dg.exp (gfortran_test_path, gfortran_aux_module_flags):
      	New global vars.
      	(dg-compile-aux-modules): New procedure.
      	* gfortran.dg/binding_label_tests_10.f03: Remove comment
      	and keep-modules.
      	* gfortran.dg/binding_label_tests_10_main.f03: Remove comment,
      	use dg-compile-aux-modules.
      	* gfortran.dg/binding_label_tests_11.f03: Remove comment
      	and keep-modules.
      	* gfortran.dg/binding_label_tests_11_main.f03: Remove comment,
      	use dg-compile-aux-modules.
      	* gfortran.dg/binding_label_tests_13.f03: Remove comment
      	and keep-modules.
      	* gfortran.dg/binding_label_tests_13_main.f03: Remove comment,
      	use dg-compile-aux-modules.
      	* gfortran.dg/binding_label_tests_26a.f90: Remove comment
      	and keep-modules.
      	* gfortran.dg/binding_label_tests_26b.f90: Remove comment,
      	use dg-compile-aux-modules.
      	* gfortran.dg/class_45a.f03: Remove keep-modules.
      	* gfortran.dg/class_45b.f03: Use dg-compile-aux-modules
      	and cleanup-modules.
      	* gfortran.dg/class_4a.f03: Use dg-do link, use
      	dg-additional-sources and cleanup-modules, remove keep-modules
      	and update comment.
      	* gfortran.dg/class_4b.f03: Don't compile anywhere, remove
      	keep-modules, adjust comment.
      	* gfortran.dg/class_4c.f03: Don't compile anywhere, remove
      	dg-additional-sources and cleanup-modules.
      	* gfortran.dg/coarray_29_1.f90: Remove keep-modules and
      	associated comment.
      	* gfortran.dg/coarray_29_2.f90: Use dg-compile-aux-modules,
      	remove comment.
      	* gfortran.dg/test_common_binding_labels_2.f03: Remove keep-modules.
      	* gfortran.dg/test_common_binding_labels_2_main.f03: Remove comment,
      	use dg-compile-aux-modules.
      	* gfortran.dg/test_common_binding_labels_3.f03: Remove keep-modules.
      	* gfortran.dg/test_common_binding_labels_3_main.f03: Remove comment,
      	use dg-compile-aux-modules.
      	* gfortran.dg/whole_file_28.f90: Remove comment and keep-modules.
      	* gfortran.dg/whole_file_29.f90: Remove comment, use
      	dg-compile-aux-modules.
      	* gfortran.dg/whole_file_30.f90: Remove comment and keep-modules.
      	* gfortran.dg/whole_file_31.f90: Remove comment, use
      	dg-compile-aux-modules.
      
      From-SVN: r215275
      Jakub Jelinek committed
    • Do not diagnose lambda default arguments in c++14 modes. · 6a3d8ef0
      	* parser.c (cp_parser_lambda_declarator_opt): Make the pedwarn
      	conditional.
      
      From-SVN: r215274
      Ville Voutilainen committed
    • Makefile.in (dg_target_exps): Remove. · 717c4789
      gcc/
      	* Makefile.in (dg_target_exps): Remove.
      	(check_gcc_parallelize): Change to just an upper bound number.
      	(check-%-subtargets): Always print the non-parallelized goals.
      	(check_p_vars, check_p_comma, check_p_subwork): Remove.
      	(check_p_count, check_p_numbers0, check_p_numbers1, check_p_numbers2,
      	check_p_numbers3, check_p_numbers4, check_p_numbers5,
      	check_p_numbers6): New variables.
      	(check_p_numbers): Set to sequence from 1 to 9999.
      	(check_p_subdirs): Set to sequence from 1 to minimum of
      	$(check_p_count) and either GCC_TEST_PARALLEL_SLOTS env var if set,
      	or 128.
      	(check-%, check-parallel-%): Rewritten so that for parallelized
      	testing each job runs all the *.exp files, with
      	GCC_RUNTEST_PARALLELIZE_DIR set in environment.
      gcc/go/
      	* Make-lang.in (check_go_parallelize): Change to just an upper bound
      	number.
      gcc/fortran/
      	* Make-lang.in (check_gfortran_parallelize): Change to just an upper
      	bound number.
      gcc/cp/
      	* Make-lang.in (check_g++_parallelize): Change to just an upper bound
      	number.
      gcc/objc/
      	* Make-lang.in (check_objc_parallelize): Change to just an upper
      	bound number.
      gcc/ada/
      	* gcc-interface/Make-lang.in (check_acats_numbers0,
      	check_acats_numbers1, check_acats_numbers2, check_acats_numbers3,
      	check_acats_numbers4, check_acats_numbers5, check_acats_numbers6,
      	check_acats_numbers, check_acats_subdirs): New variables.
      	(check_acats_targets): Use $(check_acats_subdirs).
      	(check-acats, check-acats%): Rewritten so that for parallelized
      	testing each job runs all the chapters files, with
      	GCC_RUNTEST_PARALLELIZE_DIR set in environment.  Prepare the support
      	directory sequentially and share it.
      	(check-acats-subtargets): Always print just check-acats.
      gcc/testsuite/
      	* lib/gcc-defs.exp (gcc_parallel_test_run_p,
      	gcc_parallel_test_enable): New procedures.  If
      	GCC_RUNTEST_PARALLELIZE_DIR is set in environment, override
      	runtest_file_p to invoke also gcc_parallel_test_run_p.
      	* g++.dg/guality/guality.exp (check_guality): Save/restore
      	test_counts array around the body of the procedure.
      	* gcc.dg/guality/guality.exp (check_guality): Likewise.
      	* g++.dg/plugin/plugin.exp: Run all the tests serially
      	by the first parallel runtest encountering it.
      	* gcc.dg/plugin/plugin.exp: Likewise.
      	* gcc.misc-tests/matrix1.exp: Likewise.
      	* gcc.misc-tests/dhry.exp: Likewise.
      	* gcc.misc-tests/acker1.exp: Likewise.
      	* gcc.misc-tests/linkage.exp: Likewise.
      	* gcc.misc-tests/mg.exp: Likewise.
      	* gcc.misc-tests/mg-2.exp: Likewise.
      	* gcc.misc-tests/sort2.exp: Likewise.
      	* gcc.misc-tests/sieve.exp: Likewise.
      	* gcc.misc-tests/options.exp: Likewise.
      	* gcc.misc-tests/help.exp: Likewise.
      	* go.test/go-test.exp (go-gc-tests): Use
      	gcc_parallel_test_enable {0, 1} around all handling of
      	each test.
      	* objc.dg/gnu-encoding/gnu-encoding.exp: Likewise.
      	* ada/acats/run_all.sh: Parallelize using mkdir inside of
      	a shared directory.  Avoid forking and expr uses if
      	shell supports $(()).
      libstdc++-v3/
      	* testsuite/Makefile.am (check_p_numbers0, check_p_numbers1,
      	check_p_numbers2, check_p_numbers3, check_p_numbers4,
      	check_p_numbers5, check_p_numbers6, check_p_numbers,
      	check_p_subdirs): New variables.
      	(check_DEJAGNU_normal_targets): Use check_p_subdirs.
      	(check-DEJAGNU): Rewritten so that for parallelized
      	testing each job runs all the *.exp files, with
      	GCC_RUNTEST_PARALLELIZE_DIR set in environment.
      	* testsuite/Makefile.in: Regenerated.
      	* testsuite/lib/libstdc++.exp (gcc_parallel_test_run_p,
      	gcc_parallel_test_enable): New procedures.  If
      	GCC_RUNTEST_PARALLELIZE_DIR is set in environment, override
      	runtest_file_p to invoke also gcc_parallel_test_run_p.
      	* testsuite/libstdc++-abi/abi.exp: Run all the tests serially
      	by the first parallel runtest encountering it.  Fix up path
      	of the extract_symvers script.
      	* testsuite/libstdc++-xmethods/xmethods.exp: Run all the tests
      	serially by the first parallel runtest encountering it.  Run
      	dg-finish even in case of error.
      
      From-SVN: r215273
      Jakub Jelinek committed