r197449 - in /branches/gcc-4_6-branch/gcc: Chan...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed Apr 3 18:02:00 GMT 2013
Author: jakub
Date: Wed Apr 3 18:02:57 2013
New Revision: 197449
URL: http://gcc.gnu.org/viewcvs?rev=197449&root=gcc&view=rev
Log:
Backported from mainline
2013-01-25 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/56098
* tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr
for stmts with volatile ops.
(cond_store_replacement): Don't optimize if assign has volatile ops.
(cond_if_else_store_replacement_1): Don't optimize if either
then_assign or else_assign have volatile ops.
* gcc.dg/pr56098-1.c: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/pr56098-1.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