1. 11 Jan, 2014 2 commits
  2. 10 Jan, 2014 26 commits
  3. 09 Jan, 2014 12 commits
    • re PR libstdc++/59680 (Compile error in thread.cc) · 4bc0ec32
      	PR libstdc++/59680
      	* src/c++11/thread.cc (__sleep_for): Fix call to ::sleep.
      
      From-SVN: r206504
      Jonathan Wakely committed
    • re PR middle-end/59670 (ICE: expected gimple_call(error_mark), have… · cd4447e2
      re PR middle-end/59670 (ICE: expected gimple_call(error_mark), have gimple_assign(plus_expr) in gimple_call_internal_p, at gimple.h:2432)
      
      	PR middle-end/59670
      	* tree-vect-data-refs.c (vect_analyze_data_refs): Check
      	is_gimple_call before calling gimple_call_internal_p.
      
      	* gcc.dg/pr59670.c: New test.
      
      From-SVN: r206503
      Jakub Jelinek committed
    • compiler: Add flattening pass · 4bc44ceb
      From-SVN: r206502
      Ian Lance Taylor committed
    • runtime: fix 32-bit malloc for pointers >= 0x80000000 · abd47137
      The spans array is allocated in runtime_mallocinit.  On a
      32-bit system the number of entries in the spans array is
      MaxArena32 / PageSize, which (2U << 30) / (1 << 12) == (1 << 19).
      So we are allocating an array that can hold 19 bits for an
      index that can hold 20 bits.  According to the comment in the
      function, this is intentional: we only allocate enough spans
      (and bitmaps) for a 2G arena, because allocating more would
      probably be wasteful.
      
      But since the span index is simply the upper 20 bits of the
      memory address, this scheme only works if memory addresses are
      limited to the low 2G of memory.  That would be OK if we were
      careful to enforce it, but we're not.  What we are careful to
      enforce, in functions like runtime_MHeap_SysAlloc, is that we
      always return addresses between the heap's arena_start and
      arena_start + MaxArena32.
      
      We generally get away with it because we start allocating just
      after the program end, so we only run into trouble with
      programs that allocate a lot of memory, enough to get past
      address 0x80000000.
      
      This changes the code that computes a span index to subtract
      arena_start on 32-bit systems just as we currently do on
      64-bit systems.
      
      From-SVN: r206501
      Ian Lance Taylor committed
    • Makefile.in (TREE_FLOW_H): Remove. · 3fadf78a
      2014-01-09  Steve Ellcey  <sellcey@mips.com>
      
      	* Makefile.in (TREE_FLOW_H): Remove.
      	(TREE_SSA_H): Add file names from tree-flow.h.
      	* doc/tree-ssa.texi (Annotations): Remove reference to tree-flow.h
      	* tree.h: Remove tree-flow.h reference.
      	* hash-table.h: Remove tree-flow.h reference.
      	* tree-ssa-loop-niter.c (dump_affine_iv): Replace tree-flow.h
      	reference with tree-ssa-loop.h.
      
      From-SVN: r206496
      Steve Ellcey committed
    • delay-slot-1.c: Restrict -mabi=64 to 64 bit processors. · 7f216cb2
      2014-01-09  Steve Ellcey  <sellcey@mips.com>
      
      	* gcc.dg/delay-slot-1.c: Restrict -mabi=64 to 64 bit processors.
      
      From-SVN: r206495
      Steve Ellcey committed
    • invoke.texi: Add -maltivec={be,le} options... · 6edc217d
      2014-01-09  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	* doc/invoke.texi: Add -maltivec={be,le} options, and document
      	default element-order behavior for -maltivec.
      	* config/rs6000/rs6000.opt: Add -maltivec={be,le} options.
      	* config/rs6000/rs6000.c (rs6000_option_override_internal): Ensure
      	that -maltivec={le,be} implies -maltivec; disallow -maltivec=le
      	when targeting big endian, at least for now.
      	* config/rs6000/rs6000.h: Add #define of VECTOR_ELT_ORDER_BIG.
      
      From-SVN: r206494
      Bill Schmidt committed
    • re PR middle-end/47735 (Unnecessary adjustments to stack pointer) · 3396aba5
      	PR middle-end/47735
      	* cfgexpand.c (expand_one_var): For SSA_NAMEs, if the underlying
      	var satisfies use_register_for_decl, just take into account type
      	alignment, rather than decl alignment.
      
      	* gcc.target/i386/pr47735.c: New test.
      
      From-SVN: r206493
      Jakub Jelinek committed
    • re PR tree-optimization/59622 (internal compiler error: verify_gimple failed) · a70e9985
      	PR tree-optimization/59622
      	* gimple-fold.c (gimple_fold_call): Fix a typo in message.  For
      	__builtin_unreachable replace the OBJ_TYPE_REF call with a call to
      	__builtin_unreachable and add if needed a setter of the lhs SSA_NAME.
      	Don't devirtualize for inplace at all.  For targets.length () == 1,
      	if the call is noreturn and cfun isn't in SSA form yet, clear lhs.
      
      	* g++.dg/opt/pr59622-2.C: New test.
      	* g++.dg/opt/pr59622-3.C: New test.
      	* g++.dg/opt/pr59622-4.C: New test.
      	* g++.dg/opt/pr59622-5.C: New test.
      
      From-SVN: r206492
      Jakub Jelinek committed
    • Fix up ChangeLog Copyright dates. · 94c13a09
      From-SVN: r206491
      Richard Sandiford committed
    • cpp.c (gfc_cpp_handle_option): Add missing break. · 2a9e9a65
      2014-01-09  Tobias Burnus  <burnus@net-b.de>
      
              * cpp.c (gfc_cpp_handle_option): Add missing break.
              * trans-io.c (transfer_expr): Silence unused value warning.
      
      From-SVN: r206487
      Tobias Burnus committed
    • Move libgcc ChangeLog entries to libgcc/ChangeLog · 46dd1242
      From-SVN: r206486
      H.J. Lu committed