1. 28 Jan, 2016 29 commits
  2. 27 Jan, 2016 11 commits
    • pr68264.c: Disable log1p test for glibc < 2.22 and expm1 test for glibc < 2.11. · 2aa780da
      	* gcc.dg/torture/pr68264.c: Disable log1p test for glibc < 2.22
      	and expm1 test for glibc < 2.11.
      
      From-SVN: r232907
      Uros Bizjak committed
    • re PR fortran/69484 (documentation issue: -Wtabs and -Wall) · 124bdd23
      2016-01-27  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/69484
      	* invoke.texi: Fix documentation of -Wall with respect to -Wtabs.
      
      From-SVN: r232906
      Janus Weil committed
    • re PR rtl-optimization/69447 (wrong code with -O2 -fno-schedule-insns and mixed… · f75ebe77
      re PR rtl-optimization/69447 (wrong code with -O2 -fno-schedule-insns and mixed 8/16/32/64bit arithmetics @ armv7a)
      
      PR rtl-opt/69447
      
        * lra-remat.c (subreg_regs): New.
        (dump_candidates_and_remat_bb_data): Dump it.
        (operand_to_remat): Reject if operand in subreg_regs.
        (set_bb_regs): Collect subreg_regs.
        (lra_remat): Init and free subreg_regs.  Compute
        calculate_local_reg_remat_bb_data before create_cands.
      
      From-SVN: r232905
      Richard Henderson committed
    • [multiple changes] · 49847d75
      2016-01-27  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/69385
      	* trans-expr.c (is_scalar_reallocatable_lhs): Remove the check
      	for allocatable components, whilst checking if the symbol is a
      	derived or class entity..
      
      2015-01-27  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/69385
      	* gfortran.dg/alloc_comp_assign_15.f03: New test.
      
      From-SVN: r232904
      Paul Thomas committed
    • Don't change stack_alignment_needed for __tls_get_addr · 9525851d
      __tls_get_addr must be called with 16-byte aligned stack, which is
      guaranted by setting preferred_stack_boundary to 128 bits.  There
      is no need to change stack_alignment_needed for __tls_get_addr.
      
      	PR target/68986
      	* config/i386/i386.c (ix86_update_stack_boundary): Don't
      	change stack_alignment_needed for __tls_get_addr call.
      
      From-SVN: r232901
      H.J. Lu committed
    • rs6000: Put back the 's' output modifier · ac223183
      It turns out the 's' output modifier is used in some glibc math code,
      and is in an installed header even.  So let's put it back, it is much
      less of a burden supporting it a bit longer than to deal with the fallout.
      (It is also being fixed for glibc.)
      
      
      	* config/rs6000/rs6000.c (print_operand): Rollback 's' removal.
      
      From-SVN: r232900
      Segher Boessenkool committed
    • re PR debug/66869 (-Wunused-function no longer warns for static declarations without definition) · cbdd8ae0
      	PR debug/66869
      	* c-decl.c (c_write_global_declarations_1): Warn with
      	warn_unused_function if static prototype without definition
      	is not C_DECL_USED.
      
      	* gcc.dg/pr66869.c: New test.
      
      From-SVN: r232899
      Jakub Jelinek committed
    • re PR tree-optimization/68398 (coremark regression due to r229685) · 2b572b3c
      	PR tree-optimization/68398
      	* params.def (PARAM_FSM_SCALE_PATH_STMTS): New parameter.
      	(PARAM_FSM_SCALE_PATH_BLOCKS): Likewise.
      	* tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
      	Only count PHIs in the last block in the path.  The others will
      	const/copy propagate away.  Add heuristic to allow more irreducible
      	subloops to be created when it is likely profitable to do so.
      
      	* tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
      	Fix typo in comment.  Use gsi_after_labels and remove the GIMPLE_LABEL
      	check from within the loop.  Use gsi_next_nondebug rather than gsi_next.
      
      	PR tree-optimization/68398
      	* gcc.dg/tree-ssa/pr66752-3.c: Update expected output.
      	* gcc.dg/tree-ssa/ssa-dom-thread-2c.c: Add extra statements on thread
      	path to avoid new heuristic allowing more irreducible regions
      	* gcc.dg/tree-ssa/ssa-dom-thread-2d.c: Likewise.
      	* gcc.dg/tree-ssa/vrp46.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-dom-thread-7.c: Update expected output.
      	* gcc.dg/tree-ssa/ssa-dom-thread-2g.c: New test.
      	* gcc.dg/tree-ssa/ssa-dom-thread-2h.c: Likewise.
      
      From-SVN: r232897
      Jeff Law committed
    • re PR c/68062 (ICE when comparing vectors) · fa74a4bc
      	PR c/68062
      	* c-typeck.c (build_binary_op) [EQ_EXPR, GE_EXPR]: Promote operand
      	to unsigned, if needed.  Add -Wsign-compare warning.
      
      	* typeck.c (cp_build_binary_op): Promote operand to unsigned, if
      	needed.  Add -Wsign-compare warning.
      
      	* c-c++-common/vector-compare-4.c: New test.
      
      From-SVN: r232894
      Marek Polacek committed
    • libcpp: use better locations for _Pragma tokens (preprocessor/69126) · 0afff540
      gcc/testsuite/ChangeLog:
      	PR preprocessor/69126
      	* c-c++-common/pr69126.c: New test case.
      
      libcpp/ChangeLog:
      	PR preprocessor/69126
      	* directives.c (destringize_and_run): Add expansion_loc param; use
      	it when handling unexpanded pragmas to fixup the locations of the
      	synthesized tokens.
      	(_cpp_do__Pragma): Add expansion_loc param and use it when calling
      	destringize_and_run.
      	* internal.h (_cpp_do__Pragma): Add expansion_loc param.
      	* macro.c (builtin_macro): Pass expansion location of _Pragma to
      	_cpp_do__Pragma.
      
      From-SVN: r232893
      David Malcolm committed