This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug inline-asm/17346] linux kernel: handwritten offsetof break inline asm


------- Additional Comments From matz at suse dot de  2004-09-07 16:17 -------
Huh?  This _is_ to what offsetof in the kernel expands, if you would be so 
kind to read what I wrote.  The kernels in the wild are not using 
__builtin_offsetof, but instead this self-written idiom, which had to be used 
before __builtin_offsetof was invented.  So I very much think, that this 
idiom would be better recognized as constant, which in fact in C it is. 
 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]