[Bug target/46927] New: flag -fstrict-volatile-bitfields affects volatile non-bitfields
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Mon Dec 13 17:15:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46927
Summary: flag -fstrict-volatile-bitfields affects volatile
non-bitfields
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 22745
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22745
reduced testcase (from Qt/KDE headers)
Compiler output:
$ gcc testcase.C -fstrict-volatile-bitfields
testcase.C: In function 'void foo(S*)':
testcase.C:11:54: error: output number 0 not directly addressable
testcase.C:11:54: warning: use of memory input without lvalue in asm operand 1
is deprecated [enabled by default]
Tested revisions:
r167723 - fail
r161659 - fail
4.5 - doesn't know -fstrict-volatile-bitfields
More information about the Gcc-bugs
mailing list