public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/52080] New: Stores to bitfields introduce a store-data-race on adjacent data
@ 2012-02-01 10:07 rguenth at gcc dot gnu.org
  2012-02-01 10:23 ` [Bug target/52080] " rguenth at gcc dot gnu.org
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-02-01 10:07 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52080
           Summary: Stores to bitfields introduce a store-data-race on
                    adjacent data
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rguenth@gcc.gnu.org
            Target: ia64-*-linux


For the following testcase we generate a 8 byte RMW cycle on IA64 which
causes locking problems in the linux kernel btrfs filesystem.

struct x {
    long a;
    unsigned int lock;
    unsigned int full : 1;
};

void
wrong(struct x *ptr)
{
  ptr->full = 1;
}


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

end of thread, other threads:[~2014-02-16 13:17 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-01 10:07 [Bug target/52080] New: Stores to bitfields introduce a store-data-race on adjacent data rguenth at gcc dot gnu.org
2012-02-01 10:23 ` [Bug target/52080] " rguenth at gcc dot gnu.org
2012-02-01 10:25 ` rguenth at gcc dot gnu.org
2012-02-01 10:39 ` rguenth at gcc dot gnu.org
2012-02-01 11:13 ` rguenth at gcc dot gnu.org
2012-02-01 17:12 ` ebotcazou at gcc dot gnu.org
2012-02-01 17:45 ` ebotcazou at gcc dot gnu.org
2012-02-01 17:50 ` matz at gcc dot gnu.org
2012-02-01 18:53 ` bergner at gcc dot gnu.org
2012-02-02 11:01 ` gcc-bugs at tesarici dot cz
2012-02-02 11:11 ` rguenth at gcc dot gnu.org
2012-02-02 12:40 ` gcc-bugs at tesarici dot cz
2012-02-21 12:04 ` rguenth at gcc dot gnu.org
2012-03-14 11:00 ` rguenth at gcc dot gnu.org
2012-03-14 11:01 ` rguenth at gcc dot gnu.org
2012-06-04  8:44 ` rguenth at gcc dot gnu.org
2013-02-19 20:37 ` LpSolit at netscape dot net
2014-02-16 13:17 ` jackie.rosen at hushmail dot com

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).