Re: [PATCH 03/18 ver2] libosd: OSDv1 Headers
From: JÃrn Engel
Date: Mon Nov 10 2008 - 10:18:32 EST
On Mon, 10 November 2008 10:47:07 +0200, Boaz Harrosh wrote:
>
> If the assembly - size and offsets - of foo is exactly the same with or
> without the __packed, but the generated code is different then clearly this
> is a compiler bug. I've herd of this myth before, and at least with my
> gcc 4.1.2 there is no such bug. Either the structure gets packed, or there is
> no difference. All the places I have __packed in the code are absolutely must
> be so, stated by the protocol.
Ok, if current compilers are fine, I won't complain.
JÃrn
--
There's nothing better for promoting creativity in a medium than
making an audience feel "Hmm  I could do better than that!"
-- Douglas Adams in a slashdot interview
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/