Issue Details (XML | Word | Printable)

Key: PCC-230
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Anders Magnusson
Reporter: Fred J. Tydeman
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
pcc

__LONG_MAX__ has wrong type

Created: 13/Feb/11 10:10 PM   Updated: 18/Feb/11 06:17 PM
Component/s: amd64 target
Affects Version/s: None
Fix Version/s: None

Environment: Intel Core i5 in 64-bit mode; Linux Fedora Core 14; pcc 0.9.9 of 2011/02/03


 Description  « Hide
Doing 'strings /usr/bin/pcc' , I see a -D__LONG_MAX__=0x7fff...ffffLL, giving it a type of 'long long' instead of the expected 'long'.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson added a comment - 18/Feb/11 06:17 PM
Fixed. Was not a problem before since it was not exposed outside the compiler, but now is.