Skip to content
Snippets Groups Projects
  1. Jan 15, 2013
    • Paul Pluzhnikov's avatar
      re PR other/55982 (__strncat_chk is buggy) · b164615d
      Paul Pluzhnikov authored
      2013-01-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
      
      	PR 55982
      	* strncat-chk.c (__strncat_chk): Fix loop unroll.
      
      From-SVN: r195207
      b164615d
    • Richard Biener's avatar
      re PR bootstrap/55961 (system.h includes gmp.h but system.h is included for... · 34ab62ee
      Richard Biener authored
      re PR bootstrap/55961 (system.h includes gmp.h but system.h is included for build and not just target)
      
      2013-01-15  Richard Biener  <rguenther@suse.de>
      
      	PR bootstrap/55961
      	* system.h: Do not include gmp.h for building host tools.
      
      From-SVN: r195205
      34ab62ee
    • Sofiane Naci's avatar
      [AARCH64] Fix __clear_cache. · e0f8b6a0
      Sofiane Naci authored
      From-SVN: r195203
      e0f8b6a0
    • Matthias Klose's avatar
      - regenerate class files for updated copyright years, changed in: · 93aea671
      Matthias Klose authored
        r194903 | jakub | 2013-01-04 13:49:55 +0100 (Fr, 04. Jan 2013) | 2 Zeilen
      
        Update Copyright years for files modified in 2011 and/or 2012.
      
      From-SVN: r195198
      93aea671
    • Matthias Klose's avatar
      Main.java: Accept -source 1.5, 1.6, 1.7. · e478072e
      Matthias Klose authored
      2013-01-10  Matthias Klose <doko@ubuntu.com>
      
              * tools/gnu/classpath/tools/gjdoc/Main.java: Accept -source 1.5,
              1.6, 1.7.
      
      From-SVN: r195197
      e478072e
    • Richard Biener's avatar
      re PR other/55973 (r195150 doesn't properly handle out of tree isl 0.11.1) · 2869f0ff
      Richard Biener authored
      2013-01-15  Richard Biener  <rguenther@suse.de>
      
      	PR other/55973
      	* configure: Re-generate.
      
      	config/
      	* isl.m4 (ISL_INIT_FLAGS): Warn about disabled version check
      	for in-tree build.
      	(ISL_CHECK_VERSION): Do not use AC_CACHE_CHECK.
      	* cloog.m4 (CLOOG_INIT_FLAGS): Disable version check for
      	in-tree build and warn about that.
      	(CLOOG_CHECK_VERSION): Do not use AC_CACHE_CHECK.
      
      From-SVN: r195195
      2869f0ff
    • Richard Biener's avatar
      re PR middle-end/55882 (unaligned load/store : incorrect struct offset) · 783a3a05
      Richard Biener authored
      2013-01-15  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/55882
      	* emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
      	account for bitpos when computing alignment.
      
      	* gcc.dg/torture/pr55882.c: New testcase.
      
      From-SVN: r195194
      783a3a05
    • Vladimir Yakovlev's avatar
      i386-c.c (ix86_target_macros_internal): New case. · 3a579e09
      Vladimir Yakovlev authored
              * config/i386/i386-c.c (ix86_target_macros_internal): New case.
              (ix86_target_macros_internal): Likewise.
      
              * config/i386/i386.c (m_CORE2I7): Removed.
              (m_CORE_HASWELL): New macro.
              (m_CORE_ALL): Likewise.
              (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
              (initial_ix86_arch_features): Likewise.
              (processor_target_table): Initializations for Core avx2.
              (cpu_names): New names "core-avx2".
              (ix86_option_override_internal): Changed PROCESSOR_COREI7 by
              PROCESSOR_CORE_HASWELL.
              (ix86_issue_rate): New case.
              (ia32_multipass_dfa_lookahead): Likewise.
              (ix86_sched_init_global): Likewise.
      
              * config/i386/i386.h (TARGET_HASWELL): New macro.
              (target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
              (processor_type): New PROCESSOR_HASWELL.
      
      From-SVN: r195191
      3a579e09
    • Jakub Jelinek's avatar
      re PR tree-optimization/55955 (ICE in optab_for_tree_code, at optabs.c:402) · ff784829
      Jakub Jelinek authored
      	PR tree-optimization/55955
      	* tree-vect-loop.c (vectorizable_reduction): Give up early on
      	*SHIFT_EXPR and *ROTATE_EXPR codes.
      
      	* gcc.c-torture/compile/pr55955.c: New test.
      
      From-SVN: r195190
      ff784829
    • Dodji Seketeli's avatar
      PR c++/55663 - constexpr function templ instantiation · cd61690f
      Dodji Seketeli authored
      Consider the example of the problem report
      
           1	template <typename>
           2	constexpr bool the_truth () { return true; }
           3
           4	template <bool>
           5	  struct Takes_bool { };
           6
           7	template<bool B>
           8	  using Alias = Takes_bool<B>;
           9
          10	template<typename T>
          11	  struct test { using type = Alias<the_truth<T>()>; };
          12
          13	int main () {
          14	  test<int> a;
          15
          16	  return 0;
          17	}
      
      that yields the error:
      
          test.cc: In substitution of ‘template<bool B> using Alias = Takes_bool<B> [with bool B = the_truth<int>()]’:
          test.cc:11:51:   required from ‘struct test<int>’
          test.cc:14:13:   required from here
          test.cc:11:51: error: integral expression ‘the_truth<int>()’ is not constant
             struct test { using type = Alias<the_truth<T>()>; };
      
      I think the issue happens in the course of instantiating test<int> at
      line 14, when we look into instantiating Alias<the_truth<T>()> (at
      line 11) (using instantiate_alias_template) with T = int.
      
      There, when we check the argument 'the_truth<int>()' to see if it
      actually is a constant expression, in check_instantiated_arg, we fail
      to recognize it constexpr-ness b/c we just look at its TREE_CONSTANT.
      
      At that point, the_truth<int> should have been folded, and it's not,
      because instantiate_alias_template forgets to call
      coerce_template_parms on its arguments.
      
      Fixed thus, bootstapped and tested on x86_64-unknown-linux-gnu against
      trunk.
      
      gcc/cp/
      
      	PR c++/55663
      	* pt.c (coerce_innermost_template_parms): New static function.
      	(instantiate_alias_template):  Use it here.
      
      gcc/testsuite/
      
      	PR c++/55663
      	* g++.dg/cpp0x/alias-decl-31.C: New test.
      
      From-SVN: r195189
      cd61690f
    • Jakub Jelinek's avatar
      re PR tree-optimization/48766 (Infinite recursion in fold_binary_loc()) · 955f5a07
      Jakub Jelinek authored
      	PR tree-optimization/48766
      	* opts.c (common_handle_option): For -fwrapv disable -ftrapv, for
      	-ftrapv disable -fwrapv.
      
      From-SVN: r195186
      955f5a07
    • Paul Thomas's avatar
      re PR fortran/54286 (Accepts invalid proc-pointer assignments involving proc-ptr function result) · feb6eab0
      Paul Thomas authored
      2013-01-15  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/54286
      	* expr.c (gfc_check_pointer_assign): Check for presence of
      	's2' before using it.
      
      2013-01-15  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/54286
      	* gfortran.dg/proc_ptr_result_8.f90 : Add module 'm' to check
      	case where interface is null.
      
      From-SVN: r195185
      feb6eab0
    • GCC Administrator's avatar
      Daily bump. · 54be5fb3
      GCC Administrator authored
      From-SVN: r195184
      54be5fb3
  2. Jan 14, 2013
  3. Jan 13, 2013
Loading