This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patch] Promote xImode types to int


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]