Re: Strange conversion to int64

2010-01-27 Thread Ian Lance Taylor
Tony Bernardin writes: > Hey, I'm having a little trouble understanding the conversion gcc is > doing in a statement with the following types: This question is not appropriate for the mailing list gcc@gcc.gnu.org, which is for gcc developers. It would be appropriate for gcc-h...@gcc.gnu.org. P

Strange conversion to int64

2010-01-27 Thread Tony Bernardin
Hey, I'm having a little trouble understanding the conversion gcc is doing in a statement with the following types: int64 = int32 * uint32 This is running on a 64bit machine with gcc (GCC) 4.4.2 20091027 (Red Hat 4.4.2-7) Following simple code snippet:   1 #include   2 #include   3   4 using