1. 10 Dec, 2015 29 commits
  2. 09 Dec, 2015 11 commits
    • re PR lto/61886 (LTO breaks fread with _FORTIFY_SOURCE=2) · 54363f8a
      
      	PR ipa/61886
      	PR middle-end/25140
      	* tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Use compare_base_decls
      	(nonoverlapping_component_refs_of_decl_p): Update sanity check.
      	(decl_refs_may_alias_p): Use compare_base_decls.
      	* alias.c: Include cgraph.h
      	(rtx_equal_for_memref_p): Use rtx_equal_for_memref_p.
      	(compare_base_decls): New function.
      	(base_alias_check): Likewise.
      	(memrefs_conflict_p): Likewise.
      	(nonoverlapping_memrefs_p): Likewise.
      	* alias.h (compare_base_decls): Declare.
      
      	* gcc.c-torture/execute/alias-2.c: New testcase.
      
      From-SVN: r231478
      Jan Hubicka committed
    • re PR lto/68811 (ICE: in get, at cgraph.h:1218) · da20571a
      	PR lto/68811
      	* lto.c (lto_fixup_prevailing_decls): Do not check TREE_CHAIN of
      	DECL.
      	(LTO_NO_PREVAIL): Use gcc_checking_assert.
      
      From-SVN: r231477
      Jan Hubicka committed
    • trans.c (gfc_allocate_using_lib,gfc_deallocate_with_status): Introducing __asm__… · 985f6c79
      trans.c (gfc_allocate_using_lib,gfc_deallocate_with_status): Introducing __asm__ __volatile__ ("":::"memory") after image control statements.
      
      2015-12-09  Tobias Burnus  <burnus@net-b.de>
                  Alessandro Fanfarillo <fanfarillo.gcc@gmail.com>
      
              * trans.c (gfc_allocate_using_lib,gfc_deallocate_with_status):
              Introducing __asm__ __volatile__ ("":::"memory")
              after image control statements.
              * trans-stmt.c  (gfc_trans_sync, gfc_trans_event_post_wait,
              gfc_trans_lock_unlock, gfc_trans_critical): Ditto.
              * trans-intrinsic.c (gfc_conv_intrinsic_caf_get,
              conv_caf_send): Introducing __asm__ __volatile__ ("":::"memory")
              after send, before get and around sendget.
      
      2015-12-09  Tobias Burnus  <burnus@net-b.de>
                  Alessandro Fanfarillo <fanfarillo.gcc@gmail.com>
      
              * gfortran.dg/coarray_40.f90: New.
      
      Co-Authored-By: Alessandro Fanfarillo <fanfarillo.gcc@gmail.com>
      
      From-SVN: r231476
      Tobias Burnus committed
    • re PR lto/61886 (LTO breaks fread with _FORTIFY_SOURCE=2) · ff70d83c
      
      	PR ipa/61886
      	* ipa-visibility.c (function_and_variable_visibility): Fix vtable
      	rewritting guard.
      
      From-SVN: r231474
      Jan Hubicka committed
    • re PR lto/68811 (ICE: in get, at cgraph.h:1218) · 378004b9
      
      	PR lto/68811
      	* g++.dg/lto/pr68811_0.C: New testcase.
      	* g++.dg/lto/pr68811_1.C: New testcase.
      
      	* lto-symtab.c (lto_symtab_merge_decls_2): Decl can never be prevailed
      	by itself.
      
      From-SVN: r231473
      Jan Hubicka committed
    • re PR fortran/68815 (Error/warning diagnostic: '%s' should be converted to… · 811582ec
      re PR fortran/68815 (Error/warning diagnostic: '%s' should be converted to %qs-like or %<%s%>-like string strings)
      
      2015-12-09  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/68815
              * decl.c (gfc_verify_c_interop_param, variable_decl): Use
              %< ... %> for quoting in diagnostics.
              * io.c (check_format): Ditto.
              * resolve.c (resolve_operator): Ditto.
              * symbol.c (check_conflict): Ditto.
              * trans-common.c (translate_common): Ditto.
      
      From-SVN: r231472
      Tobias Burnus committed
    • re PR lto/61886 (LTO breaks fread with _FORTIFY_SOURCE=2) · 13261557
      
      	PR ipa/61886
      	PR middle-end/25140
      	* ipa-reference.c (ipa_reference_get_not_read_global,
      	ipa_reference_get_not_read_global): Fix WRT aliases.
      	(is_improper): Break out from ...
      	(is_proper_for_analysis): ... here; fix WRT aliases.
      	(analyze_function, generate_summary,
      	ipa_reference_write_optimization_summary,
      	ipa_reference_read_optimization_summary): Use ipa_reference_var_uid.
      	* ipa-refrence.h (ipa_reference_var_uid): New inline.
      	* tree-ssa-alias.c: Revert my accidental previous commit.
      	(ref_maybe_used_by_call_p_1,
      	call_may_clobber_ref_p_1): Use ipa_reference_var_uid.
      
      From-SVN: r231471
      Jan Hubicka committed
    • freebsd64.h: Remove the redefinition of WCHAR_TYPE. · 0a04f2df
      2015-12-09  Andreas Tobler  <andreast@gcc.gnu.org>
      
          * config/rs6000/freebsd64.h: Remove the redefinition of WCHAR_TYPE.
      
      From-SVN: r231470
      Andreas Tobler committed
    • specify more isl codegen options · d57ad2bf
      	* graphite-optimize-isl.c: Include isl/ast_build.h
      	(optimize_isl): Set several isl_options_set_* options.
      
      Co-Authored-By: Sebastian Pop <s.pop@samsung.com>
      
      From-SVN: r231467
      Aditya Kumar committed
    • add array access function in the right order · ce6a2c92
      we used to add the access functions in the wrong order, Fortran style, leading to unprofitable interchanges.
      
      	* graphite-sese-to-poly.c (pdr_add_memory_accesses): Iterate in
      	the same order as adding data reference access functions.
      
      Co-Authored-By: Sebastian Pop <s.pop@samsung.com>
      
      From-SVN: r231465
      Aditya Kumar committed
    • dump param name when timing out · 834cf257
           * graphite-optimize-isl.c (optimize_isl): Improve dump message.
      
      From-SVN: r231464
      Aditya Kumar committed