This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/47575] store-motion removes global stores from endless loops


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

--- Comment #2 from Zdenek Dvorak <rakdver at gcc dot gnu.org> 2011-02-01 16:56:57 UTC ---
There is nothing in C standard requiring us to preserve global stores that are
unused, unless they are volatile.  Store motion is by far not the only
optimization in gcc that affects global stores.  That this happens in an
endless loop is not important.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]