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: unassig...@gcc.gnu.org
        ReportedBy: zso...@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

Reply via email to