bugTiny C Compiler - Bugs: bug #47379, Compare bug

 
 

bug #47379: Compare bug

Submitter:  None
Submitted:  Thu 10 Mar 2016 11:28:33 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 02 May 2016 04:03:28 AM UTC, comment #1: 

No problem with current tcc [mob] on Linux x86:

#include <stdio.h>
#include <stdint.h>
int main(int argc, char* argv[]) {
    printf("%d\n", -2147483648);
    printf("%ld\n", -2147483648LL);
    printf("%d\n", (1LL) < (-2147483648LL));
    return 0;
}

-2147483648
-2147483648
0



Sergey Korshunoff <seyko>
Thu 10 Mar 2016 11:28:33 AM UTC, original submission:  

Here is the problem: https://gist.github.com/vegansk/d08f7da5345395667e77

Same results on Windows x86 and Linux x64

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by seyko (Posted a comment)
  •  

    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.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code