[Bug c/41045] Extended asm with C operands doesnÂt work at top level
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 9 17:19:00 GMT 2009
------- Comment #6 from pinskia at gcc dot gnu dot org 2009-10-09 17:19 -------
Really if the kernel should have compile time asserts that the offsets don't
match up with the inline-asm.
There are ways of doing that it is not hard:
typedef static_assert_1[offsetof(a, b) != OFFSETAB ? -1 : 1];
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41045
More information about the Gcc-bugs
mailing list