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

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Thu Sep 9 12:23:00 GMT 2004


------- Additional Comments From giovannibajo at libero dot it  2004-09-09 12:23 -------
Notice that if the kernel was using the macro offsetof() and not directly its 
expansion, it would always compile no matter how much we change the internals.

Anyway, I agre with JSM that we could have an enhancement where we try to fold 
things to constants in inline-asms as much as we can.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to fail|                            |3.5.0
      Known to work|                            |3.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-09 12:23:16
               date|                            |


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



More information about the Gcc-bugs mailing list