public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/45052]  New: [4.5 regression] volatile ignored
@ 2010-07-24 10:51 a dot kaiser at gmx dot net
  2010-07-24 10:52 ` [Bug c/45052] " a dot kaiser at gmx dot net
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: a dot kaiser at gmx dot net @ 2010-07-24 10:51 UTC (permalink / raw)
  To: gcc-bugs

"volatile" seems to have no effect. ReadByte should be called 4 times with
results merged in a word, instead it is called once and replicated 4 times.

arm-none-eabi-gcc -S -Os -mcpu=arm926ej-s src.c

-O0, -O2, -O3 are fine, -O1 and -Os are bad.


-- 
           Summary: [4.5 regression] volatile ignored
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: a dot kaiser at gmx dot net
  GCC host triplet: yagarto 01.05.2010
GCC target triplet: arm-none-eabi


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


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

end of thread, other threads:[~2010-07-31 12:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-24 10:51 [Bug c/45052] New: [4.5 regression] volatile ignored a dot kaiser at gmx dot net
2010-07-24 10:52 ` [Bug c/45052] " a dot kaiser at gmx dot net
2010-07-24 10:54 ` a dot kaiser at gmx dot net
2010-07-24 11:44 ` a dot kaiser at gmx dot net
2010-07-24 14:37 ` [Bug tree-optimization/45052] [4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
2010-07-26  9:27 ` rguenth at gcc dot gnu dot org
2010-07-31  9:35 ` [Bug tree-optimization/45052] [4.5 " rguenth at gcc dot gnu dot org
2010-07-31 12:13 ` rguenth at gcc dot gnu dot org
2010-07-31 12:13 ` rguenth at gcc dot gnu dot 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).