[Bug c/50521] -fstrict-volatile-bitfields is not strict

2011-10-29 Thread henrik at henriknordstrom dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50521 --- Comment #14 from Henrik Nordström 2011-10-29 10:45:53 UTC --- (In reply to comment #13) > > See 7.1.7.5 second and third paragraph and the note just after. > > Is that means a statement > a = b; > always should be treat as if > tmp = b;

[Bug c/50521] -fstrict-volatile-bitfields is not strict

2011-10-28 Thread henrik at henriknordstrom dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50521 --- Comment #12 from Henrik Nordström 2011-10-28 17:46:15 UTC --- Regarding the double load. In a statement like a = b, both a & be should be individually accessed even if they refer to the same storage. So bitfield.bits.a = bitfield.bits.c sho

[Bug c/50521] -fstrict-volatile-bitfields is not strict

2011-10-28 Thread henrik at henriknordstrom dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50521 --- Comment #9 from Henrik Nordström 2011-10-28 07:32:48 UTC --- C standard does not define any of this It's all implementation and platform ABI dependent. The C standard does define not storage size of a bit-field other than that it's suffici

[Bug c/50521] -fstrict-volatile-bitfields is not strict

2011-10-27 Thread henrik at henriknordstrom dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50521 --- Comment #7 from Henrik Nordström 2011-10-28 01:59:34 UTC --- Right. r171347 seem to be about fetches from bitfields while this change is about stores? An interesting test would be bitfield.bits.a = bitfield.bits.c which should load the

[Bug c/48190] [regression?] Huge memory use while compiling qemu-0.4.0

2011-10-27 Thread henrik at henriknordstrom dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48190 --- Comment #3 from Henrik Nordström 2011-10-27 23:26:05 UTC --- Created attachment 25640 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25640 trunk change 171655 backported to 4.6.

[Bug c/50521] -fstrict-volatile-bitfields is not strict

2011-10-27 Thread henrik at henriknordstrom dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50521 Henrik Nordström changed: What|Removed |Added CC||henrik at henriknordstrom

[Bug c/48190] [regression?] Huge memory use while compiling qemu-0.4.0

2011-10-27 Thread henrik at henriknordstrom dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48190 Henrik Nordström changed: What|Removed |Added CC||henrik at henriknordstrom