bugTiny C Compiler - Bugs: bug #61879, Error when manipulating doubles in...

 
 

bug #61879: Error when manipulating doubles in stack win64

Submitter:  None
Submitted:  Thu 20 Jan 2022 10:28:23 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
   

Tue 29 Nov 2022 05:51:57 PM UTC, comment #1: 

The testsuite tests a lot of argument passing.
Did you use the latest version at:
git clone git://repo.or.cz/tinycc.git

Herman ten Brugge <hermantb>
Thu 20 Jan 2022 10:28:23 AM UTC, original submission:  

Hi,
we encountered an issue when manipulating doubles in the last version (0.9.27) of tcc. It looks like the stack is not correctly managed for that type.

The joined test file compute the same values in two different ways. The results should be the same, but they're different.

On GNU/Linux, it works perfectly (I only tested 64 bits)

On Windows 10 (64 bits):

32bits: If I compile using -m32, it works.

64bits: if I don't specify or use -m64 it failed. I also did the test by using float instead of double and it works. So the problem only occurs for double on 64 bits Windows.

Regards.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #52698:  test.c added by None (590B - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by hermantb (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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-01-20 None Attached File- Added test.c, #52698

    Back to the top

    Powered by Savane 3.14-8eb0.
    Corresponding source code