D.gnu - [Bug 125] New: Optimizer produces faulty code
- via D.gnu (28/28) May 16 2014 Date: Fri, 16 May 2014 15:35:27 +0100
Date: Fri, 16 May 2014 15:35:27 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
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: ibuclaw gdcproject.org
Reporter: ketmar ketmar.no-ip.org
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.
May 16 2014








" via D.gnu" <d.gnu puremagic.com>