This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug c++/13295] for some integer types U, (~U(0)) < U(0) != U(~U(0)) < U(0)


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-04 08:12 -------
Not a bug, (~((unsigned char)0)) gets promoted to an int (because unsigned char is smaller than 
unsigned int) in both C and C++.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13295


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