r209487 - in /trunk/gcc: ChangeLog gimple-itera...

jamborm@gcc.gnu.org jamborm@gcc.gnu.org
Thu Apr 17 13:54:00 GMT 2014


Author: jamborm
Date: Thu Apr 17 13:53:59 2014
New Revision: 209487

URL: http://gcc.gnu.org/viewcvs?rev=209487&root=gcc&view=rev
Log:
2014-04-17  Martin Jambor  <mjambor@suse.cz>

	* gimple-iterator.c (gsi_start_edge): New function.
	* gimple-iterator.h (gsi_start_edge): Declare.
	* tree-sra.c (single_non_eh_succ): New function.
	(disqualify_ops_if_throwing_stmt): Renamed to
	disqualify_if_bad_bb_terminating_stmt.  Allow throwing statements
	having one non-EH successor BB.
	(sra_modify_expr): If stmt ends bb, use single non-EH successor to
	generate loads into replacements.
	(sra_modify_assign): Likewise and and also use the simple path for
	such statements.
	(sra_modify_function_body): Commit statements on edges.

testsuite/
	* gnat.dg/opt34.adb: New.
	* gnat.dg/opt34_pkg.ads: Likewise.


Added:
    trunk/gcc/testsuite/gnat.dg/opt34.adb
    trunk/gcc/testsuite/gnat.dg/opt34_pkg.ads
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-iterator.c
    trunk/gcc/gimple-iterator.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-sra.c



More information about the Gcc-cvs mailing list