This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/17346] [3.5 Regression] linux kernel: handwritten offsetof break inline asm
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Sep 2004 12:23:17 -0000
- Subject: [Bug inline-asm/17346] [3.5 Regression] linux kernel: handwritten offsetof break inline asm
- References: <20040907113458.17346.matz@suse.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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