2012-05-18  Richard Guenther  <rguenther@suse.de>

	* tree-flow.h (mark_symbols_for_renaming): Remove.
	* tree-dfa.c (mark_symbols_for_renaming): Likewise.
	* tree-inline.c (copy_edges_for_bb): Do not mark symbols for
	renaming.
	(copy_debug_stmt): Likewise.
	(expand_call_inline): Likewise.
	(declare_return_variable): Mark the return variable for renaming
	if necessary.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187650 138bc75d-0d04-0410-961f-82ee72b054a4

	* cgraphunit.c (varpool_finalize_decl): Allow external decls.
	(mark_functions_to_output): Fix sanity check.
	* ipa.c (function_and_variable_visibility): Remove TREE_STATIC
	check.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187651 138bc75d-0d04-0410-961f-82ee72b054a4
2012-05-18  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* tree-ssa-reassoc.c (bip_map): Remove decl.
	(completely_remove_stmt): Remove function.
	(remove_def_if_absorbed_call): Remove function.
	(remove_visited_stmt_chain): Remove __builtin_powi handling.
	(possibly_move_powi): Remove function.
	(rewrite_expr_tree): Remove calls to possibly_move_powi.
	(rewrite_expr_tree_parallel): Likewise.
	(attempt_builtin_powi): Build multiplies explicitly rather than
	relying on the ops vector and rank system.
	(transform_stmt_to_copy): New function.
	(transform_stmt_to_multiply): Likewise.
	(reassociate_bb): Handle leftover operations after __builtin_powi
	optimization; build a final multiply if necessary.




git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187652 138bc75d-0d04-0410-961f-82ee72b054a4
2012-05-18  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/53390
	* tree-vect-data-refs.c (vect_compute_data_ref_alignment): Ignore
	strided loads.

	* gcc.dg/torture/pr53390.c: New testcase.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187653 138bc75d-0d04-0410-961f-82ee72b054a4
2012-05-18  Richard Guenther  <rguenther@suse.de>

	* gcc.dg/pr53352.c: Return zero.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187654 138bc75d-0d04-0410-961f-82ee72b054a4
2012-05-18  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/53346
	* tree-loop-distribution.c (ldist_gen): Make sure to apply
	builtin transform even when only a single partition with
	all reads/writes exists.

	* gcc.dg/tree-ssa/ldist-18.c: New testcase.
	* gcc.target/i386/incoming-10.c: Adjust.
	* gcc.target/i386/incoming-11.c: Likewise.
	* gcc.target/i386/pr46295.c: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187655 138bc75d-0d04-0410-961f-82ee72b054a4
2012-05-18  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* config/rs6000/rs6000.c (print_operand): Revise code that unsafely
	relied on signed overflow behavior.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187657 138bc75d-0d04-0410-961f-82ee72b054a4
        gcc/
        * Makefile.in (FLAGS_TO_PASS): Pass $(libexecsubdir) instead of
        $(libsubdir) as libexecsubdir.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187658 138bc75d-0d04-0410-961f-82ee72b054a4
compiler: Fix erroneous use of VEC.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187664 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: For an object at
	global level with unconstrained nominal subtype and a non-fixed size,
	make a variable for the size.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187666 138bc75d-0d04-0410-961f-82ee72b054a4