This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Promote xImode types to int
- To: Roman Lechtchinsky <rl at cs dot tu-berlin dot de>
- Subject: Re: [patch] Promote xImode types to int
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Sun, 16 Sep 2001 17:11:10 +0100 (BST)
- cc: Richard Henderson <rth at redhat dot com>, <gcc-patches at gcc dot gnu dot org>
On Sun, 16 Sep 2001, Roman Lechtchinsky wrote:
> On Sat, 15 Sep 2001, Richard Henderson wrote:
> > > * c-common.c (c_promoting_integer_type_p): Handle ?Imode types.
> >
> > Applied.
>
> Unfortunately, this breaks libjava (got an email from the regression
> tester). Apparently, special java types (__java_byte etc.) defined in the
> C++ frontend shouldn't be promoted to int. Would you mind reverting this
> patch and installing the first version? I didn't see this failure because
> building libjava is apparently disabled on sparc-sun-solaris; I'm going to
> reenable it for future tests.
Arguably, special types should be treated the way C99 treats extended
integer types, and so should be promoted here. Perhaps libjava should be
changed?
--
Joseph S. Myers
jsm28@cam.ac.uk