This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] C undefined behavior fix
- From: Linus Torvalds <torvalds at transmeta dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: Richard Henderson <rth at redhat dot com>, Tom Rini <trini at kernel dot crashing dot org>, <gcc at gcc dot gnu dot org>
- Date: Sun, 6 Jan 2002 20:58:05 -0800 (PST)
- Subject: Re: [PATCH] C undefined behavior fix
On 7 Jan 2002, Alexandre Oliva wrote:
> On Jan 7, 2002, Linus Torvalds <torvalds@transmeta.com> wrote:
>
> > Which choice do you think is the _intelligent_ one?
>
> I'd surely go with the implementation that makes code with defined
> behavior work correctly and as fast as possible.
But _both_ do that for the constant case. And have you ever seen the
non-constant case?
Linus