[Bug tree-optimization/53085] writes to volatile struct members is missing

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 24 14:43:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53085

--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-04-24 14:43:01 UTC ---
Author: rguenth
Date: Tue Apr 24 14:42:53 2012
New Revision: 186765

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186765
Log:
2012-04-24  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/53085
    * tree-ssa-pre.c (eliminate): Do not eliminate volatile redundant
    stores.

    * g++.dg/torture/pr53085.C: New testcase.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/torture/pr53085.C
Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_7-branch/gcc/tree-ssa-pre.c



More information about the Gcc-bugs mailing list