This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix optimization regression in constant folder
On 10/11/07, Michael Matz <matz@suse.de> wrote:
> Hi,
>
> On Thu, 11 Oct 2007, Richard Guenther wrote:
>
> > It's used for "internal" calculations in C++ as well.
>
> As I wrote:
>
> "I realize that this currently is not the case (i.e. C/C++ do produce
> TYPE_IS_SIZETYPE types) and my understanding was that this actually is a
> bug"
>
> > Which, as I said at the very beginning in this thread makes it hard to
> > argue that such a type is more than a usual integral type (with the only
> > exception that possibly even signed sizetypes wrap).
>
> Exactly. This type should not be produced or used by anything else than
> Ada.
No - either it should be produced by no-one or it can be produced by everyone
in which case it needs defined (and sane) semantics.
Richard.