This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/49671] [4.6/4.7 Regression] volatile goes missing after inlining
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 8 Jul 2011 10:31:01 +0000
- Subject: [Bug middle-end/49671] [4.6/4.7 Regression] volatile goes missing after inlining
- Auto-submitted: auto-generated
- References: <bug-49671-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49671
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-07-08 10:30:32 UTC ---
Doesn't the outermost component also need TREE_THIS_VOLATILE? So I suppose
sink the
TREE_THIS_VOLATILE (*tp) = TREE_THIS_VOLATILE (old);
from the else branch as well.