1. 31 Mar, 2015 12 commits
    • re PR target/58945 (Improve atomic_compare_and_swap*_doubleword pattern) · 9e91e2cd
      	PR target/58945
      	* config/i386/sync.md (atomic_compare_and_swap<dwi>_doubleword):
      	Do not split operands 0 and operands 2 to halfmode.
      	(atomic_compare_and_swap<mode>): Update for
      	atomic_compare_and_swap<dwi>_doubleword changes.
      
      From-SVN: r221798
      Uros Bizjak committed
    • tree.c (need_assembler_name_p): Artificial types have no ODR names. · 36ceb0e3
      	* tree.c (need_assembler_name_p): Artificial types have no ODR
      	names.
      	* ipa-devirt.c (warn_odr): Do not try to apply ODR cache when
      	no caching is done.
      	* lto.c (lto_read_decls): Move code registering odr types out
      	of TYPE_CANONICAL conditional and also register polymorphic types.
      
      From-SVN: r221797
      Jan Hubicka committed
    • re PR ipa/65557 (ICE: SIGSEGV in hash_table<>::find_slot_with_hash() with… · 12cc8c72
      re PR ipa/65557 (ICE: SIGSEGV in hash_table<>::find_slot_with_hash() with -fdevirtualize -fipa-cp -fipa-icf-functions)
      
      Fix PR65557.
      
      	* ipa-icf.c (sem_function::equals_wpa): Check if IPA CP
      	has already filled up function summary.
      	(sem_item_optimizer::update_hash_by_addr_refs): Likewise.
      	* g++.dg/ipa/pr65557.C: New test.
      
      From-SVN: r221796
      Martin Liska committed
    • tree-sra.c (create_access_replacement): Drop under-/over-alignment of types. · 78f1b523
      2015-03-31  Richard Biener  <rguenther@suse.de>
      
      	* tree-sra.c (create_access_replacement): Drop under-/over-alignment
      	of types.
      
      From-SVN: r221795
      Richard Biener committed
    • S/390: Hotpatch: Remove special handling of nested functions. · 2d38d809
      gcc/
      2015-03-31  Dominik Vogt  <vogt@linux.vnet.ibm.com>
      
      	    * config/s390/s390.c (s390_function_num_hotpatch_hw): Allow hotpatching
      	    nested functions.
      	    (s390_reorg): Adapt to new signature of s390_function_num_hotpatch_hw.
      	    (s390_asm_output_function_label): Adapt to new signature of
      	    s390_function_num_hotpatch_hw
      	    Optimise the code generating assembler output.
      	    Add comments to assembler file.
      
      gcc/testsuite/
      2015-03-31  Dominik Vogt  <vogt@linux.vnet.ibm.com>
      
      	    * gcc.target/s390/hotpatch-25.c: New test.
      	    * gcc.target/s390/hotpatch-1.c: Update test.
      	    * gcc.target/s390/hotpatch-10.c: Update test.
      	    * gcc.target/s390/hotpatch-11.c: Update test.
      	    * gcc.target/s390/hotpatch-12.c: Update test.
      	    * gcc.target/s390/hotpatch-13.c: Update test.
      	    * gcc.target/s390/hotpatch-14.c: Update test.
      	    * gcc.target/s390/hotpatch-15.c: Update test.
      	    * gcc.target/s390/hotpatch-16.c: Update test.
      	    * gcc.target/s390/hotpatch-17.c: Update test.
      	    * gcc.target/s390/hotpatch-18.c: Update test.
      	    * gcc.target/s390/hotpatch-19.c: Update test.
      	    * gcc.target/s390/hotpatch-2.c: Update test.
      	    * gcc.target/s390/hotpatch-21.c: Update test.
      	    * gcc.target/s390/hotpatch-22.c: Update test.
      	    * gcc.target/s390/hotpatch-23.c: Update test.
      	    * gcc.target/s390/hotpatch-24.c: Update test.
      	    * gcc.target/s390/hotpatch-3.c: Update test.
      	    * gcc.target/s390/hotpatch-4.c: Update test.
      	    * gcc.target/s390/hotpatch-5.c: Update test.
      	    * gcc.target/s390/hotpatch-6.c: Update test.
      	    * gcc.target/s390/hotpatch-7.c: Update test.
      	    * gcc.target/s390/hotpatch-8.c: Update test.
      	    * gcc.target/s390/hotpatch-9.c: Update test.
      	    * gcc.target/s390/hotpatch-compile-16.c: Update test.
      
      From-SVN: r221794
      Dominik Vogt committed
    • re PR c++/65626 (ICE in fixup_noreturn_call called by tree-ssa-forwprop.c:2492) · bed18fbd
      2015-03-31  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/65626
      	* tree-cfgcleanup.c (fixup_noreturn_call): Only split the block
      	of the noreturn call so it is last and cleanup_control_flow_bb
      	can do the CFG part.
      
      	* g++.dg/torture/pr65626.C: New testcase.
      
      From-SVN: r221790
      Richard Biener committed
    • Fix bzero warning in child_setup_tty · 20f234a8
      2015-03-31  Tom de Vries  <tom@codesourcery.com>
      
      	PR ada/65490
      	* terminals.c (child_setup_tty): Fix warning 'argument to sizeof in
      	bzero call is the same expression as the destination'.
      
      From-SVN: r221789
      Tom de Vries committed
    • re PR target/65531 (ICE: symtab_node::verify failed: Two symbols with same… · b7e85ee1
      re PR target/65531 (ICE: symtab_node::verify failed: Two symbols with same comdat_group are not linked by the same_comdat_group list. with -fcheck-pointer-bounds -mmpx)
      
      gcc/
      
      	PR target/65531
      	* ipa-chkp.c (chkp_maybe_create_clone): Don't set
      	same_comdat_group for external symbols.
      	* symtab.c (symtab_node::verify_symtab_nodes): Avoid
      	infinite same_comdat_group traversal loop.
      
      gcc/testsuite/
      
      	PR target/65531
      	* gcc.target/i386/mpx/pr65531.cc: New.
      
      From-SVN: r221788
      Ilya Enkovich committed
    • re PR target/65602 (gcc.target/i386/mpx tests FAIL) · ce52d884
      	PR target/65602
      	* gcc.target/i386/mpx/alloca-1-lbv.c (mpx_test): Use
      	__builtin_alloca instead of alloca.
      	* gcc.target/i386/mpx/alloca-1-nov.c (mpx_test): Likewise.
      	* gcc.target/i386/mpx/alloca-1-ubv.c (mpx_test): Likewise.
      	* lib/mpx-dg.exp (check_effective_target_mpx): Add wrapper
      	check.
      
      From-SVN: r221787
      Ilya Enkovich committed
    • re PR plugins/61176 (plugin builds including gimple.h not building) · b626318e
      	PR plugins/61176
      	* Makefile.in (install-plugin): Add all gcc/*.{h,def} files
      	automatically to $headers.
      
      From-SVN: r221786
      Jakub Jelinek committed
    • Daily bump. · 4a37fb99
      From-SVN: r221785
      GCC Administrator committed
    • compiler: Mark builtin calls with bad types as errors. · a7b09e17
      Fixes golang/go/#10285.
      
      From-SVN: r221782
      Ian Lance Taylor committed
  2. 30 Mar, 2015 9 commits
  3. 29 Mar, 2015 6 commits
  4. 28 Mar, 2015 7 commits
  5. 27 Mar, 2015 6 commits
    • re PR ipa/65588 (lto1: internal compiler error: Segmentation fault) · c97de764
      
      	PR ipa/65588
      	* symtab.c (symtab_node::get_partitioning_class): Register vars
      	are duplicated.
      	* varpool.c (symbol_table::output_variables) Do not assemble unefined
      	decls for non-symbols.
      
      From-SVN: r221745
      Jan Hubicka committed
    • re PR c/65586 (-fopenmp-simd rejects valid input) · 62021f64
      2015-03-27  Tobias Burnus  <burnus@net-b.de>
      
              PR c/65586
      gcc/c/
              * c-parser.c (c_parser_skip_to_pragma_eol): Optionally, don't
              error out.
              (c_parser_omp_for, c_parser_omp_parallel, c_parser_omp_distribute,
              c_parser_omp_teams, c_parser_omp_target, c_parser_omp_declare):
              Update calls to not error for skipped omp pragmas with -fopenmp-simd.
      
      gcc/cp/
              * parser.c (cp_parser_omp_for, cp_parser_omp_parallel,
              cp_parser_omp_distribute, cp_parser_omp_teams, cp_parser_omp_target,
              cp_parser_omp_declare): Don't show error for skipped omp pragmas
              with -fopenmp-simd.
      
      gcc/testsuite/
              * g++.dg/gomp/openmp-simd-3.C: New.
              * gcc.dg/gomp/openmp-simd-3.c: New.
      
      From-SVN: r221744
      Tobias Burnus committed
    • Add default_binds_local_p_2 and use it for x86 · a5eef8e9
      Protected data symbol means that it can't be pre-emptied.  It doesn't mean
      its address won't be external.  This is true for pointer to protected
      function.  With copy relocation, address of protected data defined in the
      shared library may also be external.  We only know that for sure at
      run-time.  TARGET_BINDS_LOCAL_P should return false on protected data
      symbol.
      
      gcc/
      
      	PR target/65248
      	* output.h (default_binds_local_p_2): New.
      	* varasm.c (default_binds_local_p_2): Renamed to ...
      	(default_binds_local_p_3): This.  Don't return true on protected
      	data symbol if protected data may be external.
      	(default_binds_local_p): Use default_binds_local_p_3.
      	(default_binds_local_p_1): Likewise.
      	(default_binds_local_p_2): New.
      	* config/i386/i386.c (TARGET_BINDS_LOCAL_P): Set to
      	default_binds_local_p_2 if TARGET_MACHO is undefined.
      
      gcc/testsuite/
      
      	PR target/65248
      	* gcc.target/i386/pr65248-1.c: New file.
      	* gcc.target/i386/pr65248-2.c: Likewise.
      	* gcc.target/i386/pr65248-3.c: Likewise.
      	* gcc.target/i386/pr65248-4.c: Likewise.
      
      From-SVN: r221742
      H.J. Lu committed
    • re PR target/65593 (internal compiler error: in extract_insn, at recog.c:2343) · f21a5899
      	PR target/65593
      	* config/i386/i386.c (legitimize_pic_address): If base
      	is SYMBOL_REF or LABEL_REF using %rip addressing, force
      	it to reg to avoid PLUS of SYMBOL_REF/LABEL_REF and register.
      
      	* gcc.c-torture/compile/pr65593.c: New test.
      
      From-SVN: r221741
      Jakub Jelinek committed
    • re PR c++/59329 (Using `assert(...)` is not allowed in constexpr functions) · 4e55d61a
      2015-03-27  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/59329
      	* g++.dg/cpp1y/constexpr-assert1.C: New.
      
      From-SVN: r221740
      Paolo Carlini committed
    • Install back PR target/47230 fix (Revert the revert). · 13be44ed
      From-SVN: r221739
      Uros Bizjak committed