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: autoconf for type sizes


 > From: Michael Meissner <meissner@cygnus.com>
 >  
 > On Mon, Mar 12, 2001 at 03:38:17PM -0500, Kaveh R. Ghazi wrote:
 > > Zack, looks good.  Some comments:
 > > 
 > > 1.  (Optional) is the gcc_AC_C_CHAR_BIT test necessary?  Why not just
 > >     default to 8 if it doesn't appear in limits.h?  I notice that
 > >     gcc/glimits.h unconditionally sets it to 8 anyway, so its unlikely
 > >     that we'll encounter a *host* which sets it to a different value.
 >  
 > I dunno, I guess it depends on that PDP-10 port.  If its hosted
 > rather than just a cross compiler, we will see it.

For a default of 8 to be wrong, the PDP-10 port not only must be
hosted, but it must also fail to supply a conforming limits.h with the
correct CHAR_BIT.  Right?

(And whoever is porting it must also fix gcc/glimits.h.)

--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions


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