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 zack at gcc dot gnu dot org  2004-09-07 18:22 -------
reopening due to degree of controversy.

I have no opinion on whether or not this is a good idea, but as a technical
observation, I don't see why the C front end couldn't smash &((T *)0)->M to
__builtin_offsetof(T, M) before the optimizers can choke on it.

-- 
           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]