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: [email protected]
Reporter: [email protected]
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.