c/7153: bad operands for 'movsbl' error
Eric Botcazou
ebotcazou@libertysurf.fr
Mon Jul 1 14:06:00 GMT 2002
The following reply was made to PR c/7153; it has been noted by GNATS.
From: "Eric Botcazou" <ebotcazou@libertysurf.fr>
To: "Ben Liblit" <liblit@eecs.berkeley.edu>
Cc: <gcc-gnats@gcc.gnu.org>
Subject: Re: c/7153: bad operands for 'movsbl' error
Date: Mon, 1 Jul 2002 23:05:19 +0200
> Do we still want to consider that implicit expectation to be a gcc bug?
> I'd say yes. If the optimizer genuinely *cannot* be made to work with
> uninitialized data, then it should emit an error message (not just a
> warning) and refuse to continue.
> Generating bogus assembly code is a poor diagnostic.
Why ? ;-)
I posted a (not yet reviewed) patch against the 3.1 codebase:
http://gcc.gnu.org/ml/gcc-patches/2002-06/msg02298.html
--
Eric Botcazou
ebotcazou@multimania.com
More information about the Gcc-prs
mailing list