r197440 - in /branches/gcc-4_6-branch/gcc: Chan...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Wed Apr 3 17:51:00 GMT 2013


Author: jakub
Date: Wed Apr  3 17:51:16 2013
New Revision: 197440

URL: http://gcc.gnu.org/viewcvs?rev=197440&root=gcc&view=rev
Log:
	Backported from mainline
	2012-03-01  Jakub Jelinek  <jakub@redhat.com>

	PR tree-optimization/52445
	* tree-ssa-phiopt.c (struct name_to_bb): Remove ssa_name field,
	add ssa_name_ver, offset and size fields and change store field
	to bool.
	(name_to_bb_hash, name_to_bb_eq): Adjust for the above changes.
	(add_or_mark_expr): Likewise.  Only consider previous stores
	with the same size and offset.
	(nt_init_block): Only look at gimple_assign_single_p stmts,
	doesn't look at rhs2.

	* gcc.dg/pr52445.c: New test.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/pr52445.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_6-branch/gcc/tree-ssa-phiopt.c



More information about the Gcc-cvs mailing list