[Bug 198] New: Optimization makes incorrect results
via D.gnu
d.gnu at puremagic.com
Sat Sep 5 01:50:06 PDT 2015
http://bugzilla.gdcproject.org/show_bug.cgi?id=198
Bug ID: 198
Summary: Optimization makes incorrect results
Product: GDC
Version: 4.9.x
Hardware: x86_64
OS: Linux
Status: NEW
Severity: critical
Priority: Normal
Component: gdc
Assignee: ibuclaw at gdcproject.org
Reporter: alex at sunopti.com
Created attachment 88
--> http://bugzilla.gdcproject.org/attachment.cgi?id=88&action=edit
A source file that shows the bug
I have reduced the example code as much as I can without making the bug
disappear.
If it is compiled with
gdc vector.d
I get :
f() = [1,2,3]
If it is compiled with
gdc -O vector.d
I get :
f() = [nan, nan, nan]
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20150905/37c2b0b8/attachment.html>
More information about the D.gnu
mailing list