re PR middle-end/45819 (unexpected unaligned access to volatile int)
authorRichard Guenther <rguenther@suse.de>
Fri, 22 Jul 2011 11:55:30 +0000 (11:55 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 22 Jul 2011 11:55:30 +0000 (11:55 +0000)
commit27315aa68fbb97cc8cbb71da2ca54b9e8052b057
treeca416cca45b476a17521ae6b9a7c39a71007f976
parent679debeea3913242cd756be013e329ed8ab92af4
re PR middle-end/45819 (unexpected unaligned access to volatile int)

2011-07-22  Richard Guenther  <rguenther@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.

From-SVN: r176623
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr45819.c [new file with mode: 0644]
gcc/tree-ssa-forwprop.c