Re: [PATCH 16/16] fix handling of integer constant expressions

From: Segher Boessenkool
Date: Mon Jun 25 2007 - 02:15:12 EST


Humm... Right, so __builtin_offsetof() needs special treatment too.
Oh, bugger. Is
offsetof(struct foo, a.x[n])
a documented extension?

It is. See info gcc -> C Extensions -> Offsetof


Segher

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