public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/46217] New: [4.6 Regression] store to volatile is removed
@ 2010-10-28 20:53 pinskia at gcc dot gnu.org
  2010-10-28 20:53 ` [Bug tree-optimization/46217] " pinskia at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2010-10-28 20:53 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] store to volatile is removed
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: pinskia@gcc.gnu.org
                CC: rguenth@gcc.gnu.org


Take:
int foo(int a)
{
  int t;
  *(volatile int *)&t = a;
}
--- CUT ---

We remove the store to t now.

I think this was caused by MEM_REF.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-11-03 11:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-28 20:53 [Bug tree-optimization/46217] New: [4.6 Regression] store to volatile is removed pinskia at gcc dot gnu.org
2010-10-28 20:53 ` [Bug tree-optimization/46217] " pinskia at gcc dot gnu.org
2010-10-29 12:58 ` rguenth at gcc dot gnu.org
2010-10-29 13:03 ` rguenth at gcc dot gnu.org
2010-11-02 16:08 ` rguenth at gcc dot gnu.org
2010-11-03 11:05 ` rguenth at gcc dot gnu.org
2010-11-03 11:06 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).