64 bit assignment on a 32 bit platform

Andrew Haley aph-gcc@littlepinkcloud.COM
Mon Oct 29 10:39:00 GMT 2007


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.



More information about the Gcc-help mailing list