GNU Development Chain for 68HC11/68HC12 - Bugs: bug #30609, long long is not 64-bit as...
You are not allowed to post comments on this tracker with your current authentication level.
bug #30609: long long is not 64-bit as advertised, __uint64_t not 64-bit too
Submitter: | None | ||
Submitted: | Sat 31 Jul 2010 12:44:27 AM UTC | ||
Category: | gcc | Severity: | 3 - Normal |
Item Group: | None | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open |
Wed 11 Aug 2010 12:26:35 AM UTC, comment #1: |
Craig Scratchley <scratchley> |
Sat 31 Jul 2010 12:44:27 AM UTC, original submission:
Hi. Information on the compiler states:
|
Anonymous |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Powered by Savane 3.13-02a9.
Corresponding source code
According to my investigation, there may not be a problem. With the IAR Embedded Compiler, the integer constants work as shown. However, with this Gnu compiler I need to put "ll" at the end of the 64-bit constants. I guess this is acceptable for C, I haven't taken the time to look that up.
Also, for the multiplication, 64-bit multiplication results if I cast x to an unsigned long long in the line of code where the multiplication is invoked.