http://bugzilla.gdcproject.org/show_bug.cgi?id=125
Bug ID: 125
Summary: Optimizer produces faulty code
Product: GDC
Version: development
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gdc
Assignee: [email protected]
Reporter: [email protected]
Created attachment 67
--> http://bugzilla.gdcproject.org/attachment.cgi?id=67&action=edit
sample
gdc -O1 and gdc -O2 produces faulty code for Adam Ruppe's jsvar.d.
how to reproduce:
get jsvar.d from here: https://github.com/adamdruppe/arsd/blob/master/jsvar.d
comment out line 47 (version=new_std_json;)
compile attached sample with -O0 and run it. it works ok.
compile attached sample with -O1 (or -O2) and run it. it segfaults.
--
You are receiving this mail because:
You are watching all bug changes.