Hanske;Stefan writes:
> I think that the following behaviour of gcc is intended, but it's strange
> that gcc uses only one register to return a long long value from a
> function and expands it in a curious way to be a 64-bit value again
> (something like mov r1, r0, asr #31).
> 
> The following just won't work:
> <code removed>

Well, I've just tested it on the old gcc 2.7.2.2 and gcc 2.95.1, and it
works correctly with both of thoes compilers.  I would suggest that you've
found a compiler bug!
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       [EMAIL PROTECTED]      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++        Please use [EMAIL PROTECTED] for           ++
++                        kernel-related discussions.                      ++

Reply via email to