Send MinGW-Notify mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osdn.me/mailman/listinfo/mingw-notify
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of MinGW-Notify digest..."
Please do not reply to this notification; the sender address is unable to
accept incoming e-mail. If you wish to unsubscribe you can do so at
https://lists.osdn.me/mailman/listinfo/mingw-notify.
Today's Topics:
1. [mingw] #39715: Two possible C type double division bugs when
compiling with gcc -Ofast (MinGW Notification List)
2. [SCM] mingw-org-wsl (mingw) branch, 5.3-trunk, updated.
24776ba02c4870e77fda6a586b8586863672c40e (MinGW Notification List)
----------------------------------------------------------------------
Message: 1
Date: Fri, 17 Jan 2020 18:24:43 +0000
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #39715: Two possible C type double
division bugs when compiling with gcc -Ofast
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#39715: Two possible C type double division bugs when compiling with gcc -Ofast
Open Date: 2019-11-02 14:49
Last Update: 2020-01-17 18:24
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/39715
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39715
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2020-01-17 18:24 Updated by: keith
* Status Update from Open to Closed
* Resolution Update from None to Won't Fix
---------------------------------------------------------------------
Ticket Status:
Reporter: colin13on
Owner: (None)
Type: Issues
Status: Closed
Priority: 5 - Medium
MileStone: (None)
Component: (None)
Severity: 5 - Medium
Resolution: Won't Fix
---------------------------------------------------------------------
Ticket details:
Using: MinGW GCC compiler: gcc (MinGW.org GCC-8.2.0-5) 8.2.0; Microsoft Windows
7 Professional 64 bit operating system; Lenovo Thinkpad T420 laptop 64 bit
computer.
Also tried on: GNU GCC compiler: gcc (Ubuntu 7.2.0-8ubuntu3.2) 7.2.0; Lubuntu
32 bit operating system; Samsung N220 netbook 32 bit computer.
Compiling with gcc: -O0, -O1, -O2, O3, -Os, -Og; the attached code works as
intended.
But compiling with gcc -Ofast, it sometimes calculates the wrong "a" or "x".
This behaviour seems consistent and reproducible on both the above setups,
although the wrong behaviour is slightly different on each setup.
I know essentially nothing about what the "-Ofast" option does, and don't know
whether using the "-Ofast" option might be expected to change the way type
double division sometimes works, or whether this is something that merits
further investigation.
I hope the attached comments and code are reasonably clear, but I am happy to
answer questions.
Colin Bartlett
P.S. I intend to attach a file with the C program code, examples of the wrong
output, and more information. If I can't manage to attach that file then please
let me know of another way of sending it. The file has just under 300 lines, of
which 60 lines are the actual code and C preprocessor directives.
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net/projects/mingw/ticket/39715
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39715
------------------------------
Message: 2
Date: Sat, 18 Jan 2020 06:08:09 +0900
From: MinGW Notification List <[email protected]>
To: [email protected]
Subject: [MinGW-Notify] [SCM] mingw-org-wsl (mingw) branch, 5.3-trunk,
updated. 24776ba02c4870e77fda6a586b8586863672c40e
Message-ID: <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to "mingw-org-wsl" repository
containing the "mingw" project.
The branch, 5.3-trunk has been updated
via 24776ba02c4870e77fda6a586b8586863672c40e (commit)
via 9e7808202ab1f073d535960017f60e85f358f24d (commit)
via 3130b134f2cf2a41361dd57306656191f1ee0e0f (commit)
from 14b23ef68b8345b1bdf9c95d7c23e5d99dae37ae (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 24776ba02c4870e77fda6a586b8586863672c40e
Author: Keith Marshall <[email protected]>
Date: Fri Jan 17 19:41:14 2020 +0000
Preserve order of tests for integrity of header files.
commit 9e7808202ab1f073d535960017f60e85f358f24d
Author: Keith Marshall <[email protected]>
Date: Fri Jan 17 16:58:38 2020 +0000
Update handling of <process.h> test-suite limitation.
commit 3130b134f2cf2a41361dd57306656191f1ee0e0f
Author: Keith Marshall <[email protected]>
Date: Fri Jan 17 15:39:44 2020 +0000
Support GCC-9.x gratuitous use of non-standard errno accessor API.
-----------------------------------------------------------------------
Summary of changes:
mingwrt/ChangeLog | 35 ++++++++++++++++++++++
mingwrt/include/errno.h | 74 +++++++++++++++++++++++++++++++++++------------
mingwrt/include/process.h | 15 ++++++----
mingwrt/include/stdlib.h | 45 ++++++++++++++++++++++------
mingwrt/tests/Makefile.in | 9 +++---
mingwrt/tests/headers.at | 6 ++--
w32api/ChangeLog | 10 +++++++
w32api/tests/Makefile.in | 11 +++----
w32api/tests/headers.at | 20 ++++++-------
9 files changed, 170 insertions(+), 55 deletions(-)
hooks/post-receive
--
mingw-org-wsl (mingw)
------------------------------
Subject: Digest Footer
_______________________________________________
MinGW-Notify mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/mingw-notify
------------------------------
End of MinGW-Notify Digest, Vol 28, Issue 9
*******************************************