May 16, 2014 [Bug 125] New: Optimizer produces faulty code | ||||
---|---|---|---|---|
| ||||
Attachments:
| 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. |
Copyright © 1999-2021 by the D Language Foundation