![]() |
|
Message-ID: <20250304202416.GU1827@brightrain.aerifal.cx> Date: Tue, 4 Mar 2025 15:24:17 -0500 From: Rich Felker <dalias@...c.org> To: Thorsten Glaser <tg@...bsd.de> Cc: musl@...ts.openwall.com Subject: Re: f128 aliases for long double math symbols On Tue, Mar 04, 2025 at 09:10:25PM +0100, Thorsten Glaser wrote: > On Tue, 4 Mar 2025, Rich Felker wrote: > > >Not if they're implemented with code at the same address. If they're > >the *same function*. > > But they *are*! > > I don’t see anything saying that, if I use the memmove implementation > for memcpy, they cannot be aliased to the same function pointer. (At > least in C99, haven’t looked at C23.) The standard defines a memmove function and a memcpy function. These are two functions. Thereby they compare not equal. The fact that you can make up some mechanism outside of the standard to use the same definition for both doesn't somehow make them the same function. Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.