This is the mail archive of the gcc-help@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]

Re: 64 bit assignment on a 32 bit platform


kum writes:
 > Thanks Andrew
 > 
 > Andrew>You have to cast at least one of the operands in a binary operation to
 > Andrew> get the widening to anything wider than int.

 > Is this true if int is 16 bits wide (i.e. 16 bit machine) and the
 > l-value is 32 bits wide?

It's true everywhere, all the time.

Andrew.


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