http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45819
--- Comment #12 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-07-22 12:19:25 UTC --- Author: rguenth Date: Fri Jul 22 12:19:21 2011 New Revision: 176624 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176624 Log: 2011-07-22 Richard Guenther <rguent...@suse.de> PR tree-optimization/45819 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Properly preserve volatile and notrap flags. * gcc.dg/pr45819.c: New testcase. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/pr45819.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-forwprop.c