Skip to content

Fortran regression in OpenWatcom for MS-DOS ? #1558

@ijean

Description

@ijean

Hello,

I've compiled this small program under DosBox:

       program test2
       implicit none
       real*8 x, y
       x = 3.15d0
       y = dsin(x)
       print*, x, y
       end

With latest OpenWatcom release (from beginning of December 2025) the result unexpectedly was:

    0.00000000000 0.00000000

Same program built with OpenWatcom 1.9 gives the expected results.

In both cases I've used DosBox 0.74-3-3 which hasn't changed since 2020. I suppose there was a regression at some point, because at least the value of x when printed should be different from 0.

Thanks for keeping OpenWatcom alive,
Jean

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions