From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ronald G. Minnich" To: 9fans@cse.psu.edu Subject: Re: [9fans] how to avoid a memset() optimization In-Reply-To: <3DD57827.5782C64B@null.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Mon, 18 Nov 2002 05:34:17 -0700 Topicbox-Message-UUID: 2300996a-eacb-11e9-9e20-41e7f4b1d025 On Mon, 18 Nov 2002, Douglas A. Gwyn wrote: > William Josephson wrote: > > Can you name any major operating system written in C that actually > > compiles reliably with more than one compiler? > > Unix used to; the real-time embedded OS I'm using (RTXC) does. wow, missed that question and the answer. Things have sure gone downhill, eh? Our OS source code, written in C, is less portable now than 14 years ago. Oh, well, what's a little of this among friends: #define ____cacheline_aligned __attribute__((__aligned__(SMP_CACHE_BYTES))) doesn't every C compiler support that? I, sir, am a curmudgeon. I have it on the best authority. ron