This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: don't assume pointer cast to unsigned long is a valid initializer
On Mar 1, 2003, Geoff Keating <geoffk at geoffk dot org> wrote:
>> Cc: mark at codesourcery dot com, rth at redhat dot com, gcc-patches at gcc dot gnu dot org
>> From: Alexandre Oliva <aoliva at redhat dot com>
>> Organization: GCC Team, Red Hat
>> Date: 01 Mar 2003 05:53:09 -0300
>> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
>> X-OriginalArrivalTime: 01 Mar 2003 08:52:49.0484 (UTC) FILETIME=[EFD6A0C0:01C2DFCF]
>>
>> On Mar 1, 2003, Geoff Keating <geoffk at geoffk dot org> wrote:
>>
>> > I'll let Alexandre add the appropriate comment when he backs his
>> > change out.
>>
>> Per your proposal, I cannot add a comment to the testcase, since it
>> might possibly cause failures if the compiler is so broken as to
>> handle comments incorrectly :-)
> Maybe. However, I don't believe the compiler is broken in this
> fashion, so I think it's probably safe.
Also, reverting the patch at this point would introduce the very kind
of failures in regression testers that you want to avoid, so it can't
be done, per your own proposal.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva at {redhat dot com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva at {lsd dot ic dot unicamp dot br, gnu.org}
Free Software Evangelist Professional serial bug killer