[Bug middle-end/49671] [4.6/4.7 Regression] volatile goes missing after inlining

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 8 10:31:00 GMT 2011


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.



More information about the Gcc-bugs mailing list