1. 09 Feb, 2016 2 commits
  2. 08 Feb, 2016 24 commits
  3. 07 Feb, 2016 4 commits
  4. 06 Feb, 2016 2 commits
  5. 05 Feb, 2016 8 commits
    • re PR tree-optimization/68541 (Path splitting causes if-conversion miss) · 8981d712
      	PR tree-optimization/68541
      	* gimple-ssa-split-paths.c: Include tree-cfg.h and params.h.
      	(count_stmts_in_block): New function.
      	(poor_ifcvt_candidate_code): Likewise.
      	(is_feasible_trace): Add some heuristics to determine when path
      	splitting is profitable.
      	(find_block_to_duplicate_for_splitting_paths): Make sure the graph
      	is a diamond with a single exit.
      
              PR tree-optimization/68541
      	* gcc.dg/tree-ssa/split-path-2.c: New test.
      	* gcc.dg/tree-ssa/split-path-3.c: New test.
      	* gcc.dg/tree-ssa/split-path-4.c: New test.
      	* gcc.dg/tree-ssa/split-path-5.c: New test.
      	* gcc.dg/tree-ssa/split-path-6.c: New test.
      	* gcc.dg/tree-ssa/split-path-7.c: New test.
      
      From-SVN: r233191
      Jeff Law committed
    • PR c++/69662 - -Wplacement-new on allocated one element array members · 46cb9332
      gcc/testsuite/ChangeLog:
      	PR c++/69662
      	* g++.dg/warn/Wplacement-new-size-1.C: New test.
      	* g++.dg/warn/Wplacement-new-size-2.C: New test.
      
      gcc/cp/ChangeLog:
      	PR c++/69662
      	* init.c (find_field_init): New function.
      	(warn_placement_new_too_small): Call it.  Handle one-element arrays
              at ends of structures special.
      
      gcc/c-family/ChangeLog:
      	PR c++/69662
      	* c.opt (Warning options): Update -Wplacement-new to take
              an optional argument.
      
      gcc/ChangeLog:
      	PR c++/69662
      	* doc/invoke.texi: Update -Wplacement-new to take an optional
              argument.
      
      From-SVN: r233190
      Martin Sebor committed
    • re PR middle-end/69643 (Address space discarded) · be2083ea
      PR c/69643
      
        * tree.c (tree_nop_conversion_p): Do not strip casts into or
        out of non-standard address spaces.
      testsuite/
        * gcc.target/i386/addr-space-4.c: New.
        * gcc.target/i386/addr-space-5.c: New.
      
      From-SVN: r233189
      Richard Henderson committed
    • Fix fortran scalar elemental dependency mishandling · 711d7c23
      	PR fortran/66089
      gcc/fortran/
      	* trans-expr.c (expr_is_variable, gfc_expr_is_variable): Rename
      	the former to the latter and make it non-static.  Update callers.
      	* gfortran.h (gfc_expr_is_variable): New declaration.
      	(struct gfc_ss_info): Add field needs_temporary.
      	* trans-array.c (gfc_scalar_elemental_arg_saved_as_argument):
      	Tighten the condition on aggregate expressions with a check
      	that the expression is a variable and doesn't need a temporary.
      	(gfc_conv_resolve_dependency): Add intermediary reference variable.
      	Set the needs_temporary field.
      gcc/testsuite/
      	* gfortran.dg/elemental_dependency_6.f90: New.
      
      From-SVN: r233188
      Mikael Morin committed
    • re PR rtl-optimization/69691 (wrong code at -O2 on x86_64-linux-gnu) · 861c7bcd
      	PR rtl-optimization/69691
      	* lra-eliminations.c (move_plus_up): Don't add the addend twice.
      
      	* gcc.c-torture/execute/pr69691.c: New test.
      
      From-SVN: r233187
      Jakub Jelinek committed
    • re PR c++/69628 (Conditional jump or move depends on uninitialised value(s) in… · b5c1c988
      re PR c++/69628 (Conditional jump or move depends on uninitialised value(s) in lex_charconst(cpp_token const*) (c-lex.c:1252))
      
      	PR c++/69628
      	* charset.c (cpp_interpret_charconst): Clear *PCHARS_SEEN
      	and *UNSIGNEDP if bailing out early due to errors.
      
      	* g++.dg/parse/pr69628.C: New test.
      
      From-SVN: r233186
      Jakub Jelinek committed
    • Make issues similar to PR c++/68948 fail loudly. · 0fd9d492
      	* semantics.c (finish_expr_stmt): If expr is error_mark_node,
      	make sure we've seen_error().
      
      From-SVN: r233183
      Jason Merrill committed
    • asan.c: Move to ... · f7dfa966
      	* gcc.dg/sancov/asan.c: Move to ...
      	* gcc.dg/asan/sancov-1.c: ... here.
      
      From-SVN: r233182
      Uros Bizjak committed