This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix for short-enums comparison bug
- To: Tim Hollebeek <tim at wagner dot Princeton dot EDU>
- Subject: Re: [PATCH] Fix for short-enums comparison bug
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Thu, 11 Feb 1999 15:17:45 -0700
- cc: jbuck at Synopsys dot COM, gavin at cygnus dot com, cgw at alum dot mit dot edu, egcs at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <199902112216.RAA27319@wagner.Princeton.EDU>you write:
> I seriously doubt it, since arguments to integer operators undergo
> integral promotion. The rules are different for C++, but I believe
> the answer is no, since none of the standard integral types is allowed
> to have only 2 bits.
I'm not looking for "I doubt/I believe". I need folks to actually check the
relavent standard and say "The standard ..." :-)
jeff