April 11, 2006 [Bug 101] New: Pre and Post contracts segfault without -release switch in conjunction with --gc-sections. | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/bugzilla/show_bug.cgi?id=101 Summary: Pre and Post contracts segfault without -release switch in conjunction with --gc-sections. Product: D Version: 0.153 Platform: PC OS/Version: Linux Status: NEW Severity: blocker Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: godaves@yahoo.com This code segfaults without the -release switch on Linux. If you link seperately without the --gc-sections switch, things work fine (ld version 2.15.92.0.2 20040927). ;--- import std.stdio; int foo(int i) in { assert(i > 0); } body { return i * i; } void main() { writefln(foo(0)); } -- |
April 28, 2006 [Bug 101] Pre and Post contracts segfault without -release switch in conjunction with --gc-sections. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/bugzilla/show_bug.cgi?id=101 godaves@yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- |
Copyright © 1999-2021 by the D Language Foundation