re PR tree-optimization/45704 (load byte instruction is used for volatile int)
authorRichard Guenther <rguenther@suse.de>
Mon, 20 Sep 2010 15:54:03 +0000 (15:54 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 20 Sep 2010 15:54:03 +0000 (15:54 +0000)
commit06baaba377b39dbc49f3dcd8289df5d0657a01c4
tree889547809b1062951c7b4d333495f6c88dad4420
parent64e0f5ff1f3be1ddccc2a50cb371b5dce94124b1
re PR tree-optimization/45704 (load byte instruction is used for volatile int)

2010-09-20  Richard Guenther  <rguenther@suse.de>

PR middle-end/45704
* gimplify.c (gimplify_modify_expr_rhs): Preserve volatileness.

* gcc.dg/torture/pr45704.c: New testcase.

From-SVN: r164439
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr45704.c [new file with mode: 0644]