This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: C++ aliasing rules
- From: mike stump <mrs at windriver dot com>
- To: dann at godzilla dot ICS dot UCI dot EDU, jason at redhat dot com
- Cc: gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Thu, 25 Apr 2002 17:27:21 -0700 (PDT)
- Subject: Re: C++ aliasing rules
- References: <wvl1yd3u10a.fsf@prospero.cambridge.redhat.com>
> To: Dan Nicolaescu <dann@godzilla.ICS.UCI.EDU>
> Cc: mike stump <mrs@windriver.com>, gcc@gcc.gnu.org, libstdc++@gcc.gnu.org
> From: Jason Merrill <jason@redhat.com>
> Date: Thu, 25 Apr 2002 18:44:05 +0100
> I don't see how Mike's statement answers my question.
Yes, I agree, I don't think it does.
> I would probably support writing that into the standard. But I
> don't think that's what it says now.
A hard line would be we should be conservative, and get it written
into the standard first. I think it would be reasonable for the
standard to say they don't alias.
If we want to lead the standard, I think we can. Because the standard
isn't perfectly clear, it would be good to document what we did.