+2009-07-18 Adam Nemet <anemet@caviumnetworks.com>
+
+ * combine.c (try_widen_shift_mode) <LSHIFTRT>: Allow widening if the
+ high-order bits are zero.
+
+2009-07-18 Adam Nemet <anemet@caviumnetworks.com>
+
+ * combine.c (simplify_shift_const_1): Split code to determine
+ shift_mode into ...
+ (try_widen_shift_mode): ... here. Allow widening for ASHIFTRT if the
+ new bits shifted in are identical to the old sign bit.
+
+2009-07-18 Richard Guenther <rguenther@suse.de>
+
+ PR c/40787
+ * gimplify.c (gimplify_call_expr): Reject code using results from
+ functions returning void.
+
+2009-07-18 Richard Sandiford <r.sandiford@uk.ibm.com>
+
+ * doc/md.texi: Document the new PowerPC "es" constraint.
+ Document that "m" can include automodified addresses on this target,
+ and explain how %U must be used. Extend the "Q" and "Z" documentation
+ to suggest "es" as well as "m".
+ * config/rs6000/constraints.md (es): New memory constraint.
+ (Q, Z): Update strings to match new documentation.
+
+2009-07-18 Richard Sandiford <r.sandiford@uk.ibm.com>
+
+ * config/rs6000/rs6000.c (rs6000_mode_dependent_address): Allow any
+ offset from virtual_stack_vars_rtx and arg_pointer_rtx.
+ * config/rs6000/predicates.md (volatile_mem_operand): Use
+ offsettable_nonstrict_memref_p.
+ * config/rs6000/rs6000.md (*floatsidf2_internal): Remove split check.
+ (*floatunssidf2_internal): Likewise.
+ (*fix_truncdfsi2_internal): Likewise.
+ (*fix_trunctfsi2_internal): Likewise.
+
+2009-07-17 Anatoly Sokolov <aesok@post.ru>
+
+ * config/avr/avr-devices.c (avr_mcu_t): Add atmega8u2, atmega16u2 and
+ atmega32u2 devices.
+ * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
+
+2009-07-17 Richard Guenther <rguenther@suse.de>
+
+ PR c/40401
+ * tree-pass.h (pass_diagnose_omp_blocks): Declare.
+ (pass_warn_unused_result): Likewise.
+ (TODO_set_props): Remove.
+ * omp-low.c (diagnose_omp_structured_block_errors): Change to
+ run as a pass.
+ (pass_diagnose_omp_blocks): Define.
+ * c-decl.c (pop_file_scope): Do not finalize the CU here.
+ (c_gimple_diagnostics_recursively): Remove.
+ (finish_function): Do not call it.
+ (c_write_global_declarations): Continue after errors.
+ Finalize the CU here.
+ * c-gimplify.c (c_genericize): Do not gimplify here.
+ * c-common.c (c_warn_unused_result): Move ...
+ * tree-cfg.c (do_warn_unused_result): ... here.
+ (run_warn_unused_result): New function.
+ (gate_warn_unused_result): New function.
+ (pass_warn_unused_result): New pass.
+ * c-common.h (c_warn_unused_result): Remove.
+ * flags.h (flag_warn_unused_result): Declare.
+ * c-opts.c (c_common_init_options): Enable flag_warn_unused_result.
+ * opts.c (flag_warn_unused_result): Initialize to false.
+ * toplev.c (compile_file): Add comment.
+ * omp-low.c (create_omp_child_function): Do not register
+ the function with the frontend.
+ (diagnose_omp_structured_block_errors): Prepare to be
+ called as optimization pass.
+ (gate_diagnose_omp_blocks): New function.
+ (pass_diagnose_omp_blocks): New pass.
+ * cgraph.h (cgraph_optimize): Remove.
+ (cgraph_analyze_function): Likewise.
+ * cgraph.c (cgraph_add_new_function): Gimplify C++ thunks.
+ * cgraphunit.c (cgraph_lower_function): Lower nested functions
+ before their parents here.
+ (cgraph_finalize_function): Not here.
+ (cgraph_analyze_function): Gimplify functions here.
+ (cgraph_finalize_compilation_unit): Continue after errors.
+ Optimize the callgraph from here.
+ (cgraph_optimize): Make static.
+ * langhooks.c (write_global_declarations): Finalize the CU.
+ * gimplify.c (gimplify_asm_expr): Do not emit ASMs with errors.
+ (gimplify_function_tree): Assert we gimplify only once.
+ Set PROP_gimple_any property.
+ * tree-nested.c (gimplify_all_functions): New function.
+ (lower_nested_functions): Gimplify all nested functions.
+ * gimple.h (diagnose_omp_structured_block_errors): Remove.
+ * passes.c (init_optimization_passes): Add pass_warn_unused_result
+ and pass_diagnose_omp_blocks after gimplification. Do not
+ set TODO_set_props on all_lowering_passes.
+ (execute_one_pass): Do not handle TODO_set_props.
+ * Makefile.in (cgraphunit.o): Add $(TREE_DUMP_H) dependency.
+ (gimplify.o): Add tree-pass.h dependency.
+ * tree-inline.c (copy_statement_list): Properly copy STATEMENT_LIST.
+ (copy_tree_body_r): Properly handle TARGET_EXPR like SAVE_EXPR.
+ (unsave_r): Likewise.
+ * c-omp.c (c_finish_omp_atomic): Set DECL_CONTEXT on the
+ temporary variable.
+
+2009-07-17 Sandra Loosemore <sandra@codesourcery.com>
+
+ * doc/service.texi (Service): Restore previously removed link,
+ which isn't broken after all.
+
+2009-07-17 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/40321
+ * tree-ssa-pre.c (add_to_exp_gen): Also add names defined by
+ PHI nodes to the maximal set.
+ (make_values_for_phi): Add PHI arguments to the maximal set.
+ (execute_pre): Dump PHI_GEN and the maximal set.
+
+2009-07-17 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/40780
+ * gimplify.c (gimplify_conversion): Don't change non-conversions into
+ VIEW_CONVERT_EXPR.
+
+2009-07-16 Sandra Loosemore <sandra@codesourcery.com>
+
+ * doc/extend.texi (Nested Functions): Replace broken link with
+ textual reference.
+ * doc/service.texi (Service): Remove broken link.
+
+2009-07-16 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR bootstrap/40781
+ * builtins.c (expand_builtin_memcmp): Use loc instead of
+ EXPR_LOCATION (exp).
+ (expand_builtin_strncmp): Likewise.
+
2009-07-17 Aldy Hernandez <aldyh@redhat.com>
Manuel López-Ibáñez <manu@gcc.gnu.org>